Using CTRL+W to close tabs in Visual Studio
For Visual Studio 2017 (and other versions) with ReSharper
In Tools | Options | Environmen | Keyboard...
CTRL+W
as a Global shortcut for Window.CloseDocumentWindow
CTRL+W
shortcut for Edit.SelectCurrentWord
CTRL+W
shortcut from ReSharper.ReSharper_ExtendSelection
(it might be assigned twice)If CTRL+W
does not work after the steps above, it might be assigned to something else. Check these instructions to troubleshoot that: https://gist.github.com/jpoehls/2030795#gistcomment-2335647
The caveat to this is if you are used to using CTRL+W
to select the current word. If you do, find another shortcut that works for that.
Massive thanks to https://gist.github.com/jpoehls/2030795 !