You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the proposed Semantic Tokens API #86415 , I'd like to be able to use a Token Modifier to de-emphasize variable or function Token Types in the code open in the active editor that aren't being used.
I'm proposing we have have a specific 'unnecessary' Token Modifier and then have a way to style this with a semanticTokenStyleDefaults 'opacity' property setting.
The text was updated successfully, but these errors were encountered:
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Both semantic tokens and diagnostics are semantic code annotations, and they result in the color changing, but at this time the only API we have for setting this is via diagnostics that have the tag DiagnosticTag.Unnecessary.
I am not in favor of adding competing API that gives two distinct ways to achieve the same effect.
Diagnostics are established, and are used also for code fixes, which can participate on save, show lightbulbs, and a custom message. Also, diagnostics can show in the problem panel when a severity of at least warning is used.
When using the proposed Semantic Tokens API #86415 , I'd like to be able to use a Token Modifier to de-emphasize variable or function Token Types in the code open in the active editor that aren't being used.
From the Semantic Tokens API Documentation there doesn't seem to be a way to do this.
I'm proposing we have have a specific 'unnecessary' Token Modifier and then have a way to style this with a semanticTokenStyleDefaults 'opacity' property setting.
The text was updated successfully, but these errors were encountered: