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

后端 未结 10 2331
星月不相逢
星月不相逢 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:59

    You can do Ctrl + z, Ctrl + y.

    This does an undo/redo, so your code will not be affected, but your code window will be moved to the last edit location.

    I have Visual Studio 2010, and this does the trick for me.

    0 讨论(0)
  • 2021-02-12 12:03

    You can use Ctrl + - (View.NavigateBackward) shortcut.

    0 讨论(0)
  • 2021-02-12 12:06

    The correct answer is ALT & to go backwards and ALT & . Tested on version 1.8.1

    0 讨论(0)
  • 2021-02-12 12:06

    Many of the answers mention VisualStudio 2017 or a plugin to VisualStudio 2015.

    I found the following shortcuts in VisualStudio 2015.

    View.NavigateBackward
    View.ForwardBackward
    

    Map nicely to pycharm's

    Last Edit Location
    Next Edit Location
    
    0 讨论(0)
提交回复
热议问题