Setting editor options
You can use the Editor Options preference page to create a customized set of editor options for each target environment.
About this task
- Create a custom set of editor commands that run when you open a file to change a program.
- Specify that you want the editor to insert an autocomment into your source code when you edit it for a particular target environment.
- Specify which macro file to use, depending on the target environment.
Use the Editor Options preference page
to do the following tasks:
- Create a set of editor options.
- Rename a set of editor options.
- Remove a set of editor options.
- Import a set of editor options from another location.
- Export a set of editor options to another location.
- Configure a set of editor options.
Creating a set of editor options
Procedure
To define a new set of editor options, complete the following steps:
- In the Preferences window, navigate to .
- Click New. The New Editor Options window opens.
- In the Name field, type a name for the set of editor options.
- From the list, select the editor options that suppy the initial settings for the set that you are creating.
- To save your selections and close the window, click OK.
The name that you assigned to the new set of editor options is displayed in the list of available sets of editor options.
Renaming a set of editor options
About this task
Procedure
- From the list of available sets of editor options, select the set that you want to rename.
- Click Rename. The Rename Editor Options window opens.
- Type the new name that you want to apply to this set of editor options.
- To save your changes and close the window, click OK.
The new name that you assigned to this set of editor options is displayed in the list of available sets of editor options. All references to this set of editor options are updated to use this new name.
Removing a set of editor options
About this task
Procedure
- From the list of available editor options sets, select the set that you want to remove.
- Click Delete. The Delete Confirmation window opens.
- To remove the selected set from the list, click OK.