This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-06
Channels
- # aatree (1)
- # alda (9)
- # beginners (63)
- # boot (124)
- # braid-chat (8)
- # cider (44)
- # cljs-dev (44)
- # clojure (79)
- # clojure-dev (1)
- # clojure-russia (47)
- # clojurescript (105)
- # community-development (16)
- # cursive (3)
- # datavis (1)
- # datomic (54)
- # editors (10)
- # editors-rus (10)
- # emacs (18)
- # garden (1)
- # hoplon (5)
- # jobs (1)
- # ldnclj (6)
- # lein-figwheel (2)
- # luminus (1)
- # off-topic (29)
- # om (49)
- # overtone (5)
- # parinfer (12)
- # proton (2)
- # re-frame (5)
- # reagent (6)
- # ring-swagger (1)
- # slack-help (3)
- # spacemacs (1)
- # yada (42)
meaning C-c ,
will no longer run the tests - it’s C-c , t
or alternatively C-c C-t (C-) t
in 0.12 we might opt to remove the C-c ,
prefix, so get in the habit of using C-c C-t
newbie question: I'm getting a problem at the cider REPL related to changed keybindings. I've set my RET
to be paredit-newline
and now at the repl I can't execute any clojure because clicking return is bound to paredit-newline
I've now added a hook to cider-repl-mode
to change RET
back to newline
but this doesn't seem to do it? What's should I be setting it to?
nvm, changing it to cider-repl-return
seems to have done it
I have a question about running tests in cider. I used cider-test-run-tests but all it did was displaying a message at the emacs message area saying “Running tests in my.namespace-test"
What am I missing? What can I do to debug this? I’m using version cider 0.10.2.
bozhidar, I just upgraded to 0.11.0-snapshot (package: 20160206.6), but C-c C-t prefix binding is not enabled.
It’s only bound in clojure buffer but not the repl buffer.
Hello, I'm receiving an error when I jack in to cider. I have searched the web and tried a few things mainly involving adding a few lines to my ~/.lein/profile.clj but I still haven't found a cure. Any help will be greatly appreciated. ; CIDER 0.11.0alpha (package: 20160206.6) (Java 1.8.0_72, Clojure 1.7.0, nREPL 0.2.10) WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (0.9.1). Things will break! user>
in my lein profile? This is the current state of my .lein/profiles.clj: {:user {:plugins [[lein-pprint "1.1.1"]] :dependencies [[slamhound "1.3.1"]]}} {:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]] :plugins [[cider/cider-nrepl "0.10.2"]]}}
also should I upgrade. I think there are newer versions out there than what I am using?
Now I have: {:user {:plugins [[lein-pprint "1.1.1"]] :dependencies [[slamhound "1.3.1"]]}} {:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]] :plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]]}} look good?
Now I'm receiving these errors: ; CIDER 0.11.0alpha (package: 20160206.6) (Java 1.8.0_72, Clojure 1.7.0, nREPL 0.2.10) WARNING: CIDER requires nREPL 0.2.12 (or newer) to work properly WARNING: The following required nREPL ops are not supported: apropos classpath complete eldoc format-code format-edn info inspect-pop inspect-push inspect-refresh macroexpand ns-list ns-vars ns-path refresh resource stacktrace toggle-trace-var toggle-trace-ns undef Please, install (or update) cider-nrepl 0.11.0-SNAPSHOT and restart CIDER WARNING: CIDER's version (0.11.0-snapshot) does not match cider-nrepl's version (not installed). Things will break! user>
@kyle_schmidt: your repl profile is probably not getting picked up, it needs to be in the same map as your user profile
thanks @anmonteiro! Now my ~/.lein/profiles.clj looks like this: {:user {:plugins [[lein-pprint "1.1.1"]] :dependencies [[slamhound "1.3.1"]]} {:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]] :plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]]}}}
but now my cider repl wont start
that's not what I said
try this:
{:user {:plugins [[lein-pprint "1.1.1"]]
:dependencies [[slamhound "1.3.1"]]}
:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]
:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]]}}
ah gotcha
you basically had a syntax error, maps need to have even forms
brilliant! it worked, thanks!
I'm having trouble quitting an infinite loop at the cider repl. I can stop infinite loops which don't print anything with C-c C-b
, but whenever some infinite loop keeps printing to the repl I have to stop it in the activity monitor
is there a way that I can do it inside emacs?
@anmonteiro it's a little tricky. A loop that prints infinitely hangs both the JVM and Emacs
So you need to quickly C-g a few times to unhang Emacs, and then C-c C-b to abort the JVM loop
@malabarba: thanks, I'll remember to try that next time
I understand that it might get tricky
that's expected
clj-refactor 2.0.0 is out: https://groups.google.com/forum/#!msg/clojure/lyf67WJWhR8/nP1zpMzHAgAJ