#language-server #gluon #lsp #completion #hover #formatting #symbol

bin+lib gluon_language-server

Language server providing completion for gluon

21 releases (breaking)

0.18.0 Oct 3, 2021
0.17.0 Aug 16, 2020
0.15.0 Jun 21, 2020
0.13.0 Oct 30, 2019
0.1.1 Jul 12, 2016

#299 in Text editors

MIT license

91KB
2.5K SLoC

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

Dependencies

~20–35MB
~562K SLoC