Ahmed Kamal
Ahmed Kamal

Reputation: 3000

Organize C# usings in Visual Studio 2019?

I assigned a keyboard shortcut for remove and sort usings but, I wanna know if it possible to organize usings on save or on format document?

Upvotes: 10

Views: 6548

Answers (1)

Dario Mendes
Dario Mendes

Reputation: 156

I'm using Power Commands extension to do that, as I used before on Visual Studio 2017 and it works very well.
After installing, in Tools -> Options you have a new Productivity Power Tools option that allows configuring to Format document on save and Remove and Sort Usings on save. PowerCommands options

Upvotes: 14

Related Questions