This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-17
Channels
- # beginners (106)
- # cider (20)
- # cljs-dev (4)
- # cljsrn (1)
- # clojure (65)
- # clojure-austin (7)
- # clojure-canada (2)
- # clojure-russia (1)
- # clojure-spec (28)
- # clojure-uk (2)
- # clojurebridge (1)
- # clojurescript (32)
- # datomic (8)
- # docs (1)
- # emacs (27)
- # events (7)
- # fulcro (13)
- # garden (1)
- # hoplon (3)
- # leiningen (4)
- # luminus (2)
- # off-topic (32)
- # onyx (4)
- # parinfer (6)
- # pedestal (16)
- # re-frame (7)
- # reagent (5)
- # shadow-cljs (8)
- # spacemacs (2)
- # uncomplicate (4)
- # vim (3)
Hello what is a status of cider? Will it be abandoned in favour of inf-clojure?
Hey all, is there a way in cider to evaluate-last-sexp, but keep the result as a comment in the source file? I'm working through the examples in a book, and it'd be great to see results right next to the examples as I run them.
Well the output should stay as it is as long as you don't type anything
If you want to create a comment you should probably write your own emacs-lisp funciton
Is not hard since the output of the evaluation is in the messages buffer
@kwcharllie379 I found the command: C-c M-x
: cider-eval-defun-to-comment 🙂
There are also pretty-print versions of those “eval to comment” functions.
Nice good job
I am asking about cider because I do not know whether is worth switching to the inf-clojure. The main benefit for me is that the inf-clojure has integrated lumo REPL. Is there a plan to allow cider use lumo?
I think they target different use cases:
- cider
is action-packed batteries-included environment for exploring clojure code that needs support through middleware to get all the amazing features
- inf-clojure
is minimalistic (moving text between stdin/out) and easier to work in all the clojure/clojurescript environments
As for integrating into cider, i'll leave that to someone else to answer, b/c i don't have context.
Is there is something in cider which inf-clojure lacks of?
I can answer that, inf-clojure
will never be as feature packed as cider
but my goal would be one day to have it very configurable so that you can basically hook any library/custom elisp for achieving what you wish. Of course things like completion will be provided (I have a patch for compliment but I need to refine it).
Well it is already very configurable and compliment is basically just a thin wrapper of elisp on top of what the lib returns
I took most of the code of course from cider but the original idea was to use cider functions directly
@kwcharllie379 the lumo repl is a simple socket repl so when cider will support socket repls it will be basically the same.
When that happens I think I will switch to cider as well :) however I still feel inf-clojure
gives me more control over the editor so ... dunno