microsoft / VS-PPT

Productivity Power Tools - a set of Visual Studio extensions improving developer productivity.
http://aka.ms/extendvs
Other
885 stars 146 forks source link

Format document on Save is missing both from VS 2022 and PPT22 #251

Open Krusty93 opened 3 years ago

Krusty93 commented 3 years ago

It looks like two of the most used PPT features have been removed from VS 2022.

They're the following ones (VS 19): image

The 'Remove and sort using' has already been integrated into VS19, meanwhile the "Format document on Save" is missing. I think this feature is really important because it makes it easier to resolve all the formatting issues in an entire document with a simple shortcut. Moreover, you don't need to manually run the 'Code Clean Up' feature using CTRL K + CTRL E (or whatever, depending on personal settings).

Would it be possible to restore it? The same request was opened in VS 22 user voice by another user

std66 commented 2 years ago

I'm also missing these features on save. I'm so used to it that it costs me additional steps: CTRL+S [oh, I forgot...] CTRL+K, E CTRL+S again

Caedendi commented 2 years ago

same, this is one of my most-used features

edit: looks like they now officially recommend the Code Cleanup On Save extension for this feature: https://docs.microsoft.com/en-us/visualstudio/ide/code-styles-and-code-cleanup?view=vs-2022. See bottom of the page before "See also".

Found a workaround for the Remove and Sort Usings on save. Seems you can't add Sort usings and Remove unnecessary usings. Saving will automatically remove them. This however isn't the case for the other options.

mmarinchenko commented 2 years ago

There is also Format document on Save extension by @mynkow.