[slime-devel] [PATCH] improved display of symbols of a package in the Inspector
Tobias C. Rittweiler
tcr at freebits.de
Sun Apr 8 17:24:44 UTC 2007
To make oneself familiar with someone else's code, it's often desirable
to see what symbols are defined in a package. I've added a special
inspector page for that purpose that will pop up if you inspect the
package, and then click on the links to the external/internal symbols.
The flags are the same as those that are presented in Fuzzy Completion.
Here's an snippet from all present symbols of #<PACKAGE "SWANK">:
All present symbols of package "SWANK"
[type: %PACKAGE-SYMBOLS-CONTAINER]
--------------------
A symbol is considered present in a package if it's
"accessible in that package directly, rather than
being inherited from another package."
(CLHS glossary entry for `present')
Symbols: Flags:
--------------------------------------------------- -------
%CONTAINER -------
%MAKE-FUZZY-MATCHING -f-----
%PACKAGE-SYMBOLS-CONTAINER ---c---
%PACKAGE-SYMBOLS-CONTAINER- -------
%PACKAGE-SYMBOLS-CONTAINER-DESCRIPTION -f-----
%PACKAGE-SYMBOLS-CONTAINER-P -f-----
%PACKAGE-SYMBOLS-CONTAINER-SYMBOLS -f-----
%PACKAGE-SYMBOLS-CONTAINER-TITLE -f-----
&UNKNOWN-JUNK -------
*ACTIVE-THREADS* b------
*AFTER-INIT-HOOK* b------
...
Hope you'll find this useful,
-T.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slime-inspect-symbols-of-package.diff
Type: text/x-diff
Size: 17372 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20070408/ba652bd6/attachment.diff>
More information about the slime-devel
mailing list