Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

[VB]Triggering Events From The Visual Studio 2017 Editor

$
0
0

This is my first time writing a Visual Studio Extension, so please forgive me for any overly simple questions. The basic design of my extension is several Toolbar Buttons (which will act as Radio Buttons) and having the editor modify/insert text when the user types text (any text that can normally be typed or pasted, such as letters, numbers, even special characters) or uses the arrow keys. How the extension modifies the text will be based on the currently selected Toolbar Button, but I am not sure where to put the code for this (basically an event triggered by a key press). I think I have found most of what I need at:

https://docs.microsoft.com/en-us/visualstudio/extensibility/extending-the-editor-and-language-services?view=vs-2017

Except for the most important part: Triggering The Key Press. Am I missing this somewhere? Like I said, this is my first extension, so if there are any straightforward walkthroughs for things like this, I would like to know. Thanks.


Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>