All preferences are accessed by clicking . Several preferences affect the COBOL Editor. You can also access many of these preferences by opening the COBOL Editor, right-mouse click and from the menu click Preferences.
| Preference | Description | For more information |
|---|---|---|
| The text font and color that are used by the editor. | Setting colors and fonts | |
| Content Types | Edit content types and their associated file names and character sets. You can also associate arbitrary file names or file extensions with content types. | Setting content type associations |
| File Associations | Associate the editors with certain file extensions and choose a default editor to use. | Associating file types with an editor |
The COBOL preference contains settings that are specific to the COBOL Editor. On the Editor preference page, you can define which margins are displayed, where sequence numbers begin, and tab stops, and enable locating matching parenthesis in source files. Other preference pages include the following.
| Preference | Description | For more information |
|---|---|---|
| Specify the margins to be displayed. | Setting margins | |
| Defined tab stops used in the editor. | Setting tabs | |
| Formatter | Specify format of code in the editor, such as capitalization, indentation, and line length. | Formatting COBOL code elements |
| Mark occurrences | Specify to highlight references for selected
elements in the list.
|
Setting preferences for mark occurrence action |
| Preprocessor Integration | Customize the process for identifying preprocessor statements. | Setting preferences for preprocessor statements |
| Save Actions | Configure editor save actions to occur when you save a source or copybook file. | Setting preferences for editor save actions |
| Sequence numbers | Manage sequence numbers in your file. | Enabling sequence number handling |
| Syntax coloring | Specify the appearance of code syntax in the editor, | Setting options for real-time syntax checking |
| Task Tags | Manage task tags that are used within the editor. | Setting task tags |
| Features | Modify the list of features that can be added to programs created by the New COBOL Program wizard. | Setting preferences for features |
| Real-time syntax checking | Enable real-time syntax that causes programming errors to be identified as you edit the file. | Setting options for real-time syntax checking |
| Templates | Manage the COBOL code templates are contributed to the COBOL content assist. | Setting preferences for COBOL code templates |
The Data Management preference contains settings for working with EXEC SQL statements in the editor.
| Preference | Description | For more information |
|---|---|---|
| Define options for content assist and real-time syntax checking for EXEC SQL statement in the editor. | Setting preferences for EXEC SQL statements |
The LPEX Editor preference contains settings for the parser.
| Preference | Description | For more information |
|---|---|---|
| Parsers | Define parser name and class associations to the editor. | Setting parser styles |