Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 28 23:39
    stale[bot] labeled #1775
  • Feb 28 23:39
    stale[bot] commented #1775
  • Feb 28 13:39
    stale[bot] labeled #2740
  • Feb 28 13:39
    stale[bot] commented #2740
  • Feb 28 03:03
    dpsutton commented #2812
  • Feb 28 02:59
    dpsutton commented #2812
  • Feb 28 00:09
    Quezion opened #2812
  • Feb 27 20:39
    stale[bot] labeled #2760
  • Feb 27 20:39
    stale[bot] commented #2760
  • Feb 27 14:17
    bbatsov closed #2811
  • Feb 27 14:15

    bbatsov on master

    Fix refcard URL (#2811) (compare)

  • Feb 27 14:10
    tvirolai synchronize #2811
  • Feb 27 13:34
    tvirolai opened #2811
  • Feb 27 12:36
    stathissideris commented #2617
  • Feb 27 12:34
    stathissideris commented #2617
  • Feb 27 07:18
    suvratapte commented #2810
  • Feb 27 06:45
    bbatsov commented #2800
  • Feb 27 06:45

    bbatsov on master

    Add force-out support (#2800) … (compare)

  • Feb 27 06:45
    bbatsov closed #2800
  • Feb 27 06:44
    bbatsov synchronize #2800
NightMachinary
@NightMachinary
Pressing c-h in Company completions says no docs are available, while using cider-doc works. Any idea why?
James Elliott
@brunchboy
Hmm. After the latest CIDER upgrade, trying to jack in fails with: Error loading refactor-nrepl.middleware: java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/misc__init.class or cider/nrepl/middleware/util/misc.clj on classpath., compiling:(refactor_nrepl/middleware.clj:1:1) Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: refactor-nrepl.middleware/wrap-refactor in this context, compiling:(/private/var/folders/fg/1tzg0xt88v5bp20059blypr00000gq/T/form-init7039836408815040552.clj:1:9942)
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!