Matthew ".NET 247" Reynolds

Matthew Reynolds... software development consultant, author, speaker and trainer

More VS .NET keyboard shortcuts - Adding classes and folders

Something I do regularly is add new folders and classes to VS .NET projects.  Up until about two minutes ago, I'd done this manually, via the mouse.

However, I've now remapped my keyboard to allow me to do this with a single key combination.  You can do this to, using Tools - Options - Keyboard.

“Show commands containing”
...project.add gives you things you can add to a project,
...project.newfolder gives you the ability to add a new folder.

Another favourite of mine is wiring Ctrl+/ to Edit.CommentSelection and Ctrl+Shift+/ to Edit.UncommentSelection.

Comments

Jim Cheseborough (jim*DEL THIS*@Cheseborough.com) said:

Ctrl+/ to Edit.CommentSelection is not workjing for me.
What am I doing wrong (VS2003)?

Pls email me.
Thx
# January 21, 2004 12:05 PM

Matthew Reynolds said:

I have have confused the issue. You have to use the Tools - Options - Keyboard settings to associate the Ctrl+/ combination with teh comment Edit.CommentSelection.

Is that what you've tried?
# January 21, 2004 12:11 PM

nirman doshi said:

try -

Ctrl + K + C To comment the selection

Ctrl + K + U to uncomment the selection

# May 1, 2008 2:10 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)