This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-04
Channels
- # announcements (8)
- # beginners (27)
- # calva (8)
- # cider (26)
- # clara (19)
- # cljdoc (4)
- # cljsjs (1)
- # clojure (221)
- # clojure-dev (6)
- # clojure-europe (11)
- # clojure-gamedev (18)
- # clojure-italy (8)
- # clojure-nl (12)
- # clojure-spec (85)
- # clojure-uk (17)
- # clojurescript (34)
- # community-development (1)
- # cursive (26)
- # datomic (16)
- # dirac (19)
- # duct (6)
- # editors (4)
- # figwheel-main (1)
- # fulcro (68)
- # graphql (41)
- # juxt (16)
- # luminus (11)
- # off-topic (30)
- # pathom (35)
- # planck (2)
- # re-frame (18)
- # reagent (20)
- # remote-jobs (6)
- # rum (1)
- # shadow-cljs (37)
- # spacemacs (9)
- # vim (14)
If anyone is annoyed by the change in brace handling behaviour in IntelliJ 2019.1, please go and vote for https://youtrack.jetbrains.com/issue/IDEA-210104 (see https://github.com/cursive-ide/cursive/issues/2143 for Cursive specific details).
Hi (mac/linux user here), trying to show Clojure using Cursive on Windows, the Refresh/Download open is not intuitive ... what do I need in the users home directory deps.edn ...
.. in order to use tools.dep directly - see Settings/Build, Execution, Deployment/Build Tools/Clojure Deps
The user’s home directory deps.edn is just the file that you want to use as the user deps - on mac/linux that’s in a standard location, on Windows it isn’t (yet) so I allow you to choose where you want to put it.
What are the contents of that file in order for the version drop down list to become populated ?
The version drop down list isn’t populated based on that file, that’s queried from the Maven repository.
When you press “Refresh”, that list will be populated. Then you choose a version and press “Download” to fetch it.
Excellent ... and our local repo does not contain a tools.dep.alpha hence the issue .. I will get it loaded and we will be on our way
@gmercer No worries! One thing is that if you’re going to fetch that from a local repo, artifactory or something, then it will need Maven indexes built for the version querying to work.
Actually during one wrestle we got it installed locally but that would alos need the indexing
I installed IntelliJ Community 2019.1 and Cursive. I am using Leiningen. I created a project and then imported it into IntelliJ. I then tried to run nRepl but I am getting the following exceptions. Any help on what I'm doing wrong would be greatly appreciated.
@kdhoward You don’t need the cider middleware to work with Cursive, so you should remove that.
@cfleming I removed all plugins that I had downloaded except for Cursive and I'm still seeing the problem. How would I go about removing cider? I don't believe I installed it (at least not knowingly)
@cfleming Re: You can use the “Use tools.deps directly” option at Preferences | Build, Execution, Deployment | Build Tools | Clojure Deps, that was added so that Windows users can use deps. Thanks, but unfortunately that doesnt work for me, even though Intellij has a proxy set up. Similarly Cursive cannot download lein itself, but if I have lein installed already, cursive will work. Is there somewhere I can unzip the clojure.tools jar that Cursive will be able to use it?
@henryw374 There’s some info here on how to get deps to use a proxy, see https://clojure.org/reference/deps_and_cli under “Maven proxies”. Unfortunately it doesn’t look like I can automatically use the IntelliJ one when calling deps.
@cfleming - What I mean is that I cannot get intellij to download tool.deps in the first place. when I click 'refresh' it just sits there with a spinner. I guess my intellij cannot access github (firewall... although I can access github from my browser), even though I have the intellij proxy set up. Since I can download tools.deps from a browser, if I could unzip it somewhere that Cursive would recognise, that would be fine as a workaround
@henryw374 Yes, I just had a shower moment and was coming to say that of course deps doesn’t download itself. I’ll look tomorrow at how to make that code use the IntelliJ proxy. I can’t think of a good workaround unfortunately, since getting the version list depends on repo access.