Is there a keyboard shortcut to close a tab in SQL Server Management Studio 2008? like Alt-W in Firefox.
To find this out, press CTRL+L to display the estimated query execution plan as shown below without actually running the whole query (in fact it runs for top 1 row).
CTRL+L. Delete current code line and copy it to clipboard. SQL Editor.
The shortcut Ctrl+F4 should work.
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)
@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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With