Configuring IntelliSense for COBOL - Insertion

To configure the IntelliSense behavior when inserting suggestions in the COBOL editor, click Tools > Options > Text Editor > Micro Focus COBOL > IntelliSense > Insertion.

You can specify the following options:

Insertion

You can specify whether IntelliSense adds items from the completion lists in insert or in overwrite mode:

Insert single suggestion automatically
Check this to automatically insert a suggestion in the code, if it is a single item in the suggestions list.
Insert selected suggestion when the space bar is pressed
Check this to automatically insert a suggestion in the code when you press the space bar.
Add new line on enter at end of fully typed word
When this is checked, pressing Enter right after you have fully typed a word creates a new line and moves the cursor to it.

The following settings only apply to native COBOL:

Case of identifiers
Specify the case of identifiers that will be inserted in the code:
  • As declared - Default. The case of identifiers that IntelliSense inserts is as in their declaration.
  • Upper case - IntelliSense inserts identifiers in upper case.
  • Lower case - IntelliSense inserts identifiers in lower case.
Case of reserved words
Specify the case of reserved words that will be inserted in the code:
  • By dialect - Default. IntelliSense inserted reserved words using the case required by the COBOL dialect of the project or the program.
  • Upper case - IntelliSense inserts reserved words in upper case.
  • Lower case - IntelliSense inserts reserved words in lower case.
Copybook path style
Specify the path style to use when you use IntelliSense to automatically insert copybooks and their paths:
  • Portable (inc/defs.coy) - specifies that paths are to use forward slashes, /, for use on both Windows and UNIX machines.
  • Windows (inc\defs.coy) - specifies that paths are to use back slash, \, for use on Windows machines.