The IDE's parser database enables several Source Editor features of the IDE, including Java code completion, Fast Open, Fast Import, Go to Source, Go to Declaration, and Show Javadoc.
By default, the parser database consists of files for the Java 2 SDK, v. 1.3, plus Java Servlet 2.2 and the Ant build tool. If you install the apisupport module, database files for OpenAPIs are also included.
You can update the parser database so that your own classes are among the choices offered when using code completion, Fast Open, Fast Import, and the other features that depend upon the parser database.
To update the parser database:
The Update Parser Database dialog box is displayed.
Two files are created for each parsed filesystem:
<prefix>.jcs
, where classes and interfaces are stored,
and <prefix>.jcb
, where methods and fields are stored.
For libraries that you cannot edit, you probably want the parser database to include only protected and public members. For libraries (filesystems) that you are working on, you might want to also include private members.
Only static fields and methods are included in the database.
![]() |
You need to manually update the parser database only one time per filesystem.
After the first manual update (which defines the parser database files for
a filesystem), the database is automatically updated for that
filesystem whenever a file is saved or successfully parsed.
If you delete classes or packages, however, they are not automatically removed from the parser database. If you don't want these elements to appear in the code completion box and other features dependent upon the parser database, you can delete the parser database files manually. |
See also | |
---|---|
Deleting Parser Database Files
Using Code Completion Opening a Java File With Fast Open Adding an Import Statement With Fast Import Using "Go To" Shortcuts |