Can I have multiple rows of tabs in SQL Server Management Studio

社会主义新天地 提交于 2019-12-20 09:26:18

问题


I'm wondering if it's possible to setup SQL Server to have multiple rows of tabs for files / queries.

I have a lot of queries I want to switch between, and could move them to different horizontal groups, but I think two rows would be much easier to navigate than that pin on the left that drops down the big list of open queries.

Visual Studio kind of supports this if you pin enough code windows to fill up the top bar.

Is there something similar in SQL Server?

Edit:

I'm trying to achieve something like this (screenshot from Visual Studio)

While SQL Server is more like this


回答1:


I know of at least one plugin that will do this in SSMS (and Visual Studio). Because, yeah, it would be nice.

Tabs Studio - document tabs manager for Visual Studio IDE.




回答2:


It's now available in current ssms version. From menu => Tools => options:




回答3:


By default SSMS includes Database name, File name, Login name and server name in each query tab title. So that we can see only 3 or 4 tabs at a time.

There is a work around for this, go to Tools > Options > Text Editor > Editor Tab and Status Bar and change all of the "Tab Text" group options to false except for the file name.

This will reduce the tab name, so that SSMS will show more tabs at a time




回答4:


You can get a list of open tabs (Active Files) using the Ctrl-Tab shortcut. Continue pressing Tab to cycle through the list and release when the desired tab is highlighted. Or just mouse click on the required tab while keeping Ctrl depressed.

Some people do this by managing their files in an SSMS Solution and keeping the Solution Explorer loaded, but I find these to be inflexible and unwieldy.

SQL Prompt 6 has an "Open Tabs" list in the Tab History feature, which you might also find useful.



来源:https://stackoverflow.com/questions/22933089/can-i-have-multiple-rows-of-tabs-in-sql-server-management-studio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!