The Code Analyzer tool provides visual feedback in the editor about any code issue by highlighting corresponding symbols using styled and colored line. By default, errors, warnings and To-Do's are highlighted using red, green and gray wavy line respectively.
Code Analyzer error highlight and tooltip |
Each issue discovered by code analyzer has description associated with it. The description text for every issue can be shown in the hint window that appears if mouse cursor is placed under the code issue. Code Analyzer engine utilizes issues found by JBuilder parser and issues found by its own static source code analyzer. The following issues and cases are currently supported:
Usually, code analyzer is invoked in background with some delay after last document changing (you can customize this delay using Java Structure Properties property page). You can specify how deep the code analyzer should perform checking of the source code using (Editor Options | Productivity! | Code Analyzer property page). The deeper level of analyzing is more time consumptive, so based on your workstation configuration you may wish to reduce analysis level to achieve optimal performance.
There is ability to force run of Code Analyzer using the button on the JBuilder toolbar. In this case, all settings for code analyzer is ignored and most deep checks are performed.
You can control Code Analyzer behavior using the Editor Options | Productivity! | Code Analyzer property page.
See also: Assistant, Productivity! Tools , Customizing Productivity!