Fork me on GitHub
#cider
<
2019-07-13
>
Cora (she/her)05:07:59

is there a way to have files in a project that are only loaded only in the repl?

Cora (she/her)05:07:45

like I have this

#_((require '[labyrinth.grid :as g]
            '[labyrinth.grid.export :as e]
            '[ :as ir]
            '[labyrinth.grid.binary-tree :as bt]
            '[labyrinth.grid.specs]
            '[clojure.spec.alpha :as s]))

Cora (she/her)05:07:59

and I want to throw this in a clj file somewhere but not have it part of the project

Cora (she/her)05:07:41

I suppose I can just open the file and eval the sexps

Cora (she/her)05:07:49

no need for anything special with cider

dpsutton05:07:54

if you're using leiningen this is exactly the purpose of a dev.cljs file. I've seen a few people mention they hate this and they much prefer just having traditional clojure files. Just add an extra path under an alias. > :extra-paths is used to include source paths in addition to your standard source paths, for example to include directories of test source: so make a dev folder, add it as extra paths and then just make a namespace that requries whatever you want

dmaiocchi10:07:48

HI! I was wondering, when i use cider-jack-in by default it split my frame in 2. window This is super-hand

dmaiocchi10:07:31

I was wondering if in Emacs there is a way to open my window ( the cider-repl) into a new frame

dmaiocchi10:07:05

so I can have basically my REPL session to a second screen and the codebase to a 1st monitor screen

yuhan10:07:41

(switch-to-buffer-other-frame (cider-current-repl)) should do it

dmaiocchi10:07:35

thx. I was using make-frame

dmaiocchi10:07:38

I have also a curiosity question in cider. Why do we have 2 bindings for C-x C-e and C-c C-e?

dmaiocchi10:07:41

or also for other cmd.. we have multiples bindings. I have started recently with emacs, so I might miss some historic, fondamental emacs design knowledge

dmaiocchi10:07:35

is this a CIDER design decision or it is a common way in lisp apps, and emacs ? just for curiosity.. TIA