To configure the writing assistance in the COBOL editor, click
Tools > Options > Text Editor > Micro Focus COBOL > IntelliSense.
You can specify the following options:
Completion Lists
- Show completion lists after a character is typed
- Check this for IntelliSense to automatically show and update a list of suggestions for words and identifiers as you are typing.
- Include reserved words - check this to see suggestions for COBOL reserved words. Only applies to native COBOL.
- Include code snippets - check this to see suggestions for code snippets.
- Include system copybooks in copybooks list
- Check this for the completion lists for COPY statements to also include copybooks that are external to the project but are included using the COBCPY environment variable.
- Include extension methods
- Enables the display of the available extension methods in the IntelliSense lists.
Insertion
You can specify whether IntelliSense adds items from the completion lists in insert or in overwrite mode:
- Completion inserts
- Select this to add IntelliSense suggestions in insert mode.
- Completion overwrites
- Select this to add IntelliSense suggestions 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.
The following settings only apply to native COBOL:
- 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.
- 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.