1

I want to edit keystrokes, as when I type "--" I would like the program to edit the "--", wherever I entered it and turn it into an actual dash (—), how would I do so? Thanks a lot!

Brydon McCluskey
  • 83
  • 1
  • 3
  • 12
  • Maybe defining your own snippet (like `cw` for `console.writeline`) may be easiest way (http://www.switchonthecode.com/tutorials/csharp-tutorial-visual-studio-code-snippets) – ChristopheD Nov 02 '10 at 06:51
  • Thanks, but I haven't really coded in quite some time, I think this would be a bit too advanced for me at this stage. – Brydon McCluskey Nov 02 '10 at 06:58

1 Answers1

1

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

Community
  • 1
  • 1
Dennis G
  • 21,405
  • 19
  • 96
  • 133