Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove tab close buttons in VS2013?

It looks like you can remove the tab close buttons in Visual Studio 2013 as part of the Productivity Power Tools 2013 extension, but that does a ton more stuff and seems like bigtime overkill just to get rid of those pesky per-tab close buttons. Does anyone know of a nice simple way to do it?

like image 486
Jez Avatar asked Sep 02 '14 13:09

Jez


1 Answers

There is no easy way to do this. That option sets the following values in registry:

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\DialogPage\Microsoft.CustomDocWell.Options]
    "HideButtonInTabs"="False"
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\DialogPage\Microsoft.PowerCommands.OptionPages.CommandsPage]
    "DisabledCommands"=""

but they are not used by Visual Studio, only by the extension. So the only way is to write your own VS extension that only does this one thing.

like image 53
Loonquawl Avatar answered Oct 26 '22 19:10

Loonquawl