General

 

Opening files

To open a file select File > Open. Their are various other ways to open files in CodeGuide, e.g. the File and Project Browser, the Search Browser or by using one of the Goto functions.

 

Movement between files

The file bar shows a list of the least recently visited open files. Click on a file to show it in the editor.

 

 

Pressing Alt-Down or clicking on the "..." button shows a list of all open files.

 

 

Caret movement

You can use the arrow keys and the mouse for moving the caret. The Home and End keys work as expected.

 

Undo/Redo

CodeGuide supports multiple undos (Ctrl-Z) and redos (Ctrl-Y).

 

Syntax highlighting

CodeGuide supports advanced syntax highlighting for Java, JSP, C/C++, IDL, XML and HTML files.

 

The highlighting styles can be individually customized for each mode using the Appearances section of the Preferences Dialog.

 

You can change the highlighting of a file by using the Edit | Editor Mode > submenu.

 

Code templates

You can insert code templates (snippets of code) in the editor by entering an abbreviation and pressing Ctrl-J. You can edit the list of code templates in the Code Templates section of the Preferences Dialog.

 

 

 

Parenthesis matching

CodeGuide supports three different parenthesis matching mode.

 

 

No parenthesis matching is performed.

 

 

If the caret is positioned behind a parenthesis, bracket or brace the matching parenthesis is highlighted in blue if it matches in red if it has the wrong type.

 

Example:

 

 

The matching brace is highlighted in blue.

 

The opening brace is highlighted in red since it does not match the closing parenthesis.

 

 

If the caret is positioned behind a parenthesis, bracket or brace the matching parenthesis is highlighted in blue if it matches in red if it has the wrong type. The parenthesis, bracket or brace is highlighted as well in the same color thus you can see if the parenthesis matches even if it is off-screen. If the parenthesis, bracket or brace does not have a match it is highlighted in red as well.

 

Example:

 

 

Both braces are highlighted in blue.

 

The opening brace and closing parenthesis are highlighted in red since they do not match.

 

 

The parenthesis matching can be customized in the General section of the Preferences Dialog.

 

Java Auto Indentation

CodeGuide has the ability to auto-indent Java code.

 

After pressing Enter the caret is automatically positioned in the next line.

 

 

You can press Ctrl-Tab to auto-indent the whole Java file. You should do this every now and then to make sure your Java file is indented correctly.

 

The behaviour of the auto-indenter can be configured in the Auto Indentation section of the Preferences Dialog.

 

Java Comment/Uncomment

You can comment out lines or blocks of Java code using the Edit | Comment line/selection menu entry. Singe line comments will be used for commenting out code.

 

You can uncomment code that was commented out using the Edit | Uncomment line/selection menu entry. This works only if the code was commented using single line comments.

 

Printing

You can print files using the File | Print menu item.

 

You can configure the appearance of output in the Printing section of the Preferences Dialog.