Skip to content

Update Rust LSP documentation #1302

@rcjsuen

Description

@rcjsuen

## Syntax coloration
Today LSP4IJ doesn't support `textDocument/semanticTokens` ([please vote at issue 238](https://github.com/redhat-developer/lsp4ij/issues/238)), the demo
uses the [Rust TextMate grammar](https://github.com/microsoft/vscode/blob/main/extensions/rust/syntaxes/rust.tmLanguage.json)
that you can configure in IntelliJ via the `Editor / TextMate Bundles` settings.
![Rust TextMate Bundles](../images/user-defined-ls/rust-analyzer/RustTextMate.png)
You need to clone https://github.com/microsoft/vscode and reference this folder
(which contains the [package.json](https://github.com/microsoft/vscode/tree/main/extensions/rust))
to benefit from syntax coloration and language configuration (matching brackets, etc).

#238 has been closed so I'm guessing this section needs to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions