-
-
Notifications
You must be signed in to change notification settings - Fork 648
Closed
Description
Often I find myself wondering either:
- Does a spec for this exist?
- What does this spec really do?
I'd like something like cider-browse-ns
which gives me a list of all available specs in the app. We can get this by querying the registry of known specs.
When you click on a spec the definition of the spec should be displayed (this is available with (s/form (s/get-spec :qualified/spec))
)
Bonus points if the buffer can be sorted in two different ways:
- Fully qualified (
my-longish-prefix/some-spec
) - On the suffix only (
some-spec
)
The latter sort is useful because it would group:
user/id
line-item/id
Together when you search for id
.
Additional bonus points if you can query nested specs, i.e. after hitting RET on a spec, in the browser, to show its definition, it would be nice to be able to click on constituent spec definitions in the popup buffer to see their definitions.
ericfode