This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-26
Channels
- # arachne (4)
- # beginners (70)
- # bigdata (1)
- # boot (373)
- # braid-chat (3)
- # cider (4)
- # cljs-dev (10)
- # cljsjs (6)
- # cljsrn (27)
- # clojars (11)
- # clojure (114)
- # clojure-austria (1)
- # clojure-czech (2)
- # clojure-dusseldorf (2)
- # clojure-greece (7)
- # clojure-italy (2)
- # clojure-nl (6)
- # clojure-russia (15)
- # clojure-serbia (11)
- # clojure-spec (92)
- # clojure-uk (5)
- # clojurescript (183)
- # component (9)
- # cursive (28)
- # datomic (36)
- # editors (4)
- # emacs (1)
- # garden (11)
- # hoplon (155)
- # lein-figwheel (7)
- # mount (47)
- # om (97)
- # onyx (25)
- # proton (3)
- # rdf (3)
- # re-frame (80)
- # reagent (9)
- # ring-swagger (9)
- # spacemacs (1)
- # untangled (145)
- # vim (2)
@danboykis it is safe
I’ve just noticed that if I rename a (deftest …)
form then re-running the tests at the REPL appears to run all the tests twice (once per name). Obviously not a big deal, though.
Well, it can be a problem as you could be changing the assertions as well. It also happens if you delete a deftest you've already run in the repl - run all tests in ns will keep executing it. If you use the reloaded workflow though, you can call (refresh)
and it will get rid of symbols no longer in the file.
has anyone used cursive with lein-sub or lein-modules? https://github.com/jcrossley3/lein-modules
suggestion: all the useful actions (paredit, repl interaction, tests) able to be bound to some opinionated set of default keybindings. mine and my co-workers keybindings are rapidly diverging
is cursive meant to support lein’s syntax for private repository credentials stored in environment variables? when I have e.g.
:username :env/artifactory_user
:password :env/artifactory_password
i get “dependency resolution error” while subbing in the values works@danboykis Any 2016.2.x should be safe. I haven’t got 2016.3.x EAP support in there yet.
@peterwestmacott I suspect that’s because Cursive doesn’t completely replace the test namespace, it just loads it. So you’ll get a var with your new name, and still have a var with the old name hanging around.
@imre When I was doing the last big round of lein changes, I tested lein-modules pretty well - immutant works, for example, which is the canonical lein-modules project.
@bfabry Yes, I’m planning to just have default bindings for everything soon. I’ll send out the ones I’m planning to choose for feedback before making it definitive.
@spieden I’d need to check that - I think it does, but IntelliJ probably doesn’t see env vars you have defined.
@cfleming i’m setting them on the mac via e.g.
launchctl setenv ARTIFACTORY_USER deploy
it really surprises me that there's no way to auto discover external library javadoc url's in intellij. we bring in the google cloud stack, that's like 50 jars, I have to set a url for every one? what the fuck java ecosystem
@bfabry you mean clicking the little “download” link in the banner across the top of the editor?
ah ok so that builds the javadocs and hosts them locally? that'll do. I think I was expecting it to be more internet centric, but I guess I'm forgetting java is pretty old 🙂
no building involved, it just checks your maven cache for jars containing the source code corresponding to the compiled code you’re trying to get docs for and gives you that prompt if they’re not there
right. I think the confusion here is I very rarely navigate to source, I just hit up documentation (official stuff like google jars have good doco) so I never see the download link. hitting f1 just gives you the javadocs, but if you have never cached the jar it just gives you a sig
but if you navigate to definition, click the download button, suddenly all the f1 popups are detailed 🙂