There are many tools available, and you can display them in a number of ways.
You can also control how tools are re-used within the environment. That is, whether an existing Listener window (for example) is raised or a new one created, when you ask for a Listener tool. In this section we will discuss global and per-tool control of reuse.
Choose the Windows menu from the podium. This menu contains a list of all the windows currently available in the environment. Choosing any item from this list brings the window to the front of the display.
To iconify a window, use the command provided by your window manager.
In LispWorks for Windows in "All windows contained within a single main window" (MDI) mode, use the commands near the top of the Windows menu such as Cascade and Tile Horizontally to arrange your tool windows within the main window.
Most tools in the environment are listed in this menu.
or:
or:
For example, to display a Process Browser, click .
The tool is created (if necessary), and displayed. Using this method can be useful you may not remember immediately whether you have an existing instance of a given tool or not.
Accelerators are provided for the popular items on the Tools menu. Each tool accelerator is an alphanumeric key together with platform-specific modifier keys as shown in 3.1.5.1 Tool accelerator keys. You cannot configure these pre-defined tool accelerators.
You can also use these alphanumeric keys with the Invoke Tool editor command.
There is also a keystroke for switching between tool windows in a cyclical fashion, described in 2.7 Switching between windows.
Note 1: On GTK+, accelerators work only in KDE/Gnome editor emulation.
Note 2: In the deprecated Motif GUI, accelerators work only in KDE/Gnome editor emulation and you also need a keyboard with Alt
on mod1
and Meta
on a different modifier (for example, mod3
).
The accelerator keys for each tool are as shown in Tool accelerators:
By default, tools windows are re-used where possible. For example, suppose you already have a Listener window (potentially iconified) but do not have an Inspector window. When you choose Tools > Listener in the podium, the existing Listener is displayed. When you choose Tools > Inspector, an Inspector is created and displayed.
You can switch off re-use of tool windows. To do this, first raise the Preferences dialog as described in 3.2 Setting preferences. In the Preferences dialog under Environment > General > Window Options uncheck the Reuse all tools box and click OK. Now, when you choose Tools > Listener a new Listener is created, regardless of whether one already exists, and other tools behave in the same way.
The setting of Reuse all tools will be retained for your subsequent LispWorks sessions.
When the Reuse all tools option is on, tools windows are reusable by default. However, it is possible to specify that a particular instance of a tool is not reusable. To make your Inspector not reusable, follow these steps:
The Reuse all tools option is persistent, but the per-tool setting Reuse InspectorReusable applies only to the current instance of the tool, and it does not affect future sessions.
This section only applies to LispWorks for Windows.
Most tools have toolbars offering one-click access to frequently-used commands. For example, the Editor has a toolbar for operating on source code.
The Editor's source operations toolbar
You may prefer to remove such toolbars. You can control whether a tool displays its toolbars by the option Show Toolbar.
To hide toolbars for a particular type of tool:
You can also customize the toolbar by removing rarely-used buttons and adding or removing separators between groups of buttons. To do this, raise the context menu on the toolbar, choose Customize and make your selections in the Customize Toolbar dialog. You can also use this menu to select whether this toolbar's buttons show an image, or text, or both.
Note: The functionality of each toolbar is available elsewhere. For example the Editor's source code operations are also available on the Buffer, Definitions and Expression menus.
Choose Works > Clone in a given tool window to make a copy of that tool window. This is useful, for instance, if you wish to have two different views on an object simultaneously, and allows you to have several copies of a tool without having to change its re-use property using the Works > Customize menu.
Close any window in the environment using one of the following methods:
Ctrl+X 0
).
To manually update any tool, choose Works > Refresh or click .
Updating a tool is a useful way of making a snapshot of an aspect of the environment that you are interested in. For instance, imagine you want to compare a number of instances of a CLOS class against a known instance of the same class using the Inspector. You can do this as follows:
(make-instance 'capi:text-input-pane)
Note: You can use Esc P
in Emacs emulation or Ctrl+Up
in Windows emulation to get the previous Listener command.
LispWorks IDE User Guide (Unix version) - 01 Dec 2021 19:37:02