Customizing the Task Code and the Task Layout in the Workspace

The Preferences window enables you to change several options that affect what and how the task code is displayed.
To access these options, click More application options button and select Preferences. Click Tasks.
Trim all leading and trailing blank spaces in generated code
removes any blank spaces that appear before or after the generated code.
Generate header comments for task code
adds comments before the generated code for a SAS task.
Automatically format generated code
automatically formats any code that is generated by a task and displayed in the code editor.
View
specifies how to lay out the task options, task code, and task results in your workspace. You can choose from these options:
  • Split — displays the task settings, the code, and the results for the task.
  • Settings — displays only the options for the task in the workspace.
  • Code/Results — displays the SAS code, the log, and any results in the workspace.
Show Task Code
specifies whether to display the SAS code for the task when you select the Split view or the Code/Results view.
Show Task Log
specifies whether to display the log that is generated when you run the task. This option is available only if you select the Split view or the Code/Results view.
Task Settings on Right
displays the task option to the right of the SAS Studio workspace. By default, the task options are displayed to the left.