API to represent dead / inactive code #123352
Labels
api
editor-api
Issues about the API of vscode in the area of editors
feature-request
Request for new features or functionality
Milestone
Language plugins have to resort to custom LSP extensions to achieve a dimming effect for inactive code like in other IDEs:
I'd suggest adding an
inactive
ordisabled
SemanticTokenModifier and using it to style the code like in the picture.The only question is how to make sure the whole line appears differently (iff the whole line is affected) and not just the portion of each inactive line covered by text, which may look weird.
The text was updated successfully, but these errors were encountered: