Objeck Language Server

Tips and information on how to install and use language servers with the editor.
Post Reply
User avatar
Rickard Johansson
Site Admin
Posts: 6575
Joined: 19 Jul 2006 14:29

Objeck Language Server

Post by Rickard Johansson »

Objeck Language Server
You need objeck-lang installed: https://github.com/objeck/objeck-lang/releases

Make sure to set environment variable:

OBJECK_LIB_PATH=C:\Program Files\Objeck\lib

A system restart may be required.

You also need the language server: https://github.com/objeck/objeck-lsp/releases

Unpack the language server zip file. Below objeck-lang was installed into the <program> folder and objeck-lsp unpacked to "<path>\objeck-lsp\".

Now you can add the server to a project.

Add the server in project/sites settings

Server name
Objeck Language Server

Command
obr.exe

Initial folder
<path>\objeck-lsp

Command line arguments
objeck_lsp.obe objk_apis.json stdio

Environment variables
OBJECK_STDIO=binary

File extension and language id
.obs=objeck

Communication channel
* Command line (stdio)

Source folders
<Path to your go project files>

Initialize options
{}
Post Reply