This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-06
Channels
- # adventofcode (24)
- # aleph (1)
- # bangalore-clj (2)
- # beginners (196)
- # boot (148)
- # cider (18)
- # clara (83)
- # cljsrn (24)
- # clojure (210)
- # clojure-brasil (3)
- # clojure-china (1)
- # clojure-italy (11)
- # clojure-korea (8)
- # clojure-russia (82)
- # clojure-spec (115)
- # clojure-uk (130)
- # clojurescript (109)
- # core-async (7)
- # cryogen (1)
- # cursive (22)
- # datascript (11)
- # datomic (6)
- # devcards (2)
- # emacs (1)
- # garden (1)
- # hoplon (2)
- # incanter (1)
- # klipse (4)
- # luminus (4)
- # off-topic (89)
- # om (53)
- # onyx (78)
- # parinfer (9)
- # proton (3)
- # protorepl (20)
- # re-frame (107)
- # reagent (52)
- # rum (30)
- # spacemacs (1)
- # testing (3)
- # untangled (31)
- # vim (43)
- # yada (9)
New to clojure and I’m using cursive. I cannot found an option for inline compilation. I tried CMD + Enter but doesn’t seem to work!
@pradeepcheers you mean eval
the selected form? then you can use the Send top form to REPL
-action or Send form before caret to REPL
I mean I want see the the output in line
@gerrit the image is from the cursive website where the compilation is inline similar to lighttable but I can’t get it to work 😞
@pradeepcheers that's for demonstration purposes only. that specific functionality is unique to Light Table.
@saeidscorp, thanks
looks like it is just a comment with expected output!
Proto-repl (https://atom.io/packages/proto-repl), Nightcode (https://sekao.net/nightcode/), and Nightlight (https://sekao.net/nightlight/) all support inline REPL evaluation too.
Well, technically Nightcode and Nightlight display the result of the eval in the gutter to the left of the line, rather than inline in the editor. But that feels pretty similar.
Thanks James I switched to proto-repl. Much easier to understand when autoeval file is enabled.
@james That’s interesting, I didn’t realise Nightcode put the value in the gutter. Do you have a screenshot of that handy, by any chance?
@curlyfry: Macro works, I ended up using the keystrokes # _ <esc> <rightarrow> <leftarrow> <esc>
which got rid of the auto complete, and bound that macro to what used to be the line comment mode. Thanks for the help!
@shaun-mahood Cool! Come to think of it, I'll probably add that macro too :)
@raymcdermott I have this problem as well and it is a known problem. You can follow & :thumbsup: the issue: https://github.com/cursive-ide/cursive/issues/1069
ok, thanks @kenny good to know it’s on the backlog
@raymcdermott You can work around the problem by doing alt+enter on defonce
and selecting resolve as def