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)
When I open a new file called foo_test.clj
cider inserts a template namespace at the top - is there anyway to customise that?
@cichli @bozhidar just remembered inf-clojure, which works smoothly enough with Planck
@bozhidar: any particular reason you’ve bound eval-last-sexp
to C-c C-e
in inf-clojure, when it’s C-x C-e
in Cider?
@rickmoynihan that's not cider, it's clj-refactor
malabarba: thanks
@rickmoynihan: you can switch this off, see https://github.com/clojure-emacs/clj-refactor.el/wiki#automatic-insertion-of-namespace-declaration
@benedek: but no way to customize the template without using something else...
seems to use cljr--add-test-use-declarations
Emacs has a mode for this @benedek @slipset .it's called auto-insert-mode. Perhaps clojure-mode should use that. It has some template stuff, so we wouldn't reinvent the wheel.