This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-05
Channels
- # announcements (10)
- # beginners (59)
- # calva (172)
- # cider (13)
- # clj-kondo (1)
- # cljdoc (10)
- # cljs-dev (4)
- # cljsrn (65)
- # clojure (144)
- # clojure-europe (2)
- # clojure-italy (26)
- # clojure-losangeles (1)
- # clojure-nl (14)
- # clojure-spec (26)
- # clojure-uk (91)
- # clojurescript (75)
- # core-async (53)
- # cursive (11)
- # datomic (16)
- # fulcro (42)
- # graalvm (29)
- # graphql (9)
- # kaocha (3)
- # leiningen (22)
- # off-topic (26)
- # qa (1)
- # re-frame (3)
- # reagent (7)
- # reitit (10)
- # rewrite-clj (56)
- # robots (1)
- # shadow-cljs (107)
- # spacemacs (10)
- # specter (5)
- # sql (15)
- # tools-deps (39)
- # vim (11)
What do I need to do so that Cursive understands (with-test (defn myfn [] ...))
? Resolve as ... - as what? Thank you! I looked at https://cursive-ide.com/userguide/testing.html but don't see it.
@cfleming The clojuredocs integration (and learning about the quick documentation button) is so nice. Been doing some C programming lately on a side project and it's amazing how much I miss Cursive when working on it.
What is the quick documentation button, please?
@holyjak Check the View | Quick Documentation menu, that will have the keybinding next to it. Although in my case it says F1 but the one I mostly actually use is Ctrl-J. If you search for “Quick documentation” in Preferences | Keymap that will show all the bindings in your current keymap.
thanks!
@holyjak You can resolve with-test
as clojure.core/do
, which will index myfn
properly.
That’s just for the indexing inside with-test
though, does that also do some testing function?
Not sure I understand? Yes, with-test contains the defn and tests for it, ie it does implicitly creates a deftest
@shaun-mahood Thanks! Yeah, I find it really useful as well.