Language server providing completion for gluon
Find a file
Markus Westerlind 91d4000cf5
Merge pull request #46 from gluon-lang/dependabot/cargo/tokio-1.13.1
Bump tokio from 1.12.0 to 1.13.1
2022-06-07 12:01:33 +02:00
src Update depencencies 2021-10-04 00:40:05 +02:00
syntaxes refactor: Convert tmLanguage grammar from plist to JSON 2018-12-12 13:09:31 +01:00
tests Update depencencies 2021-10-04 00:40:05 +02:00
.gitignore Ignore visual studio code packages 2020-08-16 10:53:24 +02:00
.travis.yml fix: Don't block async tasks due to reading from stdin 2018-06-15 09:50:42 +02:00
.vscodeignore fix: Make the default server location more reliable and change the publisher 2016-07-08 21:12:04 +02:00
build.rs feat: Provide the git commit in the version 2020-07-06 20:50:35 +02:00
Cargo.lock Merge pull request #46 from gluon-lang/dependabot/cargo/tokio-1.13.1 2022-06-07 12:01:33 +02:00
Cargo.toml Bump tokio from 1.12.0 to 1.13.1 2022-06-06 19:43:10 +00:00
gluon.configuration.json feat: Add basic syntax highlighting 2016-07-05 21:36:16 +02:00
jsconfig.json chore: Bump typescript to 2.0.0 and the language server to 3.0.0 2017-02-08 21:56:59 +01:00
LICENSE feat: Change name of the vscode package to vscode-gluon 2016-07-08 19:45:06 +02:00
package-lock.json Update JS deps 2019-10-07 21:37:01 +02:00
package.json Update vscode requirement 2020-08-16 10:53:24 +02:00
README.md Clearify the purpose of this repo 2019-05-05 15:06:25 +02:00
tsconfig.json chore: Bump typescript to 2.0.0 and the language server to 3.0.0 2017-02-08 21:56:59 +01:00

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