开发者

Code Rush: Keyboard Shortcut to Add Using Statement

In VS 2008, when the caret is on the name of the class which doesnt have a using statement in the file, SHIFT+ALT+F10 will bring up a context menu to add the using statement.

Is the same function possible with Coderush/Refactor Pro, only using the CRTL+' shortcut? Id CodeRush/Refactor Pro doesn't support it out of the box t开发者_如何学Gohen an Addon would suffice.


You can also use Ctrl+. in Visual Studio to show the "add usings" context menu.


You can bind a keystroke to any refactoring (or CodeProvider) by supplying the display name of the refactoring in the parameters box of the binding.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