Source code "beautifier" feature
Posted: Wed Mar 09, 2005 12:04 am
-A tool to "beautify" text if it is source code for a programming language would be very useful. The beautifier would left justify lines of code in a programming block, indent to right the lines within a block, with the amount of indentation dependent upon the amount of nesting of the program block. This is tough because of all of the programming languages out there with different block syntax. There would need to be some sort of configuration file for the block definitions (ex: IF-THEN-ELSE ) that would be language dependent.
Also, it would be nice to have the +/- widget to the left of the 1st line of each programming block which expands and collapses the code in a given block. I have seen this in a text editor called "Katie" which is the standard editor for the KDE desktop on Linux.
These 2 features would really help make the readibility of long, heavily nested program source files more readable, cut down on programming errors and speed up development.
Also, it would be nice to have the +/- widget to the left of the 1st line of each programming block which expands and collapses the code in a given block. I have seen this in a text editor called "Katie" which is the standard editor for the KDE desktop on Linux.
These 2 features would really help make the readibility of long, heavily nested program source files more readable, cut down on programming errors and speed up development.