mingeborg@aol.com wrote:
We have a large GPC application with inconsistent source code formatting - unpredictable indentation, several statements on one line, etc.
Is there a quick and easy way to fix this? For instance, can any of the available GUI interfaces be used to reformat the code?
Thanks,
- Inga
On unix/linux systems the text formatting tool awk (or gawk) should work. However, gawk is a programming language and not a GUI. Probably not a quick solution.
JEdit has a nice GUI and macro capability in java. Manual formatting with syntax highlighting works very well.