Fork me on GitHub
#cider
<
2017-07-10
>
rickmoynihan10:07:45

it’d be great if jump to definition could work for aliased spec keywords that have an s/def… though I suppose to be truly robust that would require specs to have line number metadata

xiongtx20:07:49

rickmoynihan: This information is not available when a spec is defined. See: https://dev.clojure.org/jira/browse/CLJ-2037 It’s something that’ll need to be resolved before tooling supports jumping to definition.

xiongtx20:07:31

In the meantime, check out the new spec browser in CIDER: https://github.com/clojure-emacs/cider/blob/ff4c0ed9bc70c3f48ad74d08c9f7c97e91b2553c/doc/miscellaneous_features.md#spec-browser And corresponding functionality in helm-cider: https://github.com/clojure-emacs/helm-cider#specs No jump to source, but you can view definitions.

rickmoynihan21:07:31

Thanks for the info on the metadata ticket, I hadn’t seen that one… but have been following this related ticket with interest: https://dev.clojure.org/jira/browse/CLJ-2194 Thanks also for the info on cider spec - it looks great — is cider stable enough to use off master right now?

rickmoynihan10:07:17

another thing I’ve found myself wanting is to expand aliased keywords under the point to their fully qualified names and put them onto the kill-ring… probably easy enough to write with a bit of elisp

richiardiandrea11:07:09

@bozhidar other two nice fix to inf-clojure and I think we are ready for another release 😉