Visual Studio: Shortcut to scroll solution explorer to current file

后端 未结 10 1267
闹比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:22

    On my keyboard I had to press:

    Ctrl + ` + S

    Do note that the sign in the middle is the key just left of the backspace.

    Using Visual Studio 2015.

    0 讨论(0)
  • 2020-12-23 19:24

    In Visual Studio 2010/2012 you can use this extension (link). It adds option to sync on Solution Explorer toolbar and code context menu.

    0 讨论(0)
  • 2020-12-23 19:24

    If I got your question right, you can go to Tools -> Options -> Projects and Solutions -> General and check the "Track Active Item in Solution Explorer" option.

    0 讨论(0)
  • 2020-12-23 19:28

    In Visual Studio 2015, with ReSharper, I am able to press Shift + Alt + L to highlight the current file being edited in Solution Explorer.

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