Visual Studio - Shortcut to Navigate to Solution Explorer

前端 未结 12 1640
独厮守ぢ
独厮守ぢ 2020-12-22 17:58

Is there a keyboard shortcut in Visual Studio (aside from CTRL+TAB and selection) that would take me from inside a document directly into the solution

相关标签:
12条回答
  • 2020-12-22 18:20

    I had this problem on a new machine build with VS 2013 and R# 8.2.

    Keyboard option Resharper.Resharper_LocateInSolutionExplorer was correctly set to Shift+Alt+L, but it seemed to be only opening a parent folder and not selecting the actual file. As recommended in another post I enabled "Track active in Solution Explorer" in the VS Options.

    This didn't fix the problem and wasn't what I want because in very large solutions I don't want the solution explorer jumping around to the current file in use. I disabled the Track feature and restarted VS, the LocateInSolutionExplorer feature then started working correctly. Some sort of shortcut precedence issue?

    0 讨论(0)
  • 2020-12-22 18:22

    ctrl + [ + S.

    This shortcut will highlight the currently opened document in solution explorer.

    0 讨论(0)
  • 2020-12-22 18:23

    On my windows 7 machine : Ctrl+ALT+L locks the computer.

    For me : Shift+ALT+L works. (This could also be a resharper configuration)

    0 讨论(0)
  • 2020-12-22 18:26

    We just upgraded from VS2013 to VS2017, and I had to go looking for how to auto-select the active tab in the Solution Explorer. I often have to look for a document by finding a text-string from a screen, and love to have it select the document so I can see where it is.

    Tracking the active document has been default behavior for a long time. VS2017 brought over ALL my other preferences, but not this one. Glad I found this thread--Thank you.

    0 讨论(0)
  • 2020-12-22 18:27

    For AZERTY keyboards like mine, the default shortcut is Ctrl+), Ctrl+S

    0 讨论(0)
  • 2020-12-22 18:30

    The default keyboard shortcut for opening/jumping to Solution Explorer is Ctrl + Alt + L.

    0 讨论(0)
提交回复
热议问题