For Visual Studio 2017 (and other versions) with ReSharper
In Tools | Options | Environmen | Keyboard...
- Add
CTRL+W
as a Global shortcut forWindow.CloseDocumentWindow
- Remove the
CTRL+W
shortcut forEdit.SelectCurrentWord
- Remove the
CTRL+W
shortcut fromReSharper.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