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
3
votes
1 answer

Clojure code hotreloading feature

I'm trying to setup my environment based on EMACS+CIDER for clojure development, btw I got stuck with functionality of hot-reloading I've seen in this video at 6:20-6:25 timing. http://www.parens-of-the-dead.com/e1.html Actually, author is not using…
Rustem
  • 2,884
  • 1
  • 17
  • 32
3
votes
1 answer

How to update cider in 'brave clojure' bootstrapped emacs

I have (except for some additions such as company-mode my emacs 24.5 configured as recommended in the chapter of clojure for the brave and true. Unfortunately I ran into a problem where I tried to work through some alice in wonderland clojure katas…
heyarne
  • 1,127
  • 9
  • 33
3
votes
2 answers

print output of execution in cider repl

I am wondering if there is a way to have the output of the current execution in emacs cider when using cider-connect. For instance : I run lein repl on a project directory then connect to it in emacs using cider-connect. Now let's say that I have…
nha
  • 17,623
  • 13
  • 87
  • 133
3
votes
0 answers

How to upgrade clojure nrepl 0.2.6 to 0.2.7

I have just installed Cider from melpa which has version 0.9.0 SNAPSHOT and nREpL 0.2.6. This more or less works once I used the profile suggested in this answer. However, this does not appear to work as the nrepl version is 0.2.6 still. Here is my…
David Hodge
  • 269
  • 1
  • 7
3
votes
2 answers

clojure: profiles.clj not getting honored in some projects when using cider

I'm facing the same issue that is mentioned in the last comment in https://stackoverflow.com/a/25401281/4329629 (by Yu Shen) I don't know why adding :plugins [[cider/cider-nrepl "0.7.0"]] at ~/.lein/profiles.clj does not work. But the same…
Pradnyesh Sawant
  • 524
  • 5
  • 12
3
votes
1 answer

Automatically load clojure libraries on cider connection

I constantly find myself doing multiple manual (require '[my.lib :as foo]) right after I start cider with M-x cider-jack-in in my clojure projects. I suspect there must be a hook to run some code on a successful connection. Is there? The alternative…
kliron
  • 4,383
  • 4
  • 31
  • 47
3
votes
1 answer

How can i find all the references for a clojure symbol in emacs?

I'm trying to do the same thing that you can accomplish in java + eclipse, that's "find all references for a function or variable". And you end up with the results of an eclipse search, listing all the matches for this symbol in all workspace or…
tangrammer
  • 3,041
  • 17
  • 24
2
votes
1 answer

Why does my Attached Property show in Blend designer but not in VS2010?

I have an attached property and I am registering it with the designer using a design-time assembly. I am using the AttachedPropertyBrowsableForTypeAttribute so that the property will be shown when a TextBox is selected. The property shows up fine in…
2
votes
1 answer

Although CIDER works without projects and the Clojure project is successfully built, why I can't bring both things together?

I have a Clojure/ClojureScript project that I am able to build locally. The project is built with the following command: Pedros-MacBook-Air:balance pedro$ shadow-cljs watch app shadow-cljs - config:…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
2
votes
1 answer

cider-connect-clj cannot connect to nrepl.server/start-server

A) I'm having a problem where Cider can't cider-connect-clj (or cider-connect-cljs) to an nREPL server I launch in my application code. Cursive also doesn't work. It must be a simple configuration or middleware that needs to be included. But I've…
Nutritioustim
  • 2,686
  • 4
  • 32
  • 57
2
votes
3 answers

DOOM emacs Move Cider REPL windows vertical

I'd like to ask how to move cider repl in DOOM, from horizontal (screenshot below) to vertical? been trying many menus shortcut but still horizontal. Thanks you so much enter image description here
2
votes
1 answer

Emacs + Cider: Show all autocomplete options without typing first letters

I'm trying to understand whether I'm not using cider properly or that's how it works and I have to get used to it. Steps to reproduce: Load the following ns/file/buffer into a running cider repl: (ns app.domain) (defn my-func []) Switch to another…
BinaryButterfly
  • 18,137
  • 13
  • 50
  • 91
2
votes
2 answers

Opening leiningen project in emacs/cider raises classpath error

I'm learning Clojure with 'Clojure for the Brave and True' book and use emacs, cider and leiningen. I've created a project. lein new app the-divine-cheese-code Then I've added to source files to the…
Alex
  • 185
  • 7
2
votes
2 answers

'cider-jack-in' run clojure instead leiningen without a clojure project

I tried to execute 'cider-jack-in' from emacs without a Clojure project that I simply want to run Clojure REPL. But I've found that cider is trying to run /usr/local/bin/clojure instead /usr/local/bin/lein which don't refer my profiles.clj for…
Seonho
  • 53
  • 1
  • 1
  • 9
2
votes
1 answer

Cider for emacs Stdin:

What combination of keys do I need to press in order to end the input process when I'm in this state? I've input a few lines and hit enter. Now I want it to evaluate the function and show the contents of 'input'.
supernova
  • 88
  • 7