This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-09
Channels
- # aleph (3)
- # beginners (327)
- # calva (3)
- # cider (20)
- # cljdoc (59)
- # cljs-dev (40)
- # clojure (104)
- # clojure-dev (30)
- # clojure-italy (8)
- # clojure-nl (36)
- # clojure-russia (3)
- # clojure-spec (3)
- # clojure-uk (79)
- # clojurescript (54)
- # community-development (5)
- # cursive (28)
- # data-science (21)
- # datomic (35)
- # emacs (14)
- # expound (1)
- # figwheel (2)
- # figwheel-main (82)
- # fulcro (18)
- # graphql (13)
- # jobs (12)
- # jobs-discuss (38)
- # kaocha (8)
- # lambdaisland (1)
- # lumo (12)
- # off-topic (20)
- # onyx (4)
- # re-frame (51)
- # reagent (12)
- # reitit (8)
- # ring-swagger (1)
- # shadow-cljs (22)
- # slack-help (2)
- # spacemacs (6)
- # specter (16)
- # testing (3)
@dnolen 1.8.0-eap9 is out now, hopefully fixing those two deps issues. https://dev.clojure.org/jira/browse/TDEPS-106 is tracking the deps part.
@cfleming hello, you have an idea about can be happen that sometimes cursive doesn't offer to change how to resolve a form?
I'm having this with some spec things, the problems happens more often in cljs/cljc files
I press the alt+return but nothing happens, and I can confirm its a macro
and just to add more info, not sure if matters, but when I try to navigate to the macro it shows 2 places, and I think should be only one:
@U066U8JQJ Hmm, yeah, that can be a problem when a symbol resolves to two different places. That usually happens when you have two versions of the same lib attached (like Clojure 1.7 & 1.8). I don’t know why it would show it twice from the same lib. Is it defined once using declare
or anything like that?
yes, defined in cljc
, I tried to find if I had multiple versions of it, but I don't, its a single thing coming from just my project
no, usage in cljs
didn't tried, let me do it
no worries, this case is aggravated to me because this lib is also using a custom way to define vars and functions (similar to Ghostwheel), so without the resolve feature it gets no completions
ok, invalidated and restarted
after indexing it continues doing the same
another weird thing, if I navigate to the source, and try to do it from there, I get the menu from alt+enter, but when I select the option to resolver as... it doesn't do anything
@cfleming I was able to reproduce on a small repo: https://github.com/wilkerlucio/repro-cursive-resolve-issue
just tried with deps.edn to see if matter, but got the same results
@U066U8JQJ Thanks for the repro case! I’ve filed: https://github.com/cursive-ide/cursive/issues/2077
I'm not sure if happens for everyone, Tony Kay is using this same library and he told me it works fine for him, so please let me know in case you can't reproduce and need more info
@U066U8JQJ So I spent some time debugging this, it’s actually a problem in Fulcro.
If you look in the fulcro-incubator jar, it has two copies of the source code, one at the root and one under /main
.
thanks for digging it up and the clarifications, Tony just fixed it there in the response to it 🙂