The Source Indexer
To provide its extraordinary navigation, code-completion, and browsing features,
AnyJ parses all your sources and saves the gathered information in the
source index database.
This enables AnyJ to let you view all information at once,
e.g. to browse all implementors of an interface or quickly navigate
using the IndexViewer where all definitions of your project are accessible
in a sorted manner.
The ListBox at the top shows all scanned directories as specified in "workspace-options". Normally all subdirectories
of these directories are also scanned, except if another entry for one of
the subdirectories in the workspace-options dialogue "overrides" this.
The Clear & Reset-Button clears all entries in the source index database. You
have to press Update Index in order get intelli*ense & browsers to work again.
The Update Index-Button checks for removed and changed files and updates the
source index database. This is useful if files have been changed externally.
If you edit
and compile from within AnyJ, updating is done automatically with each error-free compile
or by pressing F5 (PopupMenu: "Update Class & File Outline").
In the two TextFields at the bottom, packages can be excluded as a whole from scanning.
This is useful to reduce the amount of indexed sources resp. classes, since you do not have to scan Corba-related packages if you do not use Corba in a project.
Also, in some packages (e.g. libraries) private fields (methods or variables)
need not to be seen in the browsers and code-completion.
If you change these options, only Clear & Reset plus Update Index will make the
changes effective, since the filters given by the content of these TextFields are
only used when new definitions are added to the source index.
Note:
A drawback is that the source index database grows in time since it remembers all methods & classes it parsed in any project.
If the source index gets too large it starts slowing down AnyJ. We recommend then to reset and rebuild (press "Reset" then "Update") the source index.
This will also help if the source index is corrupted in some way which shows in incorrectly working "Intelli*ense" features.