justcla / KeyBindings

Installs alternative keyboard mapping schemes to work with Visual Studio. Provides rich hotkeys and keyboard shortcuts.
http://aka.ms/HotKeys
69 stars 10 forks source link

Apply shortcut Ctrl+/ to ToggleLineComment #18

Closed justcla closed 2 years ago

justcla commented 3 years ago

Now that VS2019 has Edit.ToggleLineComment, mappings should be updated to bind Ctrl+/ to Edit.ToggleLineComment.

MZengYi commented 2 years ago

not support VS2002?

justcla commented 2 years ago

Good pickup. My bad. I'll add that in. Thanks!

justcla commented 2 years ago

I fought SO HARD to have that command built into the product. Lol. Since 2015. Now we can finally use it! (Still doesn't move down one line, though)

justcla commented 2 years ago

Also it only applies to C#, so it doesn't work everywhere.

justcla commented 2 years ago

Done! Hot Keys extension is updated with "C# Editor" scope bindings for ToggleLineComment and ToggleBlockComment. When not in a C# editor, the commands will do Comment and Uncomment instead.

Check out version 4.1.0 of Hot Keys.