Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
195 stars 48 forks source link

Support InlayHints extension #330

Open stonemaster opened 1 year ago

stonemaster commented 1 year ago

A lot of LSP implementations support so-called inlay hints, visual hints giving extra information on auto declared types or function parameters: https://bartwullems.blogspot.com/2021/12/visual-studio-2022inline-hints.html

The extension in the proctol has been implemented by several other language servers like clangd, rust-analyzer and omnisharp.

According to the clangd documentation, the protocol might become standardized, and clangd and rust use the same format.

WebFreak001 commented 1 year ago

the inlay hints have already been standardized in the protocol for a while