Random thoughts about everything and nothing

Tip of the week – Format Document

leave a comment »

I see a lot of people still using the backspace, tab and delete to format a piece of text in VS 2005.  There’s a easier way of doing this…

  1. Format Document: for small source files, just press Ctrl+K, Ctrl+D 
  2. Format Selection: for large source files, first select the region that isn’t justified correctly, then press Ctrl+K, Ctrl+F

Both options can be found under Edit | Advanced in VS.



Written by Michael

June 22, 2007 at 10:19 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: