Visual Studio: Shortcut to scroll solution explorer to current file

后端 未结 10 1265
闹比i
闹比i 2020-12-23 18:23

I\'m not asking for the option to automatically follow the current file in the solution explorer. This has been answered in this question a

10条回答
  •  囚心锁ツ
    2020-12-23 19:12

    In Visual Studio 2015, 2017 and 2019 you can press Ctrl + [ and then s.

    This will highlight the file currently being edited in Solution Explorer.

    This can be configured via the following keyboard command: SolutionExplorer.SyncWithActiveDocument

    To reconfigure, navigate to Tools -> Options -> Environment -> Keyboard

提交回复
热议问题