This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-01
Channels
- # beginners (121)
- # boot (12)
- # cider (14)
- # clara (19)
- # cljsjs (1)
- # clojure (124)
- # clojure-italy (4)
- # clojure-nl (2)
- # clojure-russia (47)
- # clojure-spec (20)
- # clojure-uk (7)
- # clojurescript (102)
- # cursive (16)
- # datomic (10)
- # emacs (2)
- # events (2)
- # immutant (3)
- # luminus (5)
- # lumo (33)
- # off-topic (2)
- # om (5)
- # onyx (22)
- # parinfer (1)
- # pedestal (32)
- # protorepl (1)
- # re-frame (6)
- # reagent (2)
- # ring-swagger (2)
- # rum (1)
- # spacemacs (8)
- # specter (17)
- # yada (1)
@eggsyntax I am going to suggest e ;
as a keybinding for cider-eval-defun-to-comment
in a pull request, as I use that a lot. The keybinding from CIDER is C-c M-;
so it seems a reasonable Spacemacs keybinding
@jr0cket cool. So what do you typically use it for? So far I've been finding it a bit less handy than I initially thought.
live coding demos, coding dojos and pair programming - and just so I dont need to remember what other parts of the code should do 🙂
I tend to create a lot of REPL driven development code in the namespace, to explore what things do...
or if I am trying to figure out some code
The former three make tons of sense, hadn't considered contexts where you want to demo something to someone who's watching. The latter hasn't been so much, for me -- seems like the comment is mostly only useful if it's a pretty static bit of code. & in the REPL I tend to just eval & let the result print.
I tend to use it less when I know whats going on 🙂
I've created a pull request to add the keybinding for cider-eval-defun-to-comment
here: https://github.com/syl20bnr/spacemacs/pull/8838