如何为VS创建排序并移除不必要的命名空间引用-Is it possible to create a shortcut for removing unused usings into a class?

来源:互联网 发布:java transaction 编辑:程序博客网 时间:2024/06/06 12:23
 

On the Tools menu, select Options, open the Environment folder, and choose Keyboard.

On the Keyboard page select a Keyboard mapping scheme.

In the Show commands containing text box, type Edit.RemoveUnusedUsings

In the scrolling list box, select the command you want the shortcut to execute.On the Use new shortcut in drop-down list, select the environment in which you want to use the shortcut. Choose Global if you want the shortcut to work in all contexts.

Place your cursor in the Press shortcut key(s) text box and then press and hold a non-text key or combination of non-text keys (Alt, Ctrl, or Shift, for example) and type the text key of your choice.Choose Assign.

阅读全文
0 0
原创粉丝点击