Microsoft itself has an official extension for this called Productivity power tools
VS2017 & VS2019:
https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.ProductivityPowerPack2017
VS2022:
Yet to incorporate this formatting feature
https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.ProductivityPowerPack2022
Hi, I did ctrl+k, ctrl +d and that did help me.
I’m searching for one time two keys press, its more easy, fast and not confusing!
Thanks
Hi, @Elado
I updated my answer please check it
Late to the party...
but, you can do this
Open the settings, and search for the save.
from the Text Editor->Code Cleanup
check the Run Code Cleanup profile on Save, also you can configure it in your way. and OK :)
Sign in to comment