The settings you specify on the
Tools > Options > Text Editor > PL/I > Tabs page in Visual Studio apply to all projects in your solutions.
- Indenting
-
- None
- Disables the automatic indenting of new lines of code.
- Block
- Indents a new line at the same tab position as the previous line.
- Smart
- Indents new lines of code according to the rules of the COBOL language.
- Tab
-
- Tab and indent size
- Defines the number of spaces inserted when you press
Tab or
Enter. When programming in COBOL, the Compiler expects the meaningful code to start from column eight. This is why it is convenient to have the tab character replaced by four spaces to reduce the risk of introducing compilation errors in the code.
- Insert spaces
- Replaces the tab character with the number of spaces specified in the
Tab and indent size field.
- Keep tabs
- Inserts a tab character when you press
Tab.