This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-22
Channels
- # announcements (2)
- # babashka (64)
- # beginners (41)
- # calva (4)
- # cider (1)
- # clj-kondo (78)
- # cljdoc (31)
- # cljsrn (4)
- # clojars (2)
- # clojure (109)
- # clojure-germany (1)
- # clojure-italy (8)
- # clojure-nl (2)
- # clojure-spec (8)
- # clojure-uk (28)
- # clojurescript (61)
- # code-reviews (2)
- # cryogen (2)
- # cursive (23)
- # datomic (21)
- # duct (15)
- # fulcro (37)
- # graalvm (17)
- # graphql (3)
- # jackdaw (3)
- # joker (11)
- # lein-figwheel (4)
- # malli (42)
- # off-topic (97)
- # pathom (4)
- # pedestal (1)
- # portkey (3)
- # re-frame (7)
- # reagent (13)
- # reitit (2)
- # shadow-cljs (54)
- # spacemacs (1)
Can anyone confirm that Navigate > Test
used work immediately without needing confirmation if a match existed? For the most recent few versions, Cmd-Shift-T always gives me a context menu, where the first choice has no effect. So if hit it in a impl file, I see a menu with two choices, where the first choice leaves me in the impl file, and the second option is what used to be default (Create new test…, etc)
Related issue: https://github.com/cursive-ide/cursive/issues/2235#issuecomment-557387736
Ho! I've been doing some refactoring work in cursive lately, mainly because Ciders find-usages
is b0rken for our project.
But while find-usages
is great, call-hierarchy
(https://github.com/cursive-ide/cursive/issues/475) is really what I'm after.
From a outsiders view, this should be somewhat trivial, as it's basically a recursive call to find-usages
and displaying the tree?
I suspect it might be a bit more than that, but I’m not sure how much more - I’ll take a look.
Can I do something to stop Cursive complain about "cannot be resolved" on java-time
's potemkin-imported vars from other jt namespaces? (i.e. there is java-time.seqs/iterate
that is imported to be accessible via java-time/iterate
but Cursive doesn't get it, b/c it uses static analysis. See https://github.com/dm3/clojure.java-time/blob/master/src/java_time.clj#L8
I meant to say with that link: it is possible with static analysis, it just takes work.
Cursive does support this - the problem is that java-time
vendors potemkin as java-time.potemkin.namespaces
. I didn’t add support for the vendored version, and instead added stub support for the java-time
namespace.
@U0522TWDA Do you get a notification asking you to create stubs for that namespace? See: https://cursive-ide.com/userguide/macros.html#stub-generation
I do not as far I as remember, will look into it. Thanks a lot!
@U0567Q30W How do I get Cursive to ask me to generate stubs for java-time? (II 2013.3.EAP of Oct 9th, Cursive 1.9.0-eap8-2019.3)
@U0522TWDA It will prompt you in a notification. If you missed it you can open the Event Log, or if you refresh your Deps/Lein project it should prompt you again.
@U0567Q30W That is perhaps the problem, I use Gradle (via https://github.com/clojurephant/clojurephant) because Clojure is only a small subproject of a bigger existing Gradle project. I have tried to re-import the Gradle project but it did nothing.
@U0522TWDA It should still prompt you. When you look in the Event Log, do you see a notification there about it?
No. I just did "Reimport Gradle project" from the Gradle view and there is nothing new in the event log.
I have updated to the latest eap of Cursive and now in the events log there is "Stub generation required" so I initiated this. But if it wasn't for the update I would have to live without it...