Does anyone have problem with a feature "remove and sort usings on save" from Productivity Power Tools in Visual Studio 2017. It seems it doesn't work. Any solution for this?
With the power of productivity tool, this is even more handy! Visual Studio can now take care of it automatically while saving the code file. Once you have the productivity tool installed, you can find the “ Remove and Sort Usings on Save ” from the “ Tools –> Options –> Productivity Power Tools –> PowerCommands –> Generals ” .
Inspired by Mad Kristensen’s approach to Web Extensions, this is a bundle installer that will install the full suite of Productivity Power Tools for Visual Studio 2017. How it works: Every time Visual Studio launches, this extension runs in the background and checks to see if any of the Productivity Power Tools are not installed.
Visual Studio can now take care of it automatically while saving the code file. Once you have the productivity tool installed, you can find the “Remove and Sort Usings on Save” from the “Tools –> Options –> Productivity Power Tools –> PowerCommands –> Generals” .
Uninstalled the individual Power Commands for Visual Studio extension. Restarted Visual Studio. Reinstalled the individual Power Commands for Visual Studio extension by itself. Now the "Format Document on Save" and "Sort and Remove Usings on save" features work. Show activity on this post.
There is another solution
Go to tool -->Option-->Text Editor--> tick/untick Remove Unncessary Using
There seems to be an issue with PowerCommands and ReSharper.
Please could you try unticking that checkbox "ReSharper | Options | Environment | Keyboard & Menus | Hide overridden VS menu items" and then check "Remove and Sort Usings on Save" feature once again.
From https://resharper-support.jetbrains.com/hc/en-us/community/posts/115000159930/comments/115000202364
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With