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:
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.
Development of the VSCode extension
See https://github.com/julia-vscode/julia-vscode/wiki for information on how to test this package with the VSCode extension
LanguageServer.jl does not normally search upwards for .JuliaFormatter.toml
You can turn this on by setting the initialization option "useFormatterConfigDefaults" to true