More Tips and Tricks

Published Monday, October 27, 2003 3:45 PM

Wow, lots of posts from the PDC. Hope everyone is having fun and learning lots <insert jealous sigh here>.

Saw a post to a list of VS.NET Tips and Tricks and I thought I would add some that I have only recently learned and find useful.

1 or 2 are duplicated, hope you dont mind. :-)

VS.NET IDE Shortcuts

(Note: '+' indicates hold down together, ',' indicates subsequent key presses i.e press key, release, then press key)

Shift + Alt + Enter = Toggle Full Screen Mode.
Ctrl-M , Ctrl-M = Collapse current class to definition.
Ctrl-M, Ctrl-O = Collapse all code to definitions.
Ctrl-M, Ctrl-L = 'Un-collapse' all to full code.
Ctrl-R, Ctrl-R = Toggles wordwrap.
Ctrl-I = Incremental search eg. Hit Ctrl-I, then start typing search phrase, text will be highlighted and search for as you type phrase.
Ctrl + Shift + V = Toggle/cycle through code snippets in clipboard ring.
Ctrl + Shift + U = Make all selected text uppercase.

 

by Glav

Comments

# senkwe chanda said on Monday, October 27, 2003 3:43 AM

Hi, just thought I'd point out that you only have to press the CTRL key once, ie keep it pressed and press the other key combinations. So CTRL + M,M works for example. Also, Ctrl-M, Ctrl-M actually collapses only to a method definition if your cursor is inside the method body. To collapse to the class def, you have to place your cursor above all the method defs. Good stuff! Thanks!

# Paul Glavich said on Monday, October 27, 2003 4:42 PM

Thanks for the clarification Senkwe. Glad you found it useful.

Leave a Comment

(required) 
(required) 
(optional)
(required) 

This Blog

Syndication