Visual Studio 2010:在重写方法和虚拟方法之间导航的命令是什么(IntelliJ IDEA 中的 CTRL+U /CTRL+ALT+B)
在 IntelliJ IDEA 中,重写的方法在左侧边缘用蓝色圆圈和 o 图标表示。这意味着,当我单击该方法并按 CTRL+U 时,IDEA 可以将我带到被重写的类方法。
Visual Studio 2010 中是否有等效的命令,包括可以执行此操作的扩展?我想要一个从 C# 重写方法导航到虚拟方法的快捷方式。
下一步:
IntelliJ IDEA 还会指示某个方法是否被覆盖,并再次在左侧边缘显示一个适当的图标。这意味着,当我单击该方法并按 CTRL+ALT+B 时,IDEA 可以向我显示覆盖它的方法的下拉列表。
Visual Studio 2010 中是否有等效的命令,包括可以执行此操作的扩展?
In IntelliJ IDEA, overridden methods are indicated with a blue circle and o icon at the left margin. This means, when I click on the method and press CTRL+U, IDEA can take me to the class method that's being overridden.
Is there an equivalent command in Visual Studio 2010, including extensions that make it possible to do it? I want a shortcut to navigate from a C# overridden method onto virtual method.
NEXT:
IntelliJ IDEA also indicated if a method is being overridden, and again, an appropriate icon at the left margin. This means, when I click on the method and press CTRL+ALT+B, IDEA can show me a drop-down list of methods that overridden it.
Is there an equivalent command in Visual Studio 2010, including extensions that make it possible to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您安装 ReSharper,您将会出现此行为。这是记录在此处。 Bare VS 2010 不提供此类快捷方式。
ReSharper 和 IntelliJ 都是同一家公司的产品:位于俄罗斯的 JetBrains。
You will have this behavior if you install ReSharper. This is documented here. Bare VS 2010 does not offer such shortcuts.
Both ReSharper and IntelliJ are the products of the same company: JetBrains, located in Russia.