Random thoughts about everything and nothing

Archive for the ‘Tip of the week’ Category

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