Previous Topic Next topic Print topic


Text Editor Advanced Options

You can use the settings in Tools > Options > Text Editor > Micro Focus COBOL and on the Advanced page to configure some additional features such as the formatting or some of the tooltips.

Advanced

Copybook extensions
Specifies the file extensions that are recognized as copybook files. Separate the extensions by a comma.
Note: To ensure the file extensions will be recognized as COBOL copybooks, you also need to add them to your project properties (type copyext(ext1,ext2) in Additional Directives on the COBOL page in your project's properties).
Debug tooltip style for OCCURS items
Specifies what information should be displayed by the debug tooltip for subscripted OCCURS items.
Expandable tooltip
Choose this if you wish the tooltip to display the elements of arrays.
Value of expression
Choose this if you wish the tooltip to display the value of the current expression.
Note: You can switch between the two styles of the tooltip in the editor. To do this, press and hold Ctrl and hover over the data item to display the alternative tooltip.
Enable expanded copybook view
Enables support for showing copybooks in an open source file. It is not possible to change this setting while debugging.
Enable quoted syntax IntelliSense
Enables IntelliSense support for code that uses the old quoted syntax of the .NET COBOL language.
Find All References scope
Enables you to configure whether Find All References searches only in the current project or, only for managed COBOL, in all managed COBOL projects within your solution. See General Visual Studio IDE Issues for information about the limitations when using Find All References.
Maintain expanded copybook view state
Enables you to specify whether the state of the expanded copybook view should be preserved between closing and reopening a file or the project.

Error Reporting

Background syntax check timeout
Specifies the response time (in seconds) after which the background parse is aborted.
Display error by program name
When set to True, the File column in the Error List window displays the name of the program in error - for example: Program1.cbl[copy1.cpy]. When set to False, the File column displays the name of the resource in error - for example, copy1.cpy.
Enable background syntax checking
Enables automatic syntax checking of the code as you type.

Generally, it is recommend that you leave Background Syntax Checking turned on as a number of IDE features rely on it and are not available when it is disabled. You might consider turning it off only when editing exceptionally large files. See Known Issues and Restrictions for more information about which IDE features are not available in that scenario.

Enable DB2 background syntax checking
Enables DB2 syntax checking during background compile.
Enable OpenSQL background syntax checking
Enables OpenSQL background syntax checking to a specified level.
Enable SQL Option background syntax checking
Enables SQL background syntax checking to a specified level.
Previous Topic Next topic Print topic