开发者

Visual Studio 2010: Keyboard Shortcut to "Override Method" in C#?

开发者 https://www.devze.com 2023-03-09 19:22 出处:网络
In Visual Studio 2010, what is the keyboard shortcut to drop-down a list of C# virtual methods, and click开发者_如何学Pythoning them will generate an \"override method\" code?

In Visual Studio 2010, what is the keyboard shortcut to drop-down a list of C# virtual methods, and click开发者_如何学Pythoning them will generate an "override method" code?

In IntelliJ IDEA, that feature's shortcut is CTRL+Shift+O.


If you type overridespace, or just ovtabspace you will get this list. 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).


Generally intellisense will automatically list after you've typed (or used intellisense to complete) override.

Typing a space after the "e" of override will get the list again.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号