Try OpenEdge Now
skip to main content
Online Help
Introducing the ABL Editor : Tasks : Writing ABL code : Formatting and displaying code : Indenting and aligning code
 
Indenting and aligning code
Demo
Note: The OpenEdge Release 10.2B demos have not been updated for OpenEdge Release 11.0. Since 10.2B, OpenEdge Architect has been renamed as Progress Developer Studio for OpenEdge. In addition, OpenEdge Release 11.0 includes some feature enhancements and other changes. Despite the differences between 10.2B and 11.0, the demos are still a useful introduction to Progress Developer Studio for OpenEdge.
To consistently indent lines in the current file for improved readability:
1. Optionally, select a block of code to be indented. If no text is selected, the entire file will be formatted.
2. Press CTRL-I or select Source > Correct Indentation.
Note: At the Editor preferences page, you can turn on or off options to have the ABL Editor automatically indent and align lines as you type and when you paste text, and to enable tabular formatting. The Correct Indentation command also applies tabular formatting, if enabled.