Previous Topic Next topic Print topic


Configuring Background Parsing in the PL/I Editor

The code you type is parsed continuously to identify errors. The errors are underlined with red squiggly lines.

Regardless of whether background parsing is enabled, error information is generated during project builds.

CAUTION:
You can turn off background parsing, but many of the IDE features depend on it (for example Outline/Program outline, colorization). If it is switched off they will not work and might cause unexpected problems.

Switching off or delaying background parsing when Eclipse is running

You can turn off background parsing in the Preferences dialog box (select Window > Preferences > Micro Focus > PL/I > Editor and uncheck Background parsing).

Parsing is triggered when there is a pause in editing code; by default this is 500 milliseconds. By keeping Background parsing selected and entering a larger value in the Trigger delay field, you can make sure your code is parsed less frequently, and improve performance when developing projects with large numbers of source files.

Switching off background parsing before you start Eclipse

Use the property disable.cobol.indexing to switch off background parsing when you start Eclipse.

If you start Eclipse from the command line, you do this by using the command:

eclipse.exe -vmargs -Ddisable.cobol.indexing=true

If you start Eclipse from the Start menu or a shortcut, edit the eclipse.ini file and add the line:

-Ddisable.cobol.indexing=true

to the -vmargs section.

Previous Topic Next topic Print topic