Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 24 21:00
    dpsutton commented #2634
  • Aug 24 14:47

    bbatsov on master

    Extend a bit the history page (compare)

  • Aug 24 08:09

    bbatsov on master

    Move a footnote where it belongs (compare)

  • Aug 24 06:57

    bbatsov on master

    Bump the required cider-nrepl v… (compare)

  • Aug 23 16:51
    dpsutton synchronize #2606
  • Aug 22 11:09
    endrebak commented #1621
  • Aug 22 06:33

    bbatsov on master

    Improve instructions for updati… (compare)

  • Aug 21 20:14

    bbatsov on master

    Fix a couple of broken links to… (compare)

  • Aug 21 10:03

    bbatsov on master

    Don't disable cider-mode until … (compare)

  • Aug 20 15:28
    stale[bot] unlabeled #1817
  • Aug 20 15:28
    Malabarba commented #1817
  • Aug 20 13:18
    stale[bot] labeled #1666
  • Aug 20 13:18
    stale[bot] commented #1666
  • Aug 20 12:05
    wandersoncferreira commented #2663
  • Aug 20 05:39
    bbatsov commented #2692
  • Aug 20 05:38
    bbatsov closed #2657
  • Aug 20 05:38
    bbatsov commented #2657
  • Aug 20 05:38
    bbatsov commented #2689
  • Aug 20 05:37

    bbatsov on master

    Optionally specify a callback t… Optionally specify a done-handl… Fix checkdoc and 1 more (compare)

  • Aug 20 05:37
    bbatsov closed #2689
Tim
@timofeytt
@Malabarba I was wondering where (run) and (cljs-repl) are defined, but now that I've found it inside generated code of the project. It's simpler that I thought. Thank you.
P.S.: It's not my SO question.
Alexander Yakushev
@alexander-yakushev
Hey folks. CIDER used to render asynchronous errors from core.async in the nrepl-server buffer, now it doesn't. Am I missing something?
Alexander Yakushev
@alexander-yakushev
Sorry, my bad.
Adam Faraj
@adamfaraj
Anyone here?
feng lee
@87260280
@ShionAt 👍!
Lispre
@Lispre
happy new year, everyone
Dimitri Fedorov
@ai212983
i'm not sure if you're aware of this, but current build is broken. my spacemacs fails to download latest release from melpa
Shion
@ShionAt
Please allow me to show ShionKeys again
Alex Stokes
@ralexstokes
is there any way to have the buffer-overlay pretty-print?
Neil Okamoto
@gonewest818
No. You pretty-print to a popup, or insert a pretty-printed comment into the current buffer.
Alex Stokes
@ralexstokes
how would i do the latter?
Neil Okamoto
@gonewest818
cider-pprint-eval-last-sexp (C-c C-p) : Evaluate the form preceding point and pretty-print the result in a popup buffer. If invoked with a prefix argument, insert the result into the current buffer as a comment.
Alex Stokes
@ralexstokes
thanks!
Neil Okamoto
@gonewest818
In other words, with the prefix argument would be C-u C-c C-p
no problem!
Alexander Yakushev
@alexander-yakushev
Hey, can anyone help? I'm trying cider-test machinery for the first time, and cider-test-run-loaded-tests furiously opens all of my test files in Emacs. Can I prevent that?
Aleksander Sumowski
@aleksandersumowski
Hi everyone,
when I'm evaluating a piece of code from my project the resulting var gets put in the namespace where its defined. Is there any way to have it defined in the current repl namespace?
Aleksander Sumowski
@aleksandersumowski
I was looking for cider-send-last-sexp-to-repl
dtenny
@dtenny
Hi all. I recently upgraded cider after being a year or two stale in revision level (hey, it worked so well!). However the new emacs cider 0.16.0 revision has two problems for me. (1) Often the source code traversal is very slow when the nrepl is up. For example it can take seconds to start scrolling upward after jumping to end of file. (2) I thought perhaps things might be getter worse as my cider/repl session had been up for a while so was going to try to clear the whole cider buffer with C-c M-o, only the option to clear the buffer appears not to exist any more. Is there a way to do clear the whole cider buffer? I didn't find one after poking around for a bit.
Note that I'm talking about clojure source code traversal, not traversal of the nrepl buffer. I was only trying to clear that in case it was sucking computes as it has been known to do for large print representations and such.
dtenny
@dtenny
testing testing, is this thing on?
Neil Okamoto
@gonewest818
You may get more responses in the Clojurians Slack, specifically the #cider channel. I happen to be working on a feature to avoid long lines of output in the repl (which would eliminate the slowdown problem) but in all my testing I have never seen excessive output lines in the repl affect interactions in other buffers.
The hangs occur specifically in the repl buffer itself.
Also yes, there is a way to clear the entire repl buffer, but I’m blanking on the exact command and it’s a holiday so I’m not at my laptop.
Sean Murphy
@SeanFullstack
Hi, I hope you are well. I have a Clojure 6 month contract just come available in London up to £650 per day - please get intouch urgently if you are open to such a contract - sean@fullstack.london
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)