How would I edit keystrokes? VB2010
I want to edit keystrokes, as when I type "--" I would like the program to edit the "--", wherever I entered it and turn 开发者_C百科it into an actual dash (—), how would I do so? Thanks a lot!
Like Christophe said snippets are the way to go (and they are actually not THAT hard to define, as there is no "AutoCorrect" function as in MS Word (How can I define instant AutoCorrect macros in Visual Studio?).
Normal keyboard shortcuts like ALT+C can be modified via Tools > Options > Environment > Keyboard, but you cannot assign direct key combinations like your wanted "-,-" » "—"
精彩评论