Format Code in the Editor

Syntax Coloring

The Syntax Coloring feature in IDL is the text chromacoding that makes your code easier to read and scan for particular elements. See the following example from the U.S. Census demo program:

ed_syntaxcolor.gif

Note
You can change the appearance of syntax coloring by changing the syntax coloring preferences in IDL. See Syntax Coloring for more information.

Formatting Options

The IDL Workbench Source menu provides features that help you quickly format your code: