简体   繁体   English

Visual Studio 2010:C# 中“覆盖方法”的键盘快捷键?

[英]Visual Studio 2010: Keyboard Shortcut to “Override Method” in C#?

In Visual Studio 2010, what is the keyboard shortcut to drop-down a list of C# virtual methods, and clicking them will generate an "override method" code?在 Visual Studio 2010 中,下拉 C# 虚拟方法列表的键盘快捷键是什么,单击它们会生成“覆盖方法”代码?

In IntelliJ IDEA, that feature's shortcut is CTRL+Shift+O.在 IntelliJ IDEA 中,该功能的快捷键是 CTRL+Shift+O。

If you type override space , or just ov tab space you will get this list.如果你输入override space ,或者只是ov tab space你会得到这个列表。 Select the one you want tab and it will generate the full override signature and place you in the body (the caret will be placed immediately before the base.blah(...) call it generates). Select 您想要的选项卡,它将生成完整的override签名并将您放置在正文中(插入符号将立即放置在base.blah(...)调用它生成之前)。

Generally intellisense will automatically list after you've typed (or used intellisense to complete) override .通常,智能感知会在您输入(或使用智能感知完成)后自动列出override

Typing a space after the "e" of override will get the list again.override的“e”之后键入一个空格将再次获得列表。

While this is not a direct answer to your question, you may find this link helpful:虽然这不是您问题的直接答案,但您可能会发现此链接很有帮助:

Visual Studio shortcut PDF's by language Visual Studio 快捷方式 PDF 的语言

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

相关问题 Visual Studio 2015中Visual c#块注释的键盘快捷键? - Keyboard shortcut for Visual c# block comment in Visual Studio 2015? 使用变量创建构造函数的快捷方式(C#Visual Studio 2010) - Shortcut for creating constructor with variables (C# Visual Studio 2010) 在Visual Studio中用什么键盘快捷方式来组织C#使用? - What keyboard shortcut is there to organize C# usings in Visual Studio? 在VS2010中:键盘快捷方式架构“默认”与“ Visual C#2005” - In VS2010: keyboard shortcut schema “Default” vs “Visual C# 2005” 扩展Visual Studio 2010-使用键盘快捷键替换编辑器中的文本 - Extending Visual Studio 2010 - Replace text in editor with keyboard shortcut C#,visual studio 2010,如何停止一个方法,线程? - C#, visual studio 2010, how to stop a method, threads? Visual Studio 2015中的键盘快捷键 - Keyboard shortcut in visual studio 2015 在调试Visual Studio 2010 MVC C#程序时如何从键盘获得输入? - How do I get input from the keyboard while debugging a Visual Studio 2010 MVC C# program? Visual C#Express 2010评论代码块的快捷方式? - Visual C# Express 2010 Shortcut to comment a code block? visual studio 2010 c#单元测试 - visual studio 2010 c# unit tests
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM