The first items in the context menu allow you to open the first selected file, using the Editor tool. There are three ways to open the file:
Open With Color |
Open the file for editing as usual, and add Code Coverage coloring. This corresponds to calling hcl:editor-color-code-coverage with :for-editing t . You can then edit the file as usual. |
Open |
Open the file in the usual way without any code coverage information. |
Open With Counters |
Open a special buffer (with a different name from the filename) with the code of the file, add code coverage coloring and also counters. This corresponds to calling hcl:editor-color-code-coverage with |
You can configure the coloring via Works > Tools > Preferences... > Code Coverage Browser > Coloring. The four check buttons correspond to the :color-covered
, :color-uncovered
, :runtime-only
and :comment-counters
keyword arguments in hcl:editor-color-code-coverage, and setting them sets the default values for these keywords.
By default, opening the file opens the file matching the truename that is recorded in the code coverage data and is displayed by default in the last column. You can change that by creating pathname mapping, which maps some root pathname to another one. You do that via Works > Tools > Preferences... > Code Coverage Browser > Pathname Mapping. If both of the Map from: and To: strings are not empty, the tool finds the pathname to use by first computing a relative pathname of truename relative to the Map From: pathname map-from, and then merging it with the To: pathname to, that is:
(merge-pathnames (enough-namestring truename map-from) to)
The next 4 items in the context menu operate on all of the selected files:
Mark Done |
Mark the selected files as Done. Marking changes the color in which the line for the file is displayed, and can be hidden by Hide Done, but otherwise has no effect. |
Mark Not Done |
Mark the selected files as Not Done. |
Hide Selected |
Hide (remove from the list) the selected files. |
The remaining items in the context menu operate on the list of files as a whole:
Hide Done |
Hide the files that are marked as Done. |
Unhide Others |
Show all the hidden files. |
Traverse |
Implements the traverse operation. See 13.4 Traverse. |
LispWorks IDE User Guide (Unix version) - 01 Dec 2021 19:37:12