Hi, i'm using VS.NET 2003 and the default formatting is pretty good, but it's not perfect (when you copy/paste, or something like that). Are there any 3rd party apps or some option to correctly format selected code or the entire file?
Hi, i'm using VS.NET 2003 and the default formatting is pretty good, but it's not perfect (when you copy/paste, or something like that). Are there any 3rd party apps or some option to correctly format selected code or the entire file?
I think there's a GNU beautifier. Is that what you want? Or do you want to colour your code to post it here?
Turn off tabs. I don't know. What do you mean?i'm using VS.NET 2003 and the default formatting is pretty good, but it's not perfect (when you copy/paste, or something like that).
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
There is no "correct" way to format the code. You can do it any way you like. But there are guidelines about how many (most?) programmers do it. That doesn't mean my method is any more or less "correct" then yours. I've seen several huge flam-wars about this topicOriginally Posted by ryeguy
If I understand correctly... You could run the code through Astyle
Regards,
Brian
yeah thanks br5an