Hi,
I wrote a slime extension to search definitions (variables,.functions, generic functions, etc.) based on fuzzy completions and edit definiton. It's supposed to work like apropos, but the result is interactive.
Here is the idea (although not yet fully implemented) + hitting search definitons key brings up minibuffer + while editing in the minibuffer you can press TAB which shows fuzzy competion list for the current content of the minibuffer + completion list has a current selection + up/down arrows move the current selection while leaving the focus in the minibuffer, so that you can edit and hit TAB again to update the completion window + hitting enter goes to the definiton in the source files currently selected and closes minibuffer and completion window and leaves the source buffer open + hitting space opens the definition while leaving the focus in the minibuffer (minibuffer, completion window and definition window is visible at the same time) + hitting space on several definitons will show the sources of the definitons on top of each other + ESC leaves search definition - completion window shows specialized versions of generic functions in place, so that it can be selected directly (tree) - switch between two modes, where changing the selection immediately shows the definition of the current selection, so you can just move up and down (C-SPACE?) - close all sources that were not open before starting find definition except the one that was opened by pressing enter
Key bindings are local to search definitions.
Any ides, suggestions?
levy
"Levente Mészáros" levente.meszaros@gmail.com writes:
- completion window shows specialized versions of generic functions
in place, so that it can be selected directly (tree)
Are you sure of this? There can be a lot of methods! I think I would prefer to be taken to an XREF buffer for method selection after I selected the generic function.
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs."