Customizing the Code Editor

The Preferences window enables you to change several options that affect the features in the code editor, including autocomplete and color coding.
To access the editor options, click More application options button and select Preferences. Click Editor.
Option
Description
Enable autocomplete
turns on the autocomplete feature of the code editor. This feature can predict the next keyword that you want to type before you actually type it completely. For more information, see Using the Autocomplete Feature.
Enable hint
displays the syntax help window when you position the mouse pointer over a valid SAS keyword in your program. If this option is not selected, then you can view the syntax help by right-clicking a keyword and selecting Syntax Help. This option is not selected by default.
Tab width
displays the number of spaces that are inserted into your text when you insert a tab character. The default value is four spaces for each tab character.
Note: In Microsoft Internet Explorer and Apple Safari, spaces are used instead of Tab characters. If you are using those browsers, you must select the Substitute spaces for tabs check box in order for the value of the tab width to be used.
Substitute spaces for tabs
inserts the number of spaces listed in the Tab width box instead of a single tab character. This option applies to both text that you type in the code editor and text that you paste into the code editor.
Enable color coding
displays the text in the code editor in different colors to help you identify different elements in the syntax.
Show line numbers
displays line numbers in the leftmost column of the program and log windows.
Font size
specifies the font size of the text in the code editor and log window.
Enable autosave
automatically creates auto-saved copies of each previously saved program file that you are editing so that you can recover the files if your browser closes unexpectedly. New program files are not auto-saved until you save them first. The files are saved at the interval specified in the Autosave Interval option. The default interval is 30 seconds.