Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 27 14:03
    jr0cket commented #2751
  • Mar 27 11:02
    yuhan0 synchronize #2826
  • Mar 27 09:48
    bbatsov commented #2826
  • Mar 27 09:17
    yuhan0 synchronize #2826
  • Mar 27 09:12
    yuhan0 edited #2826
  • Mar 27 09:11
    yuhan0 edited #2826
  • Mar 27 09:09
    yuhan0 edited #2826
  • Mar 27 09:09
    yuhan0 edited #2826
  • Mar 27 09:09
    yuhan0 opened #2826
  • Mar 26 15:12

    bbatsov on master

    [Docs] Expand the docs on nREPL… (compare)

  • Mar 26 01:29
    dgr opened #2825
  • Mar 26 01:19
    dgr commented #2784
  • Mar 26 01:14
    dgr closed #2778
  • Mar 26 01:14
    dgr commented #2778
  • Mar 24 09:43

    bbatsov on master

    Check whether cider-nrepl is pr… (compare)

  • Mar 24 08:59

    bbatsov on master

    Mention prepl in the FAQ (compare)

  • Mar 23 12:04
    jr0cket commented #2819
  • Mar 23 11:59
    jr0cket commented #2819
  • Mar 23 10:03
    CanftIn commented #2809
  • Mar 23 05:34
    CanftIn commented #2809
Rob Culliton
@rcullito
is there a way to programmatically trigger a "return" keystroke via emacs lisp when using the nrepl in cider? I am inserting some text via a command in my .emacs config, and would like to submit it for evaluation automatically
Rob Culliton
@rcullito
ah cider-repl-return
C-h m worked quite well here. Rock on cider :thumbsup:
280Sloppy
@280Sloppy
Hi, M-x cider-jack-in returns "The lein executable isn’t on your ‘exec-path’". Why is that?
NightMachinary
@NightMachinary
CIDER doesn’t resolve symbols in non-core namespace for me. I have sent the namespace to REPL. Anything else I should have done?
NightMachinary
@NightMachinary
The problem was with Spacemacs’ latest update.
Gittekken
@Gittekken
Hi im using spacemacs. Does anyone have problems with syncing project with the repl. nRepl is fine nRepl establishes a connection but "cljr cider [not connected]"?
SATYAM RAMAWAT
@satyamramawat
Hello Everyone, I need bit urgent help from you all.
I want to read all function name from .clj file and make a list of it.
Sean Allred
@vermiculus
An Elisp list?
André Peric Tavares
@Andre0991
Is there an easy way of creating a command for making cider evaluate the bindings inside a let as global? Like, if there's (let [b1 c1] ,,,), I want to move the point to let and make it evaluate (def b1 c1), making them available in the current namespace - this will make interactive debugging easier. It's like https://github.com/vvvvalvalval/scope-capture, but more straightforward
Blake Miller
@blak3mill3r

@Andre0991 that's a good idea... and thanks for pointing out scope-capture which I am going to try out for this purpose. IMHO the easiest thing to do is probably to use scope-capture (if it works) and then make some emacs automation around that. What spyscope does is provide tagged literals to make it very easy to mark a form (whereas scope-capture gives you a macro and you wrap the form). If you add a tagged literal that wraps the next form in that macro, and then make an emacs hotkey that does something like

(defun cider-scope-capture-at-point ()
    (interactive)
    (save-excursion
      (insert "#scope/capture\n")
      (next-line)
      (next-line)
      (cider-eval-defun-at-point)))

Then you can move your point to the start of a form and hit a hotkey bound to that fn.

