codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.92k stars 361 forks source link

[feature request] Add option to run new VS 2019 Sort usings command on save. #659

Open WarrenFerrell opened 5 years ago

WarrenFerrell commented 5 years ago

It would be nice to be able to the sort usings on save but not the "Sort and Remove" usings during automatic clean on save because the extremely annoying part is only really because of the removing usings,

codecadwallader commented 5 years ago

Thanks for making the request. I hadn't realized they re-introduced a "sort usings" only version of the command with VS2019. There used to be one in older versions then it was taken away.

codecadwallader commented 5 years ago

This is currently only in preview builds but will be cool when it gets mainstreamed. We'll have to make it clear in the Options UI that it's only in VS2019.2+

https://visualstudiomagazine.com/articles/2019/06/11/vs-2019-16-2-update.aspx