Questions tagged [cider]

CIDER is an Emacs package for interactive Clojure development.

From its GitHub README.md:

CIDER (formerly nrepl.el) is the Clojure Interactive Development Environment that Rocks for Emacs, built on top of nREPL, the Clojure networked REPL server.

References

195 questions
1
vote
0 answers

why isn't nREPL server logging info level messages?

From Clojure project directory, M-x cider-jack-in starts the nREPL server and the Cider REPL. in the latter: (clojure.tools.logging/info "hello") does not output anything in the server buffer, but (clojure.tools.logging/warn "hello") does. am i…
nymo
  • 532
  • 1
  • 5
  • 14
1
vote
2 answers

Why BENCODE has been used for transporting clojure code to nrepl in CIDER?

Why can't we simply convert Clojure code to string and send it over TCP and evaluate on the other side(nrepl)? For example : This is a hashmap {"foo" "bar", 1 "spam"} whose BENCODE encoding is d3:foo3:bari1e4:spame. If we convert it to string ->…
1
vote
0 answers

Spacemacs test runner

How can I get the Spacemacs test runner to work? It doesn't fail to run according to the messages buffer. It simply doesn't show the test report buffer and I have no idea what command to use to get it to show. I thought it was hidden in my buffers…
Clarice Bouwer
  • 3,631
  • 3
  • 32
  • 55
1
vote
1 answer

How do you go back to the last evaluated expression in CIDER's nREPL in Emacs?

One thing I really love about using the Lein nREPL is that I can just go to the last evaluated Clojure expression by pressing the up-arrow key. Is there anyway to do something similar in the CIDER nREPL?
TomLisankie
  • 3,785
  • 7
  • 28
  • 32
1
vote
1 answer

Is there a keyboard bindable command for reset layout in visual studio 2010 cider designer?

I'm using the Visual Studio 2010 WPF designer to lay out a window, and the Reset Layout function is proving very useful whenever I move something around as the designer defaults to specifying widths, heights, and massive margins to get it into…
Ben
  • 734
  • 5
  • 13
1
vote
0 answers

Cider-connect to already running REPL with figwheel

I'm trying to cider-connect to an already running repl, launched by the following: lein trampoline with-profile more-figwheel figwheel app test. That will launch and run my figwheel application with no problem. The problem arise when I try to…
user9312456
1
vote
1 answer

Can't start figwheel REPL inside Cider in emacs

I am using cider with figwheel , to start cider i use cider-jack-in-clj&cljs and choose figwheel I can see clj cider gets started and then cljs but cljs cider can't connect to emacs. However I can connect my application to cljs cider but emacs…
anish
  • 1,035
  • 4
  • 13
  • 27
1
vote
1 answer

Clojure with boot-clj and Emacs - minimal application

How to get to run a minimal Clojure app with boot-clj and Emacs? I installed the Boot application and ran boot -h twice. Then I got this s@Lux:~$ boot -V #http://boot-clj.com #Mon Feb 04 00:23:28 CET…
trzczy
  • 1,325
  • 2
  • 18
  • 43
1
vote
2 answers

current session error opening REPL in emacs with CIDER

I've been following a tutorial and hit an error where there wasn't one in the book. I have reinstalled leinigen, updated java and reinstalled cider on emacs. But doesn't seem to help and I can't find this error message online. Running M-x…
1
vote
1 answer

use cider debugging inside a deftest

I'd like to debug my test when it is run by CIDER: (let [test-system (atom (new-test-system))] (some-setup-code) (deftest my-test ;uses test-system in here) As you see, my tests are wrapped in a let, which gets debugged as normal: I can hit c…
0atman
  • 3,298
  • 4
  • 30
  • 46
1
vote
0 answers

Failure to Jack-in with spacemacs

I can run a repll and connect but when I try to Jack in I get the following error (shown in debug) - I am using emacs 26.1 on Mojave. I tried reinstalling spacemacs and updating clojure Debugger entered--Lisp error: (error "Could not start nREPL…
tbrooke
  • 2,137
  • 2
  • 17
  • 25
1
vote
0 answers

Using the CIDER debugger with Integrant

I'm using integrant in my application, and have code like such: (defmethod ig/init-key :handler [_ {:keys [magic]}] (fn [req] (magic req))) I've tried various ways to instrument the inner function for debugging with cider, but cannot seem to…
daaku
  • 2,797
  • 20
  • 20
1
vote
1 answer

Python REPL just like in Clojure

How can I access Python REPL just like in Clojure Emacs' plugin Cider? I am interested in interacting with the working program. Or even hot reload. Please advise.
user10432611
1
vote
1 answer

How to run tests defined in attr map of defn in cider?

Using Cider in Spacemacs, I can't seem to find a way to run tests that are defined in the attribute map of defn. Take this function definition for example: (defn contains-duplicates-a? "checks if a vector of strings contain duplicates" {:test…
Morgan
  • 325
  • 3
  • 8
1
vote
1 answer

Macro expansion fails to compile even though it expands correctly?

As practice I wanted to implement some of the macros described in Doug Hoytes "Let over Lambda" which I've read a while ago. When I started to play around with anaphoric macros I ran into a weird problem. I've implemented the alet macro described in…