Skip to content

julia-vscode/LanguageServer.jl

master
Switch branches/tags
Code

LanguageServer

Project Status: Active - The project has reached a stable, usable state and is being actively developed. codecov

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

Documentation: Dev

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.