This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-29
Channels
- # aatree (1)
- # admin-announcements (7)
- # announcements (3)
- # beginners (125)
- # boot (164)
- # braid-chat (8)
- # cider (26)
- # cljsrn (37)
- # clojars (3)
- # clojure (162)
- # clojure-argentina (1)
- # clojure-art (2)
- # clojure-berlin (5)
- # clojure-czech (3)
- # clojure-ireland (1)
- # clojure-miami (1)
- # clojure-norway (9)
- # clojure-russia (47)
- # clojurebridge (1)
- # clojurescript (151)
- # community-development (1)
- # conf-proposals (80)
- # core-async (15)
- # core-matrix (1)
- # cursive (66)
- # datomic (26)
- # emacs (17)
- # events (10)
- # funcool (59)
- # hoplon (43)
- # incanter (2)
- # jobs (10)
- # ldnclj (8)
- # lein-figwheel (18)
- # luminus (1)
- # off-topic (19)
- # om (144)
- # onyx (167)
- # overtone (9)
- # parinfer (12)
- # pedestal (1)
- # proton (158)
- # re-frame (139)
- # reagent (48)
- # test-check (19)
- # testing (43)
@misha: Right, Figwheel does have an nREPL option but you have to configure it, and then start Figwheel and start the REPL in Cursive. IMO the clojure.main one is the best experience right now.
@danielcompton: You can even create your own if you want to: Settings->Editor->Live Templates
Oh that looks really useful - going to have to play with some live templates tomorrow,
@james: So thinking about it, there actually might be a workaround for the inline evaluation thing.
It’ll probably be obvious that the result spans more than one line if it’s a map or whatever. I can show a shortened preview version on a single line, but what I can’t do easily is make that clickable or expandable.
However what I can probably do is put a marker in the gutter, and also add a keyboard action for “Show full result for current line”. So you could pop it up by using the key or by clicking in the gutter.
It could possibly even pop up automatically if the result is multi-line, and when the popup is hidden you’d just see the single line again.
When (if) JetBrains add support for better in-editor overlays, then hopefully it wouldn’t be a lot of work for you to move over to using the new approach.
@james: Cool, I have some things queued up but I’ll try to get to it soon, it’s a popular request.
@cfleming: is there a place where you can set a keyboard shortcut to send a specific command to the repl no matter where in the source you are?
@imre: I think what you’re after is https://github.com/cursive-ide/cursive/issues/85
There isn’t one, yet - currently I just delegate that to lein or whatever you’re using.
so far I'm having a wonderful experience with Cursive, been using it since early 2014, some excellent progress has been made
Great, I’m glad you’re enjoying it! I’m hoping to file off a lot of rough edges this year, and add some great new stuff too.
It’s improving rapidly, though, and I think with some tooling in Cursive it’ll come pretty close.
Yeah, that’s one of the things I really want to add - equivalent functionality to what Cursive offers for clojure.test
I think the deeper problem right now is that there's no simple, out-of-the-box solution in cljs for lein test
Right, doo seems to be the state of the art, but I’ve heard it’s finicky - I’ve never tried it myself
and although it sounds weird to develop clojure/script on windows, some people are stuck with it
Hey, not very in-topic, but is it normal for intellij's search everywhere (shift-shift) to give only exact matches?
Right, cljs tooling is complicated by the number of runtimes that have to be supported
@doddenino: I’m actually not sure, I don’t use it much myself. More relevant to Cursive is that many Clojure elements aren’t found there (like namespaces)
@cfleming I see, I'll check online later on as this is pretty much a show stopper for me 😞
What does it seem like the default indenting structure for Cursive/IntelliJ is? I’m noticing something like 8 spaces
@kamuela: try to set Preferences -> Editor -> Code Style -> General tab -> "Default to Only indent" checkbox
on
without it (and maybe something else) indentation length depends on context, e.g. macros name:
(rum.core/defc some-component []
[:h1 "yo"])
vs.:
(rum.core/defc some-component []
[:h1 "yo"])
I noticed that cursive gets really angry if you try to remove parentheses. Am I doing it right by just copying and pasting out full forms?
@kamuela: It’s probably structural editing messing with you, see https://cursive-ide.com/userguide/paredit.html