dotty.tools.languageserver
Type members
Classlikes
A LanguageClient
that regroups all language server features
A LanguageClient
that regroups all language server features
An implementation of the Language Server Protocol for Dotty.
An implementation of the Language Server Protocol for Dotty.
You should not have to directly this class, instead see dotty.tools.languageserver.Main
.
For more information see:
- The LSP is defined at https://github.com/Microsoft/language-server-protocol
- This implementation is based on the LSP4J library: https://github.com/eclipse/lsp4j
- Companion:
- object
Run the Dotty Language Server.
Run the Dotty Language Server.
This is designed to be started from an editor supporting the Language Server
Protocol, the easiest way to fetch and run this is to use coursier
:
coursier launch $artifact -M dotty.tools.languageserver.Main -- -stdio
Where $artifact comes from the .dotty-ide-artifact
file in the current project, this file
can be created by the DottyIDEPlugin by running sbt configureIDE
.
See vscode-dotty/ for an example integration of the Dotty Language Server into Visual Studio Code.