Skip to content

Update Rust LSP documentation #1302

Closed

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.

Activity

  1. angelozerr commented on Sep 27, 2025

    @angelozerr
    Contributor

    Indeed could you do that?

  2. added
    documentation
    on Sep 27, 2025
  3. AzazelSensei commented on Aug 31, 2026

    @AzazelSensei
    Contributor

    Opened #1655 — the rust-analyzer page now points at the semantic tokens User Guide instead of the old vote link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions