Keyboard shortcut to move cursor to last edit position in Visual Studio

后端 未结 10 2352
星月不相逢
星月不相逢 2021-02-12 11:01

In Visual Studio, is there a keyboard shortcut to navigate (move cursor) to the last edited position (like PyCharm\'s Ctrl+Shift+Backspace

10条回答
  •  不知归路
    2021-02-12 11:52

    There is a free extension for Visual Studio 2015, 2017, 2019 that includes it : Hot Commands

    Edit.GoToLastEditLocation
    

    Takes the caret back to the last place an edit occurred during that session.

    The default Keyboard shortcut is : Ctrl + Shift + Backspace

    This can be changed any time under Tools - Options - Environment - Keyboard - Edit.GoToLastEditLocation

    Edit: Extension now also support VS2019

提交回复
热议问题