Visual Studio Tricks


Visual Studio (2005,2008,2010) Tips and Tricks.


#25 Increase and Decrease line indentation in Visual Studio

Tabbing / Indenting / Undenting (ok that’s now a word, but it sounds good) in Visual Studio is very simple. There are several options to get your code formatted just the way you like it. This video trick shows you how.

Click Screenshot To Play Video

#25 Increase and Decrease line indentation in Visual Studio

Runtime: 1Min 11Seconds - Resolution: 900 by 580 - File Size: 1Meg

Direct Download: If the video does not work for you,
Click Here to download it.

Snippets / Notes:

[TAB] (With a line [or lines] highlighted) will further indent

[SHIFT]+[TAB] (With a line [or lines] highlighted) will decrease the current indentation

Visual Studio Tip / Trick #025 English Transcription:

Today’s visual studio trick of the day, trick No. 25 is a video re-post of Sara Fords original trick published in text In August of 2007. Today’s trick is indenting your current line from the tool bar, so if you increase your indentation you can see that, that line is moved further to the right. And then if you decrease you can see it is moved further to the left. Now you can also highlight multiple lines and then increase or decrease that line selection and as an added bonus you can also press your [TAB] key obvious that make sense at the beginning of the line. You can also do [SHIFT]+[TAB] which in this example would be same as backspace. But if you highlight multiple lines then you can [TAB] and [TAB] will indent all of these lines for you as well as [SHIFT]+[TAB] will decrease the opening or beginning of that line. So [TAB] and [SHIFT]+[TAB] will increase or decrease the indentation of that line. Then you can also use the tool bar here to decrease indentation and increase indentation of that line.
Kick this Trick on DotNetKicks.com

2 comment(s)

  1.  avatar

    Shouldbn't this trick's name be...

    "Increase and Decrease line indentation in Visual Studio" ...instead of...

    "Increase and Decrease lines in Visual Studio"

  2. admin avatar

    Good Idea, Done.


RSS Feeds

All Technology Posts

Scott Cate Main Blog Feed


Visual Studio Tricks Only Feed

@ScottCate on Twitter

Twitter @ScottCate

  • Today is a good day!
  • @blaken i already like @codesmithtools :)
  • @pacitpros is hosting a 2 day IT Pro Conference in San Francisco March 22-23rd, 2012 Tech Days http://t.co/2igpJikF
  • Can you help me get to a quick 25 likes for #Mykb on Facebook? http://t.co/0WSh2GdZ
  • Meeting Planner Meltdown via/ @EventDay evn.tc/xpXHnP #Engage365 #EventProfs