This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-27
Channels
- # arachne (1)
- # beginners (31)
- # boot (84)
- # cider (9)
- # clara (2)
- # cljs-dev (102)
- # cljsrn (20)
- # clojure (254)
- # clojure-belgium (1)
- # clojure-dusseldorf (17)
- # clojure-greece (7)
- # clojure-italy (6)
- # clojure-russia (2)
- # clojure-spec (8)
- # clojure-uk (9)
- # clojurescript (93)
- # component (4)
- # copenhagen-clojurians (1)
- # cursive (24)
- # datomic (22)
- # editors (1)
- # emacs (8)
- # garden (2)
- # hoplon (357)
- # lein-figwheel (1)
- # leiningen (4)
- # luminus (27)
- # mount (13)
- # off-topic (7)
- # om (71)
- # onyx (35)
- # planck (3)
- # re-frame (53)
- # reagent (35)
- # ring-swagger (24)
- # specter (10)
- # sql (6)
- # untangled (47)
- # vim (157)
@spieden I’m not sure if IntelliJ will see those env vars or not, I’ll try to test that. If not I’ll need to allow them to be set in the UI, but then that involves letting some be password fields etc.
I might need to add a specific repo auth UI for that case, I’d like it to be more general but that might be tricky.
@spieden @bfabry I don’t think that will work, sadly. Do the poms for these jars have the doc URL in the pom anywhere?
The reason that Cursive doesn’t allow sources and javadoc to be downloaded automatically is that most Clojure deps don’t have it. There’s no good way to tell which deps are Clojure, and so Cursive will try to go out to all your repositories on every sync for all your libs which don’t have sources in your local Maven repo. That will be most of them, obviously.
The only solution I can think of for this would be to use some metadata in the project.clj
which doesn’t interfere with other tools, something like :dependencies [^:with-sources [com.google.cloud/puffy-white-clouds “1.2.3”]]
Then I would only sync the source (or javadoc) artifacts for those deps which explicitly ask for it.
@cfleming I was actually talking about a java lib, so the download sources button works 🙂
@cfleming these shortcuts seem to be working nicely so far, although they might be a bit controversial: https://www.cheatography.com/pupeno/cheat-sheets/cursive-on-windows/
Hmm strange. All of a sudden I don’t have the REPL option under Tools and my default key binding does not work anymore. Did anyone else run into this?
@misha I ticked 'use clojure.main in normal JVM process' and now it seems to start fine. thank you for your time.
@horia That option will not affect the editor you end up with. I’ve never seen that before, I suspect that just restarting the REPL night have worked.
@vikeri That option is only present when you have a REPL running - if you start one up, that menu item will reappear.
Alright, funny, I've used it heaps but I never noticed that. Must have only been looking when I had a REPL going already
@bfabry Right. But let me know if it would be useful to indicate with metadata that you’d like sources or docs downloaded automatically.