I am very new to writing Extensions for Visual Studio 2019 (or any other version), but would like to learn. The Extension that I want to write will require knowing the following:
- Viewing/editing a code file
- Determining whether the current text is a comment (this could be done manually, but if possible, I would like VS to determine it for me)
- Creating a Toolbar (and preferably saving their state, since they will basically be like Radio Buttons where only 1 is selected)
- Detecting the pressing of the arrow keys
Most of the tutorials & other information I have been able to find explain how to do stuff with Commands & Menus and how the editor displays the text (color, underlining, outlining, etc.), but I have found almost nothing on responding to what happens while the Editor is being used. I am not sure where to start or find the necessary info. Can anybody tell me anywhere that focuses on editing the text rather than displaying it? Thanks.