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

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/spt_dream/article/details/81196015

在代码编辑器文本窗口任何位置右键单击,在快捷菜单中找到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.

猜你喜欢

转载自blog.csdn.net/spt_dream/article/details/81196015
今日推荐