Adding your own classes to the parser database
The parser database can be found in the
System\ParserDB
folder in your installation directory. It consists of files with.jcb
and.jcs
extensions which are used whenever files are parsed in the IDE.By default, the parser database contains files for the Java 2 SDK, v. 1.3. You can update the parser database so that your own classes are among the choices offered when using code completion and other special Java shortcuts in the Editor.
To update the parser database:
- In the Explorer or Object Browser, right-click the package or file system containing the classes you want to add to the database and choose Tools | Update Parser Database... from the contextual menu.
If you are updating the parser database for a package or file system that has already been entered into the database, the parser database will then be updated with any changes made to the classes.
- If you are expanding the parser database with a package or file system that has not yet been entered in the parser database, the Java Completion Database Configuration dialog box will appear. Type a file name (with no extension) in the Parser Database File Prefix field. This will be used to create the
.jcb
and.jcs
files.![]()
- In the Storage Levels panel of the same dialog box, select what level of code for classes, fields, and methods that you want included in the database file. By default, the Protected and public level is selected for all three categories.
- Click OK to add the files to the parser database.
Contents | Prev | Next | Index |