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
4
votes
2 answers

XAML Designer "cannot find type" when converters are in UserControl.Resources

I have a WPF UserControl with binding converters referenced like this:
Patrick Szalapski
  • 8,738
  • 11
  • 67
  • 129
4
votes
2 answers

WPF Popup permanently displays in Visual Studio design-time

I’ve met strange behaviour for WPF design-time in Visual Studio 2010: after an instance of the Popup class was created, and I switched the code tab in Visual Studio to a different file, the Popup still remains on the screen! I have a piece of code,…
infografnet
  • 3,749
  • 1
  • 35
  • 35
3
votes
1 answer

Emacs + cider: Autocomplete defprotocol methods. Possible or not?

Is it possible to have autocompletion of defprotocol methods in Emacs? An example: (defprotocol Foo (bar [this]) (baz [this]) (deftype Qux [a b c] Foo (bar [this] a) (baz [this] b)) (bar (Qux. 1 2 3)) (baz (Qux. 1 2 3)) I was looking…
BinaryButterfly
  • 18,137
  • 13
  • 50
  • 91
3
votes
2 answers

Is there an easier way to use BOTH clj + cljs REPLs at the same time from emacs/cider?

As a beginner Clojurian I may need some help trying to understand if there is any way to solve my pain points of working with Cider REPL. Context: I have a full-stack app(limunius on backend + re-agent/figwheel on frontend). I start the server from…
BinaryButterfly
  • 18,137
  • 13
  • 50
  • 91
3
votes
1 answer

jdk source code lookup in cider not working

I am using Emacs 26.3, CIDER 0.23.0 (Lima), Open JDK 11.0.5 (OpenJDK Runtime Environment Corretto-11.0.5.10.2 (build 11.0.5+10-LTS) on macOS Mojave (10.14.6). My CIDER installation works for everything that I need, but not for referencing JDK source…
Harish
  • 69
  • 1
3
votes
1 answer

CIDER with the Macchiato-Framework on Server and Browser

I'm trying to setup CIDER for a macchiato-project for the back- and frontend. lein new macchiato dumac +browser gives me quite an intricate project.clj with various profiles, among which I find :browser-dev and :dev (for the server side). Now,…
Phylax
  • 189
  • 10
3
votes
1 answer

Often seeing "REPL command timed out" in Cider with shadow-cljs and React Native. Must restart emulator to fix

I'm working with a basic ReactNative app using Emacs with Cider and ShadowCLJS. I can develop with the REPL pretty consistently but as soon as I accidentally save a file that has a syntax error in it then I lose communication to the REPL. Anything I…
Eric Ihli
  • 1,722
  • 18
  • 30
3
votes
1 answer

Superfluous scrolling in CIDER REPL when showing result

How can CIDER REPL be configured so that it only scrolls when that's necessary to show a result? By default, CIDER REPL (0.18.0) always scrolls the point to the bottom of a window when showing a result, even when there's enough space for it. I find…
egnha
  • 1,157
  • 14
  • 22
3
votes
1 answer

Calling cider-refresh shows "Don't know how to make a localized variable an alias"

I'm using Emacs 25 and CIDER 0.18.0. I'm using cider-connect to attach to a running nREPL process. After connecting, when trying to call cider-refresh, it responds with "Don't know how to make a localized variable an alias". I've tried debugging by…
Gustav Bertram
  • 14,591
  • 3
  • 40
  • 65
3
votes
0 answers

Use aliases with cider in Emacs

I am experimenting with Chromex using lein fig and lein content aliases which runs smoothly in console but in cider's environment there is a direct call (figwheel-sidecar.repl-api/start-figwheel!) in script (not using an alias), which gives errors…
Bilal Qadri
  • 131
  • 11
3
votes
1 answer

Emacs Cider Debugger locals navigation

I use Emacs with Cider to debug Clojure Code. After setting a breakpoint using the default debugging framework , there appears the list of debugging options one might execute shown in this Figure . After pressing l the local values appear in a new…
M.C.
  • 1,765
  • 3
  • 29
  • 31
3
votes
2 answers

indent configurations in emacs cider/paredit/clojure-mode

In an Emacs/Cider setup (which is build on top of clojure-mode and paredit-mode), tab stops are usually ignored. Or, say they indent just to the second symbol of an s-expression. Sometimes, e.g for larger configurations, it's desirable to indent…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
3
votes
2 answers

What is the best practice for using clojure.repl functions during interacitve development?

I often find myself typing (ns user) and pressing C+c M+n repeatedly when I work on clojure source code. The problem is that I often use functions like source and doc and they are in clojure.repl and I don't want to :require them to my namespaces.…
Adam Arold
  • 29,285
  • 22
  • 112
  • 207
3
votes
1 answer

Clojure & ClojureScript REPL (emacs + cider + boot)

The boot task boot-cljs-repl provides a way to connect to a ClojureScript REPL which interacts with a running browser instance. If properly added to the build.boot dependencies one can call the function (start-repl) from within a Clojure repl in…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
3
votes
3 answers

elisp parse output of asynchronous shell command

I have a simple elisp interactive function that I use to launch a Clojure repl. (defun boot-repl () (interactive) (shell-command "boot repl wait &")) It opens an *Async Shell Command* buffer, and after a while the following text appears :…
nha
  • 17,623
  • 13
  • 87
  • 133
1 2
3
12 13