Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto reformat

Status
Not open for further replies.

xwb

Programmer
Jul 11, 2002
6,828
GB
I can't get Ctrl-K Ctrl-F (Alt-F8 if using VC6 controls) or Edit/Advanced/Format Selection to work on C# files. It works well enough with C and C++.

What do I need to set up to get it to work with C#?
 
I seem to remember wanting to do the same thing when I came from using VC++ 6. The approach to take with C# is that the editor is "alive" and it formats and detects syntax errors in real time. There should be settings for how you want the code formatted in the options someplace. I just use the defaults which is braces on the left type. It's a little creepy until you get used to it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top