Does anyone know of a program that will reformat code to "clean" it up (tabs, spacing, parenthesis, etc) to however I like it? I've used html editors that can do things like this (homesite, etc) but I haven't heard of something that will reformat C++ or Java.
Formatting Code
Started by Nexis, Oct 18 1999 10:44 PM
3 replies to this topic
Ad:
#3 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 12 October 1999 - 07:47 PM
I have no clue whether you can get a copy of it for windows, but Emacs does format your code for you, if you want. It's a text editor that shows up on a lot of Unixlikes, and I think I've seen it for windows, but I don't know for certain. It's kind of nice, you just push tab on whatever line you're working on and it sticks it where it needs to go. It figures it out by relying on your placement of parentheses and braces and stuff, so it can help you find little errors in code with that
Jonathan
Emacs rocks!
#4 Members - Reputation: 122
Posted 18 October 1999 - 10:44 PM
search the web! put in "code cleaner" or "code formatter". i had this great little thing that would reformat my Pascal code and it even let you specify how you wanted it to look. i know there are some that will do this for C/C++
-RazerEdge






