Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customizing Tab size in Visual Studio 2010

I'm looking to be able to set the minimum tab size to something lower than the default 20 width, since I'm editing more than 5 files at the same time. I'm using the Productivity Power Tools extension as well.

You can right click on the space beside the tabs, click Customize...

enter image description here

and then Advanced Options then edit the value from there, but it doesn't allow you to go below the inital size of 20.

enter image description here

Is there a configuration file somewhere I can edit to solve this, or is there an obvious solution that I'm missing?

like image 263
TankorSmash Avatar asked Aug 13 '12 17:08

TankorSmash


People also ask

How do I edit tabs in Visual Studio?

To access the tab settings, open the Options dialog box by selecting Options from the Tools menu. Expand the Text Editor section in the tree and then the language for which you wish to change settings. Finally, select the Tabs branch.

How many spaces is a tab in Visual Studio?

Sets the distance in spaces between tab stops. The default is four spaces.

How do I create a custom tab in Visual Studio?

Walkthrough: Create a custom tab by using the Ribbon Designer Learn how you can add a custom task pane to the applications by using the Visual Studio Tools for Office (VSTO) Add-in. Learn how you can use the ThisAddIn class to perform tasks such as accessing the object model of the Microsoft Office host application.

How do I change the indent size in Visual Studio Code?

In Visual Studio, open the "Tools" menu and select "Options". In the TreeView on the left, expand the "Text Editor" heading. Underneath "Text Editor", expand the "All Languages" heading. Underneath "All Languages", select the "Tabs" item. In the textboxes on the right, fill in the tab size and indent size that you want to use.

How do I add a group to a tab in Visual Studio?

To add groups to a built-in tab Right-click the Ribbon code file in Solution Explorer, and then click View Designer. Right-click any tab in the Ribbon designer, and then click Properties. In the Properties window, expand the ControlId property, and then set the ControlIdType property to Office.

Can you add controls to a built in tab?

Applies to: Visual Studio Visual Studio for Mac Visual Studio Code You can add groups and controls to a built-in tab. A built-in tab is a tab that's already on the Ribbon of a Microsoft Office application. For example, the Data tab is a built-in tab in Excel.


2 Answers

The solution actually was the maximum size rather than the minimum size. So just tweaking the maximum size value was what I wanted. Not ideal, but still, the answer.

like image 168
TankorSmash Avatar answered Oct 03 '22 04:10

TankorSmash


It's worth noting that the screenshot you've posted shows non-standard VS settings - that's the Productivity Power Tools extension that you have installed. You might find they hide their setting file separately to the standard VS one.

One alternative solution is provided by that extension: it'll allow you to have a vertical row of tabs, down the side of your screen. That eats more screen space but fits a lot more tabs!

like image 42
Dan Puzey Avatar answered Oct 03 '22 05:10

Dan Puzey