Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to automatically indent code in VS2008?

How to automatically indent code in VS2008 ?

Somehow VS2008 seems very much non-programmer friendly compared to VS2005. I want to indent my source code (VC++) in VS2008. Can anyone kindly let me know how to do this in VS2008 ?

Thanks in advance.

like image 958
codeLover Avatar asked May 23 '26 00:05

codeLover


1 Answers

Ctrl K, Ctrl D formats the whole document

Ctrl K, Ctrl F formats your selection

like image 199
Colin Pickard Avatar answered May 25 '26 14:05

Colin Pickard