All Manuals > LispWorks IDE User Guide > 13 The Editor


13.7 Setting Editor preferences

You can configure several aspects of the Editor tool, including:

These editor-specific options are described in Controlling options specific to the Editor.

13.7.1 Controlling other aspects of the Editor

Other configuration options affect the Editor but also apply to other tools in the LispWorks IDE which are based on capi:editor-pane. These options control

You set these options via Works > Tools > Preferences... > Environment . These Environment options are described in Setting preferences, which you should read for a full appreciation of the options affecting your Editor tools.

13.7.2 Controlling options specific to the Editor

This section describes options affecting only the Editor tool.

To configure these choose Works > Tools > Preferences... and select Editor in the list on the left side of the Preferences dialog. This displays these options:

Figure 13.9 Editor Preferences

Any changes you make are applied and saved for future use when you choose OK to dismiss the Preferences dialog. Controlling toolbar display

You can control whether Editor tools display toolbars such as the source operations and history toolbars by the option Show Toolbar , as described in Toolbar configurations.

13.7.3 Buffers list option

Control whether Editor windows display a list of buffers in the Text view by the option Display a list of buffers in every Editor window .

The buffers list facilitates speedy switching between buffers while editing. You can filter the buffers list in the usual way if needed. Sorting items in lists

By default, items in the buffers and various definitions views are sorted alphabetically according to their name. The options in the Sort panel in the Editor Preferences allow you to change this, as follows:


Leaves items in these lists unsorted. For views which list definitions, choosing this option lists definitions in the order in which they appear in the source code.

By Name

Sort according to the item name. This is the default setting.

By Package

Sort according to the buffer package or the package of the definition's name.

By Type

Sorts items according to the type of the definition, or the attributes of the buffer. Displaying package information

As with many other tools, you can configure the way package names are displayed in the Editor. Because of the nature of this tool, you need to be a little more aware of the precise nature of these commands in order to avoid confusion. This information can be configured using the Package box of the Editor Preferences shown in Editor Preferences.

Click Show Package Names to toggle display of package names in the main areas of the buffers and various definitions views.

Type a package name into the text field to change the current package in the Editor. You can use completion to reduce typing, by clicking which allows you to select from a list of all package names which begin with the partial input you have entered. See Completion for detailed instructions. When you have entered the complete name, click the button to confirm the package name.

Note that this does not change the package currently displayed; it merely changes the Editor's notion of "where" it is in the environment, and this in turn affects the way symbols are printed in the buffers and various definitions views.

By default, the current package is CL-USER.

LispWorks IDE User Guide (Unix version) - 12 Feb 2015