更新时间:2023-02-17 14:34:25
是的,您可以右键单击页面,然后从菜单中选择;
Yes you can right click on the page and from the menu select;
Organise Usings > Remove Unused Usings
或者,如果您更喜欢快捷方式,请使用;
Alternatively if you prefer shortcuts, please use;
Ctrl + R + G
我一直在使用它来清理代码,并使代码编译更快.
I am using this all the time, to clean up code, and make code compilation quicker.
或者您可以使用 PowerCommands 删除未使用的整个项目
Or you can use PowerCommands to remove unused usings for entire projects