0
点赞
收藏
分享

微信扫一扫

vs c#移除不必要的using引用及排序以及把System引用放最前面


在代码编辑器文本窗口任何位置右键单击,在快捷菜单中找到Organize Usings,然后点那个 Remove and sort.

如果要把Sytem命名空间的放在最前面,按照如下方法:

From Tools Menu, Navigate to Options –> Text Editor –-> C# –> Advanced.  In the Advance options select the 
“Place ‘System’ directives first when sorting usings” check box.

举报

相关推荐

0 条评论