stinb / UnderstandForVSCode

VS Code extension for Understand
https://www.scitools.com
MIT License
1 stars 0 forks source link

Show inactive code by dimming it #14

Closed RobbyCBennett closed 3 weeks ago

RobbyCBennett commented 3 months ago

Inactive/disabled code should show up differently. With the default UI, it goes dimmer. Inactive code doesn't execute, like code in an #if directive with a false condition.

image

RobbyCBennett commented 3 weeks ago

It looks like this is possible with Diagnostic.tags, specifically the Unnecessary tag.

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic

RobbyCBennett commented 3 weeks ago

I have added this to userver. It should be available with build 1190 or higher.