The editor is the key component of CodeGuide. It offers a vast assortment of smart, language aware features. Besides that it offers all of the standard editor functionality: Unlimited undo and redo, syntax highliting for Java, HTML, XML, IDL and C/C++, automatic indentation and source code formatting, search and replace including Perl 5 regular expressions and bookmarks. The behavior of these features can be configured in the application preferences dialog (see Other preferences). One of the most powerful features of CodeGuide is the instantaneous error detection. CodeGuide uses advanced incremental compiler technology to check the correctness of your programs as you type. Whenever an error is detected CodeGuide will display it in this way:
The error is underlined red in the code. There also is a
little red line in the vertical scrollbar displaying the position of the error in the
file. A red cross behind the file name in the open files list indicates that the file is
erroneous. When the file is correct a green check is displayed instead of the cross. Language aware code completion is an extremely powerful
coding feature. It means that when you have an incomplete code expression it can be
completed automatically or if this is not possible all possible completions can be
displayed. CodeGuide can complete types, keywords, variables, fields, methods and
constructors in different situations.
The caret is at the end of the
Now consider pressing TAB once again. Since there is no
"natural" completion of
If a "
The little icon indicates that CodeGuide knows you want to
access a static member of class
Lets assume you would like to choose the method CodeGuide can show you parameters of a method or constructor directly in the code. Take a look at the following piece of code:
The caret is behind the opening parenthesis. The little icon
indicates that CodeGuide can show you the parameters of the method
The method CodeGuide automatically creates a structured view of your source code. It is displayed in the source browser, which can be opened with the corresponding button in the toolbar or by pressing ALT+3:
The view shows all classes in the currently selected file and the methods and fields they contain. Inner classes are displayed hierarchically. The source browser is especially good for navigating in your programs. To move the caret in the editor to the next declaration press CTRL+PAGE DOWN. To move it to the previous declaration press CTRL+PAGE UP. In addition CodeGuide draws thin separator lines between the methods in the code.
Copyright © 2000 Omnicore Software All trademarks referenced herein are property of their respective owners
|