Keyboard shortcut to close a tab in SQL Server Management Studio?

13,776

Solution 1

The shortcut Ctrl+F4 should work.

Solution 2

I know this is old, but you can also change it to Ctrl + w if you want:

In Tools | Options | Environment | Keyboard

Search for Edit.SelectCurrentWord and change it to something else (Like Ctrl + B).

Search for Window.CloseDocumentWindow. Add CTRL+W as a Global shortcut

(Credits to https://gist.github.com/jpoehls/2030795)

Solution 3

@Lance, thanks for you answer. It works, and it makes life easier.

In addition, after doing Alt-F,C you can also press N if it shows you a 'save changes' confirmation dialog.

Share:
13,776
Tony_Henrich
Author by

Tony_Henrich

Updated on June 21, 2022

Comments

  • Tony_Henrich
    Tony_Henrich about 2 years

    Is there a keyboard shortcut to close a tab in SQL Server Management Studio 2008? like Alt-W in Firefox.