Compiling

CodeGuide contains an advanced incremental Java compiler which compiles source code for the whole project in the background as you type. When the Build button is pressed the .class files just need to be written to disk.

 

By default a project build is done when you run the project. If the source code analysis has already finished analyzing/compiling your project (See the Source analysis chapter in the Editor section for details) CodeGuide just needs to write the .class files to disk which have changed since the last build. If the source code analysis is still in progress it needs to finish before the .class files can be written to disk.

 

If you try to compile and there are project files or open files which contain errors CodeGuide will show a warning dialog:

 

 

You can disable this warning dialog in the Compilation & Execution section of the Preferences Dialog.

 

 

If you want to recompile all of your source files with javac you can use the Project | Rebuild with javac menu item. This should not be necessary during normal work and using CodeGuide's integrated incremental compiler is highly recommended.

 

 

You can configure various javac settings in the dialog which pops up when Project | Rebuild with javac is invoked.