Skip to content

gluon-lang/gluon_language-server

Repository files navigation

gluon-language-server

This implements the language server protocol and offers gluon support for the LSP clients, like VSCode, Atom and many others.

vscode-gluon

Also part of this repo is the extension for Visual Studio Code which is based on the LSP implementation.

Installing the language server

The language server is available at crates.io and can be installed by running cargo install gluon_language-server. After installing the extension you will need to either make the language server executable available in $PATH or set the gluon.language-server.path option to exectuables path.

{
    "gluon.language-server.path": "gluon_language-server",

    // Gluon specific settings can be specified with
    "[gluon]": {
        "editor.formatOnSave": false
    }
}

Features

  • Code completion

  • Hover support

  • Symbol highlighting

  • Symbol lookup

  • Code formatting (May still eat your laundry)

Example

example