dotty.tools.languageserver

Type members

Classlikes

A LanguageClient that regroups all language server features

A LanguageClient that regroups all language server features

class DottyLanguageServer extends LanguageServer with TextDocumentService with WorkspaceService with WorksheetService with TastyDecompilerService

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:

Companion:
object
Companion:
class
object Main

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.

object Memory