Stream: t-compiler/rust-analyzer

Topic: Semantic Highlighting


Martin Asquino (Feb 07 2021 at 18:59, on Zulip):

Hi folks, just checking if my understand is correct here. Am I correct to say that semantic highlighting (former) proposal in LSP has been replaced by semantic tokens? And also, that the server no longer sends semantic highlighting scopes?

matklad (Feb 08 2021 at 09:14, on Zulip):

Yep, bothe the old lsp proposal, and the old highlighting infra in analyzer are removed.

matklad (Feb 08 2021 at 09:15, on Zulip):

To clear some potential confusion, we never implemented the old lsp proposal, we did our own thing.

Martin Asquino (Feb 08 2021 at 10:09, on Zulip):

ah fair enough, I'll see to update the client so it supports semantic tokens then, thank you :+1:

Jeremy Kolb (Feb 08 2021 at 13:49, on Zulip):

I also removed it from the lsp-types crate.

Last update: Jul 24 2021 at 21:00UTC