You can format entire files or a selection of code in the editor:
- Open the COBOL source file in the editor.
- If you want to format only a portion of the code, mark a selection in the editor.
Source, and then click one of the following commands:
- formats either the source code currently opened in the editor or just the selection you have made.
- Format COBOL Program dialog box which shows all the files that comprise the compile unit - source files and any dependent copybooks.
- this opens the
- If you have selected
Format Program, ensure you select the program and only the copybooks you want to format, then click
The IDE formats the code according to the preferences in