TextPad 5.4.2 generates batch files, and, class files from .java files, which are required to run the program.
It would be nice to have the option to generate a batch file which includes cleanup file operations, that I commonly have to run manually. This is done because I tend to organize sub-directories into:
/src ... source files
/bin ... executables
/other directories depending on the model of the program being designed
@echo off
del *.class
del *.bat //including the batch file tp*.bat generated by TextPad
del any other batch files created
The above batch file assumes that the user has placed all the source code and nothing else within the sub-directory where the source code is placed.
Alternatively, the files can be transferred to a /bin sub-directory.
This is common practice within other IDEs which read source java files from a /src sub-directory by default, for example, NetBeans 7.0 and Eclipse 5.x.
The files ending with .java would remain in place.
Batch script that cleans up or sorts source files
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
I did not mean to ask you to turn it into an IDE, it's excellent at meeting the advanced text editing functions, I just pointed out what would have saved me the headache of clearing up .class files after compiling them, especially when the source code is split amongst various source (.java) files. I just stated my opinionDrxenos wrote:TextPad is not an IDE, and I'd rather it not turn into one. TextPad is a small, fast text editor. There are many other chooses if someone wants a full-blown IDE.
Jon