live-share icon indicating copy to clipboard operation
live-share copied to clipboard

Feature request: support inlay hints and semantic tokens

Open WaffleLapkin opened this issue 1 year ago • 1 comments

Inlay hints and semantic tokens are both features of LSP that allow getting a lot of information about the code at a glance. It's a big shame live-share does not support them.

I'm mainly using live-share with Rust & rust-analyzer extension for vscode and I'm missing out a lot on those features (there are a lot of useful inlay hints in rust analyzer; semantic tokens are also used by it, for example to highlight unsafe function calls).

WaffleLapkin avatar Jan 28 '24 22:01 WaffleLapkin

A previous issue filed about semantic tokens is #3503, though it seems like it was closed because the issue reporter no longer needed it.

My use case is C++, for which the clangd language server provides much richer semantic highlighting than the client-side TextMate colors, and so my understanding is that LiveShare would need to remote the semantic tokens over from the host (which is where the language server is running) to the guest.

HighCommander4 avatar Mar 09 '24 23:03 HighCommander4