7

I see that in Tools -> Options -> Keyboard you can set Keyboard shortcuts for a large number of tasks. I tried searching for "Close" and these are the results, amongst a few others:

  • File.Close
  • File.CloseAllButThis
  • File.CloseProject
  • File.CloseSolution

If I set File.Close to be Ctrl+W (Honestly, why doesn't Microsoft innately support such a universal shortcut is beyond me) it mostly works, however if I have both the code-behind and the Designer view open for a form, it closes both tabs. Should I be setting a different command, or am I stuck with this? It's a small inconvenience, but it really irritates me.

4

3 に答える 3