tomasr / viasfora

A Visual Studio Extension containing miscellaneous improvements to the editor.
Other
557 stars 90 forks source link

Request/Idea: Show the "Fonts and Colors/Display Item" used by the text under the cursor or caret #330

Open avernan opened 2 years ago

avernan commented 2 years ago

I am having a go at porting a color scheme from vim to VS 2022 and one of the biggest issues that I am facing is understanding where each "syntax highlighting class" is used. What I am calling "syntax highlighting class" here is one of the elements showing under "Options > Environment > Fonts and Colors > Display Items" image for example the highlighted "C++ Keyword - Control".

I thought it would be handy to be able to know which one of these classes is applied to a specific token in the editor by simply setting the mouse cursor (or caret) on it. However, I wasn't able to find any extension providing such functionality. I think it could be a nice complement to the Dev Margin currently present in viasfora. This is a simple mock-up of what it could look like: image

I wonder if there would be any interest in such a feature? I don't mind giving it a go, but I have very little experience with C# and Windows development, so I also don't mind providing the idea and stepping to the side.

Also, do let me know if there are any issues with such an idea and/or if it is already implemented somewhere else.