在VS2008中,按F12跳转到函数定义后,有没有办法返回到光标之前的位置?我知道某些附加组件可以做到这一点,但是是否有办法让核心产品做到这一点?
最佳答案
Ctrl+- 应该可以做到这一点,这是向后导航
的标准键盘快捷键。或者使用标准工具栏中的导航按钮。
MSDN 对此进行了解释:https://blogs.msdn.microsoft.com/zainnab/2010/03/01/navigate-backward-and-navigate-forward/
在此MSDN页面上,您可以看到以下说明
The editor remembers locations when you move in a single command more than several lines away from where you are currently working, or if you edit in a particular location that is not adjacent to the last place you edited.
The goal is to remember interesting locations so that you can recall where you have been working without remembering so many locations the feature is not useful (such as every character typed, or every line entering several new lines of code one right after the other).
关于visual-studio-2008 - Visual Studio IDE - 返回上一级,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3101759/