fix code indentation visual studio 2019 code example
Example: fix indentation visual studio
Select the text you want to automatically indent.
Click Format Selection in Edit, Advanced, or press CTRL+K, CTRL+F.
Format Selection applies the smart indenting rules for the language
in which you are programming to the selected text.