简体   繁体   English

在 Visual Studio 2010 和 resharper 中导航回的快捷方式

[英]Shortcut to Navigate back in visual studio 2010 and resharper

I'm just getting back to visual studio 2010 after using phpStorm (jetBrain's product) and I'm missing all the nice shortcut keys.在使用phpStorm (jetBrain 的产品)后,我刚刚回到visual studio 2010 ,但我缺少所有不错的快捷键。 I've installed visual studio 2010 with resharper but am still missing some of the nice features.我已经安装了带有resharper visual studio 2010 ,但仍然缺少一些不错的功能。 I can't figure out how to "navigate back" in my code.我不知道如何在我的代码中“导航回来”。 For example if I'm navigating to various method definitions and then I want to navigate back to where I just was how do I do this?例如,如果我导航到各种方法定义,然后我想导航回原来的位置,我该怎么做?

I believe that in phpstorm I would press Ctrl + Alt + Left to go navigate back and Ctrl + Alt + Right if I wanted to go forward.我相信在phpstorm中, phpstorm我想phpstorm我会按Ctrl + Alt + Left向后导航,然后按 Ctrl + Alt + Right It would keep a history so I could just keep going back as far as I wanted.它会保留一段历史,这样我就可以随心所欲地回到过去。 Please help.请帮忙。 I miss this feature.我想念这个功能。

By default, you can navigate back with Ctrl + - and navigate forward with Ctrl + Shift + - .默认情况下,您可以使用Ctrl + -向后导航,使用Ctrl + Shift + -向前导航。

If you want to change these shortcuts, go to Tools->Options...->Environment->Keyboard, then search for the commands called View.NavigateBackward and View.NavigateForward , and assign them new keyboard shortcuts.如果要更改这些快捷键,请转到工具->选项...->环境->键盘,然后搜索名为View.NavigateBackwardView.NavigateForward的命令,并为它们分配新的键盘快捷键。

在 Resharper 2020.02 中,分别是Alt +向左箭头在“时间”中返回, Alt +向右箭头分别向前。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM