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).
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 inactive code colorization
Enabled by default. Specifies that any sections of code in $if conditional compilations that are not compiled should be colorized.

If you are editing large source files, switching this option off could help improve the performance in the editor.

Enable Outlining
Enabled by default. Controls whether to show the outlining for blocks of code in the editor. If there are files opened in the editor, any changes to this option only take effect after closing and reopening the files.

If you are editing large source files, switching this option off could help improve the performance in the editor.

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.
Show Comment Tasks
Enables you to specify whether the IDE should scan the source files in the editor for Task List comments (such as TODO or HACK) and display them in the Task List window. If there are any files opened in the editor, changes to this option only take effect after closing and reopening the files.

If you are editing large source files, switching this option off could help improve the performance in the editor.

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