LanguageServer.jl
LanguageServer.jl copied to clipboard
An implementation of the Microsoft Language Server Protocol for the Julia language.
LanguageServer
Overview
This package implements the Microsoft Language Server Protocol for the Julia programming language.
Text editors with a client for the Language Server Protocol are able to make use of the Julia Language Server for various code editing features:
- VS Code
- Atom
- Vim and Neovim
- Emacs
- Sublime Text
- Kakoune
Installation and Usage
To install LanguageServer.jl into the current environment:
using Pkg
Pkg.add("LanguageServer")
To run an instance of LanguageServer.jl on env_path
, you can run
Julia as follows:
julia --project=/path/to/LanguageServer.jl/environment \
-e "using LanguageServer; runserver()" \
<env_path>
If env_path
is not specified, the language server will run on the
parent project of pwd
or on the default .julia/environments/v#.#
if there is no parent project.