views:

723

answers:

1

How can I make ctrl k,d work in a pure C file? I really enjoy the auto formatting in C#, and I would like to have the same functionality in C as well.

I am using VS2008, but it would probably be helpful if this worked in VS2005 as well.

+5  A: 

In Visual Studio 2003, Ctrl-K Ctrl-F let you format a selection. This and other key combinations to format text can be found in Edit - Advanced menu

dmityugov