Monday, February 9, 2009

[VC++] Auto indent the current selection in Visual Studio Editor

If your program statements are not aligned properly and you want to have your whole function or block of statements to indent properly, here is an easy way to do the same
  • Select the statements you want to align in the Visual Studio Editor.
  • Now press Alt+F8 then the code will be automatically adjusted so that each line is at the correct indentation level.

1 comment:

Anonymous said...

Thank you for the tip!