This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-15
Channels
- # announcements (11)
- # beginners (66)
- # boot (6)
- # clara (25)
- # cljdoc (4)
- # cljs-dev (22)
- # clojure (261)
- # clojure-dev (1)
- # clojure-europe (2)
- # clojure-italy (15)
- # clojure-losangeles (1)
- # clojure-nl (19)
- # clojure-spec (62)
- # clojure-uk (50)
- # clojurescript (12)
- # community-development (6)
- # cursive (60)
- # datomic (21)
- # emacs (2)
- # figwheel (2)
- # figwheel-main (3)
- # fulcro (2)
- # graphql (11)
- # hyperfiddle (11)
- # javascript (1)
- # jobs (6)
- # juxt (1)
- # kaocha (5)
- # keechma (2)
- # off-topic (4)
- # onyx (10)
- # pathom (7)
- # re-frame (15)
- # reagent (8)
- # remote-jobs (2)
- # ring-swagger (14)
- # shadow-cljs (35)
- # sql (22)
- # testing (9)
- # tools-deps (62)
- # vim (12)
@grav how did you connect to figwheel-main? I’ve almost got it, but got the following nREPL connection found but unable to load piggieback
I got it working, I just had to specify my figwheel.main alias in the autogenerated REPL-config
So connecting to a figwheel-main REPL in a deps.edn project works like a charm in Cursive ❤️
hey, updated to eap10 but mount/defstate still "cannot be resolved" - anything else I need to do?
I updated to eap10 and mount/defstate is finally resolving for me. I didn’t do anything else besides update Cursive, but I believe I had previously used Resolve As on it in an earlier attempt to get it to resolve.
I think I did mine as defn
, but I suppose it’s a matter of personal taste.
No, looks like it was just def
— you can see it in the preferences under Languages & Frameworks -> Clojure -> Symbol Resolution
@kanwei You might need to do a File->Invalidate caches and restart… for that to work.
Huh, it worked for me right away.
If you open mount.tools.macrovich
, you can resolve deftime
there as net.cgrand.macrovich/deftime
and things should work.
@manutter51 I’m not sure how that could work.
Figures it would be me that would find a way to screw up by getting it right. 😄
That’s my personal project on my personal laptop, I’ll check it again after work.
@cfleming so I'm in mount.tools.macrovich and "(defmacro deftime" is actually resolved
Yeah, the submenu thing is a confusing UI for this - you need to press enter on the resolve as… menu item.
Get the first pop-up by alt-enter or clicking the lightbulb, then move onto Resolve mount.tools.macrovich/deftime as…, then press enter.
Can you open mount.core, and then find the (defmacro defstate
line, line 169 in my version.
You’ll see that the defmacro
is inside a (deftime
invocation - does trying to customise the resolution from the usage of deftime
rather than the definition help?
Ok, when it’s used from a library I see what you’re seeing, yes - I’ll debug that now.
Ok, I have mount/defstate
resolving with no problems on my work computer too, eap10 and lein deps :tree
shows
[re-frame "0.10.5"]
[net.cgrand/macrovich "0.2.0"]
which may be relevant (?)@manutter51 Which version of mount are you using?
[mount "0.1.12"]