intellij-lsp icon indicating copy to clipboard operation
intellij-lsp copied to clipboard

Support more ranges

Open floitsch opened this issue 6 years ago • 2 comments

It would be nice if the client supported empty ranges. VSCode automatically squiggles the identifier at the position of the zero-length range. See https://github.com/Microsoft/language-server-protocol/issues/257

Even just highlighting the character at the position of the zero-length range would be a nice improvement. (Currently the diagnostics is silently dropped).

floitsch avatar Mar 06 '19 14:03 floitsch

Ok, this isn't in the LSP spec yet but it seems it will (eventually) be added, so it would make sense to implement that.
Yeah it's not that it's willfully dropped, it's just that it's a range of size 0, so obviously the formatting isn't visible.
Thanks!

gtache avatar Mar 06 '19 15:03 gtache

Same issue here: #118

borkdude avatar Nov 12 '19 11:11 borkdude