Fork me on GitHub
#cider
<
2020-05-05
>
plins13:05:21

hey, Im trying to use cider-find-var on a spec, ::my-ns/my-spec , but Instead of jumping to the definition, it askes me to input a Symbol

practicalli-john15:05:39

Try cider-browse-spec`` instead, it seems closer to what you are looking for

plins20:05:22

thanks ๐Ÿ™‚

plins13:05:36

is this the expected behaviour?

dpsutton16:05:54

cider-find-var is an interactive autoloaded Lisp closure in
'cider-find.el'.

It is bound to M-., <menu-bar> <CIDER Interactions> <Find (jump to)>
<Find definition>.

(cider-find-var &optional ARG VAR LINE)

Find definition for VAR at LINE.
Prompt according to prefix ARG and 'cider-prompt-for-symbol'.
A single or double prefix argument inverts the meaning of
'cider-prompt-for-symbol'.  A prefix of '-' or a double prefix argument causes
the results to be displayed in a different window.  The default value is
thing at point.
from C-h f cider-find-var. note the cider-prompt-for-symbol which can be set to nil

baptiste-from-paris20:05:10

Hello friends, does anyone have successfully launched a cider REPL with the new clojurescript bundle options ? Canโ€™t get to make it work ๐Ÿ˜ญ

dominicm20:05:22

I don't think Figwheel works with it

practicalli-john20:05:44

@baptiste-from-paris if you are using figwheel then this does not work with bundle at the moment (see the #figwheel-main channel). I dont know if shadow works with it, there is a #shadow-cljs for that. Once those tools work with bundle, then so should cider.

baptiste-from-paris20:05:53

Thanks a lot for your help :-)

baptiste-from-paris20:05:50

I am not using these tools, Iโ€™ve read their announcements. I am just trying not to work in my terminal ๐Ÿ˜‚

๐Ÿ‘ 8
dominicm21:05:37

@baptiste-from-paris are you trying to use piggieback with the built-in cljs repl?

baptiste-from-paris21:05:39

Yes indeed, with webpack as a bundler. I think i am going to try inferior mode like I am used to with Clojure CLR ๐Ÿฅณ

dpsutton21:05:23

i updated inf-clojure so it would work with the command line tools seemlessly

๐Ÿ‘Œ 4