General

Open last project on startup
When Hotpad launches, it will load the last project that was open if this is selected.

Strip trailing spaces on save
Causes extra spaces at the end of the line to be removed before saving. This will cause the view in the text area to shift so that the caret is at the bottom when a save is done.

Always compile before run
If selected, Hotpad will always compile the current file or project when Run this file or Run is selected.

Always save all files on build/compile
If selected, when a project is built, all files in the project which have changed will be saved. For a single file, the file will be saved before being compiled. Warn before opening large file
Under Windows 9x/NT, the implementation for the TextArea class has problems when opening files larger than 30,000 bytes. These files can be opened and viewed fine, but no more text can be added unless the size drops below 30,000 bytes. This option can be used to disable the warning that pops up when a file larger than 30,000 bytes is opened.

Use CR/LF instead of LF
This determines what character sequence is used for line breaks when saving files. Notepad requires that CR/LF be used at the end of lines, otherwise a garbage character is displayed. Other text editors usually don't care.


Icon type
This determines what type of icon Hotpad will use for each of its windows. Auto allow Hotpad to try to determine which icon is best suited for the current version of the JDK you are running. Large and transparent can only be used with the JDK 1.1, since 1.2 and 1.3 do not support transparent icons. Large will be selected for JDK 1.2 and greater. Small and Small and transparent are provided for possible compatibility issues with other OS'es. Windows JDK users should select Auto. If the standard icons need to be used, there is also an option for that.


Show I/O Window
The I/O Window is used for input and output to a console application. The recommended setting for this is Auto, which means that it will be displayed if a Java console or C-based application is run. This can be always disabled or enabled by selecting Never or Always.

Important note: For non-Java console applications to work properly with the I/O Window, stdout must be unbuffered. In C applications using the stdio library, this would require adding the following line to the beginning of main():

setvbuf(stdout, NULL, _IONBF, 0);
Note: This does not affect C++ programs using only the iostream library.

Close I/O Window
Causes the I/O Window to automatically close when Hotpad has detected that the application has terminated.

Compiler arguments
Allows you to pass extra arguments to the compiler. This could be used to enable the -deprecation flag with javac or load libraries for a C compiler.

Related Links:

Paths
Editor
Compatibility