Selectively reformatting code in VS
Reformatting code with CONTROL+KD in Visual Studio is a great tool, and very helpful in finding extra or missing END statements.
But the problem comes when you are making changes to large existing sources which have never had CONTROL+KD performed on them. This can result in source code thinking you have changed every line in the source, and makes it impossible to review Pull requests.
It's fine if you are just changing a few lines and you can manually tab code to align with the existing code.
But say you are adding 100+ lines of new code as a block - say a new internal subroutine.
It would be great if you could highlight that block only and use CONTROL+KD on it, without affecting the rest of the source.

What you are describing is the fuinctionlity I am looking for
I am on the latest synergy, SDI and VS 2022, windows 11
9/11/2025, 5:08 PM 0

9/11/2025, 5:10 PM 0