Remove "Not Connected" suffix on visual studio tabs

When I open a script without connecting to the database, Visual Studio places this stupid message in the text of the "Not connected" tab

This suffix is ​​stupid

It takes up half the space on the tab, often sacrificing meaningful parts of the name to display information that I don't care about. There's a status bar that says disabled, which is all I need.

In Options> Database Tools> Transact-SQL Editor, the tab text has options for deleting the database name, login, and server name, but none of them delete this message.

Does anyone know how to remove it?

Thank,

Chris.

+5
source share
3 answers

I think I have it!

  • Right click on sql file
  • Select open with
  • Select source code (text) editor
  • Click Set as Default, then click OK.

Now it will also remove many other functions (for example, the ability to execute a request), but I prefer to use Management Studio to execute requests.

+5
source

Unable to delete this useless text. The funny thing is that you can turn off all other parameters and get a tab that has nothing but "not connected". It is impossible to get rid of the "unrelated".

You can vote for adding an option:

https://connect.microsoft.com/VisualStudio/feedback/details/658511/option-to-show-hide-the-not-connected-text-on-sql-tabs-when-not-using-vs-to-cno

+2

All Articles