lassepe / julia-lsp

Wrapper around julia-vscode that enables running the Julia language server as a standalone executable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

julia-lsp

Wrapper around julia-vscode that enables running the Julia language server as a standalone executable.

Usage

julia-lsp receives one argument, the Julia environment to use. This should preferably be programmatically provided by detecting the current project's environment.

$ julia-lsp "<julia_env_path>"

# Example:
$ julia-lsp ~/.julia/environments/v1.8/

Storage locations

The executable is configured to store caches to $JULIA_LSP_STORAGE if defined, otherwise it defaults to ../store relative to where the executable is located.

Symbol caches

Symbols will automatically be downloaded to the store cache. To disable symbol downloads from the symbol server, set the SYMBOL_CACHE_DOWNLOAD environment variable to 0, for example:

$ SYMBOL_CACHE_DOWNLOAD=0 julia-lsp "<julia_env_path>"

To configure the symbol server (default is https://www.julia-vscode.org/symbolcache), set the SYMBOL_SERVER environment variable, for example:

$ SYMBOL_SERVER=https://symbol-server julia-lsp "<julia_env_path>"

About

Wrapper around julia-vscode that enables running the Julia language server as a standalone executable.

License:MIT License


Languages

Language:Shell 71.1%Language:Batchfile 28.9%