posts - 25, comments - 21, trackbacks - 0

My Links

News

Archives

Post Categories

Auto indent code in Visual Studio or Express editions

I learned a nice trick today to auto indent code on aspx or code pages. Simply select the piece of code to be indented, press Ctrl+K and then press Ctrl+F and all the html or code will be nicely indented.

Print | posted on Wednesday, December 17, 2008 2:17 PM | Filed Under [ Visual Studio / Express ]

Feedback

Gravatar

# re: Auto indent code in Visual Studio or Express editions

Also Ctrl-K + Ctrl-C or Ctrl-K + Ctrl-U to comment and uncomment code is a great one.

I'm not familiar with your language preference, but the VB team recently posted a list of shortcut posters you might find interesting.

http://blogs.msdn.com/vbteam/archive/2008/12/11/vb-2008-keyboard-shortcut-posters-download-your-copy-today-lisa-feigenbaum.aspx
12/17/2008 2:24 PM | Stacy Vicknair
Gravatar

# re: Auto indent code in Visual Studio or Express editions

Good tip! thanks for publishing it!
10/23/2009 2:21 PM | Jportela
Gravatar

# re: Auto indent code in Visual Studio or Express editions

You are welcome...
10/23/2009 2:46 PM | Max
Gravatar

# re: Auto indent code in Visual Studio or Express editions

Thanx for the tips
10/27/2009 4:50 AM | Roy
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: