This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-27
Channels
- # alda (21)
- # announcements (7)
- # beginners (70)
- # boot (95)
- # braid-chat (28)
- # bristol-clojurians (2)
- # cider (22)
- # clara (4)
- # cljsjs (13)
- # cljsrn (40)
- # clojure (93)
- # clojure-argentina (1)
- # clojure-art (1)
- # clojure-miami (3)
- # clojure-norway (1)
- # clojure-portugal (2)
- # clojure-russia (39)
- # clojure-sg (3)
- # clojurescript (25)
- # clojurian-chat-app (4)
- # community-development (5)
- # conf-proposals (20)
- # cursive (48)
- # datomic (39)
- # devcards (5)
- # dirac (4)
- # editors (2)
- # events (11)
- # funcool (65)
- # hoplon (95)
- # jobs (12)
- # ldnclj (4)
- # lein-figwheel (2)
- # leiningen (1)
- # om (311)
- # onyx (20)
- # philosophy (4)
- # proton (41)
- # re-frame (83)
- # reagent (49)
- # ring-swagger (3)
- # spacemacs (8)
- # yada (5)
I'm on a borrowed Windows 10 laptop about to install IntelliJ/Cursive, do I need to install git first?
Does cursive support private repos? I mean can it handle lein dependencies coming from a private repo?
Speaking of git support, it seems to me that IntelliJ doesn't store the ignore file information, entered through its git interface, in .gitignore. Anyone else encountered this? If I'm right, where is it storing that information?
@puzzler: not too sure on your point, though on a tangent, I like the .ignore
plugin
@danielcompton: I'll have to install that .ignore
plugin.
@moizsj: How are your private repos accessed? Cursive should support this, although there’s an issue with the s3 private wagon which I haven’t had time to look at.
Cursive basically just delegates to lein, so it should all work, modulo the fact that Cursive does a lot of classloader magic to invoke lein so plugins are occasionally funky
@puzzler: I must admit I’ve never tried that, I just use .gitignore
directly. I’ll check tomorrow.
@cfleming: we do use s3 wagon private. I actually did lein deps from outside cursive and then hit refresh in Cursive, and everything seems ok. But I dont know if it would've worked if I hadnt done lein deps first. What sort of issues should I expect with s3 wagon private? And what are the workarounds if any?
@moizsj: lein deps
on the command line is usually the best workaround since then the artifacts will be cached in your m2 repo. That may not work correctly if you’re using snapshots though, it may try to contact the repo every time then depending on the configuration.
@cfleming: thx, the workaround seems easy to deal with. While I have you here, is Cursive's inability to resolve symbols coming defonce or other macros a known issue?
@moizsj: Yes, it is. defonce
should work though, I saw the issue about that but haven’t had time to look at it. The reference issue for macros is https://github.com/cursive-ide/cursive/issues/147
Unfortunately the full fix is complicated, which is why I still haven’t released it a year and a half later.
@moizsj: BTW you asked about the error output colour in the REPL - I think it’s under Console Colours->Error Output
@cfleming: Thanks I'll double check but I think i tried that. Abt the defonce, something like this does not work
(defonce ^:dynamic some-str "test")
@moizsj: I’m pretty sure that’s the colour it uses. One thing you could try is changing the colour and restarting IntelliJ. It’s possible I look the colour up once and store it in a static variable, rather than looking it up each time.
does Cursive work pretty well with WebStorm? I have both, but if when doing web dev I can just stick with WebStorm that'd be pretty great.
@gerred: Do you mean using WebStorm instead of intelliJ?
Are there any IntelliJ specific (projects, apis) features? The IntelliJ elixir plugin does, but I couldn't find anything in Cursive.
As far as I know it only works with IntelliJ
I'm doing some more interesting things with ANSI escape codes; moving the cursor around to do some stuff. What are the odds of Cursive's output window handling save cursor position / cursor up / cursor horizontal absoluate / clear to end of line / restore cursor position (s A G K u, respectively)?
Even the Terminal window does a lousy job on these. Looks great in Terminal.app, though.
@gerred: Unfortunately Cursive doesn’t work in WebStorm right now, Cursive relies on the Java support in IntelliJ which isn’t present in WS. There’s some hope that it might in a soonish kind of timeframe, JetBrains have a project to modularise IntelliJ which will make the Java support into a normal plugin which could be installed in WebStorm, PyCharm etc.