开发者

How would I edit keystrokes? VB2010

开发者 https://www.devze.com 2023-01-22 20:21 出处:网络
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!Li

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 "-,-" » ""

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号