Jussi Räsänen
@jrasanen
Hi! If I install new dependencies to project.clj, how can I reload repl so it finds the new libraries?
yuhan0
@yuhan0
Does anyone know a good way of using orchestra's defn-spec macro together with cider debugging tools? cider-debug-defun-at-point only works when I manually macroexpand it and extract the defn form.
James Elliott
@brunchboy
Whoops, I finally figured out that the reason I was no longer getting good error reporting in CIDER was because it doesn’t work yet with the latest Clojure 1.10 builds, so I have rolled back to Clojure 1.9.0 until that can be fixed. But it seems like there has been a recent CIDER change too, it no longer asks me for confirmation before killing a session with C-c C-q, is that configurable somewhere?
Abelrahman essam shehab el-deen
@abdo2017
hello everyone
James Elliott
@brunchboy
Hello, this place seems to have gone very quiet. :)
Ben Sless
@bsless
Hi all, I'm having issues with jump-to-definition for java functions. I looked over some closed issues regarding this issue and it should just work ootb, but even for internal java stuff like java.util.UUID/randomUUID it doesn't work. How do I go about figuring it out / debugging and solving it?
Tobias Heinlein
@niontrix
Hi everyone! I'm fairly new to clojure / clojurescript and am currently reading "Learning ClojureScript".
I tried to follow the book to get cider to work with a browser repl, but I can't get it to work. I also tried to use the leiningen figwheel and figwheel-main templates. That got me a step further, but if I use figwheel as the ClojureScript repl type it only get me a "STDIN:" prompt in the minibuffer. In there I can interact with the repl in the browser but for instance sending a sexp to the repl from a buffer in emacs (using cider-send-last-sexp-to-rpl) does not work.
If I try with the figwheel-main template the website gets opened in my browser but in the cider-repl buffer the last line is "Opening URL http://localhost:9500" and nothing happens after that. Also in my modeline in emacs it always says "cider [not connected]".
Can anybody show me the way to get a ClojureScript repl to work with cider and emacs??
matrixbot
@matrixbot
bendlas Tobias Heinlein (Gitter): https://github.com/bhauman/figwheel-template might be helpful
M4rkD
@M4rkD
Hi All, I'm new to cider, and I'm getting used to the debugger. One thing that would be very nice, is if I could pause the debugger at a point. Write some new code in the buffer, and evaluate that code in the current (debugger) context. The problem with this is that CIDER hijacks some keys (e.g. i, h, o, e etc) - so typing new forms/expressions isn't possible. Is there a way to pause this overlay somehow so that I can write and evaluate code in the current context?
Cassiel-girl
@Cassiel-girl
how to just show headline until tags searched position when search using ctrl c / sparse tree?
I don't want to show headline level below tags searched.
Juraj Martinka
@jumarko
Just a helpful reminder that anybody in this chatroom is likely to get a much faster and better response on Clojurians slack (#cider channel)
Witoslaw Koczewski
@witek
Hi. I am using Spacemacs (develop branch). After jacking in, evaluation and completion works fine. But I am missing refactoring commands. I have activated clj-refactor in my .spacemacs. It seams there is a bug in Spacemacs develop. Any suggestions where to look for the problem?
Witoslaw Koczewski
@witek
I have discovered that clj-refactor is working. Just the integration in the spacemacs menu is broken.
setzer22
@setzer22

Hi! I'm having a very strange issue with cider. I'm developing a docker application, and during development, I spawn a repl using leingen inside the container, map the port to the host, and connect from my emacs using cider-connect. When launching my containers normally, this works without issue. However, when I use an alternative deployment method called docker-swarm, I get a "Sync nREPL request timed out" error right after attempting a cider-connect.

On a terminal in the same machine emacs is running on, I can run LEIN_REPL_PORT=1234 lein repl :connect, and this connects to the repl inside the container just fine (assuming it's running on port 1234). This makes me thing cider may be at fault here. But I can't think of anything that may be different between a plain lein :connect and what cider does internally that would cause the second to time out.

Any ideas?

Felipe Gonçalves Marques
@felipegmarques

Hello! I'm using spacemacs and recently, I have being seen the following error:
"Error building classpath. Could not transfer artifact refactor-nrepl:refactor-nrepl:jar:2.5.0-20191224.082108-5 from/to clojars (https://repo.clojars.org/): Range Not Satisfiable (416)"

The command being runned to start the repl is:
/usr/local/bin/clojure -A:dev -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"} refactor-nrepl {:mvn/version "2.5.0-SNAPSHOT"} cider/cider-nrepl {:mvn/version "0.23.0-SNAPSHOT"}}}' -m nrepl.cmdline --middleware '["refactor-nrepl.middleware/wrap-refactor", "cider.nrepl/cider-middleware"]'

Setting cider-inject-dependencies to nil solve it. But it removes the refactor capabilities.
When changing the version with universal argument, it works.

Does any one have any idea how to solve this?
Is there a way to specify the version of this packages for cider?

Thanks!