-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Feature RequestFeature: ColorizationLanguage ServiceVisual StudioInherited from Visual StudioInherited from Visual Studio
Milestone
Description
Feature Request
User defined conversions are the only operator overloads that aren't able to be syntax colored to make them more obvious (aside from new and delete, which I reported recently).
I'd like to request semantic tokens to enable syntax highlighting when a user defined conversion is invoked.
The tricky bit is, which token should it be? On the parentheses? Sometimes there aren't any parenthesis.
Perhaps it should be a modifier on the variable being converted? Can we do that if it's an entire expression? Maybe then we could underline the expression without changing the color of the entire thing.
It would also be nice if "go to definition" worked for the conversion, like other operator overloads. But I don't know if that's feasible.
Metadata
Metadata
Assignees
Labels
Feature RequestFeature: ColorizationLanguage ServiceVisual StudioInherited from Visual StudioInherited from Visual Studio