mikhail-t
mikhail-t

Reputation: 4221

Visual Studio 2013 Indent buttons are grayed out (not working) after importing settings from VS 2012

Ok, it's goodda be something simple.

Installed VS 2013 > imported settings from VS 2012 > Decrease/Increase buttons are grayed out (not clickable).

If I reset settings to stock they work fine again.

I have set Text Editor > All Languages > Tabs to Block and Insert Spaces. I tried different combinations, but still doesn't work.

There is has to be some small setting somewhere that I missed that enables/disables them.

Thanks!!!

Upvotes: 4

Views: 6244

Answers (4)

Rashid
Rashid

Reputation: 105

  1. Go to Tools -->Customize
  2. Check Text Editor and close

A grayed tool bar will appear.

  1. Now click on Text Editor Toolbar Option dropdown -->Add or Remove Buttons --> Check Decrease Line Indent & Increase Line Indent and you are done. Good luck.

Upvotes: 1

TheCuBeMan
TheCuBeMan

Reputation: 2443

Actually, for me it worked the other way around...

As for the option of:

Tools >> Options :: Text Editor / All Languages / Tabs

I DIDN'T have this option checked and once I checked it (along with enabling Smart Tabs), the shortcut for indenting (Tab) and unindenting (Shift + Tab) selected lines started to work perfectly.

Upvotes: 0

Darrel Lee
Darrel Lee

Reputation: 2460

I had to turn off smart indent in Tools >> Options :: Text Editor / All Languages / Tabs

Upvotes: 1

mikhail-t
mikhail-t

Reputation: 4221

Found it! Really simple!

I have had 'Selection Uninednt' and 'Selection Indent' buttons added, while I should have had 'Line Unindent' and 'Line Indent': enter image description here

Upvotes: 8

Related Questions