This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-01
Channels
- # beginners (28)
- # cider (39)
- # cljs-dev (2)
- # cljsjs (1)
- # clojure (67)
- # clojure-conj (1)
- # clojure-dev (103)
- # clojure-gamedev (3)
- # clojure-uk (2)
- # clojurescript (46)
- # data-science (7)
- # datascript (1)
- # fulcro (5)
- # lein-figwheel (2)
- # mount (2)
- # off-topic (55)
- # portkey (7)
- # protorepl (11)
- # re-frame (45)
- # reagent (21)
- # shadow-cljs (34)
- # tools-deps (3)
- # vim (8)
- # yada (1)
@theeternalpulse I’ll take a look.
@theeternalpulse Fixed. There was a missing car
right before the split-string
. Sorry about that.
Btw, I hope to release CIDER 0.17 in the next couple of weeks, so if you’d like to get some patches in or help with some testing of the current master
branch - now would be a great time to do so. 🙂
@bozhidar can you point me at how cider provides a list of all vars for use? https://github.com/clojure-emacs/cider-nrepl/blob/1168991da4b1c9221246196653372fce5013aeb6/src/cider/nrepl/middleware/ns.clj seems like the obvious answer, but it only provides either vars by ns, or vars by name. I'm thinking of something I could pass into a fuzzy finder.
the apropos namespace is using some hand-rolled version of info
, so I can probably "fix" it by doing what I did to stacktrace
https://clojure.org/guides/repl/basic_usage talks about
dir
I was also looking for a command in emacs cider for this but settled on just putting the namespace then hitting tab.
autocomplete shows what I was looking for - didn't check if it was exactly equivalent to
dir
Sorry I just talking out loud - not much to contribute. Just that I was looking for this too.
The spacemacs feature I was a bit confused about was helm-imenu, it apparently uses a regex to search open files only. Maybe I will PR to cider to add a live version of this which works across all namespaces 🙂
Hi all, debugger question. I've been using the debugger in spacemacs with no issues for the past several months. However I've switched to a very simplified emacs configuration and I cannot get the debugger to work. When I run C-u C-M-x
on a form only the first result is evaluated and the debugger freezes; cannot step through the function, quit, etc. Same happens if I manually add the #dbg
statement to the function. No errors that I can see; just won't work. Never had this issue before. What am I missing? ...sadly I've become way too dependent on that feature to work without it! thx!!
I want cider to load the :dev
lein profile on jack in. How do I do that?
IIRC, you can C-u C-c M-j
and then customize the arguments to Leiningen.
Actually, nevermind! It’s being loaded, but a problem up the chain caused to think otherwise.
> @bozhidar can you point me at how cider provides a list of all vars for use? https://github.com/clojure-emacs/cider-nrepl/blob/1168991da4b1c9221246196653372fce5013aeb6/src/cider/nrepl/middleware/ns.clj seems like the obvious answer, but it only provides either vars by ns, or vars by name. I’m thinking of something I could pass into a fuzzy finder. You’ve basically have the right idea. There’s nothing currently that just dumps all the vars (except compliment). There was some old ticket where we were discussing some fuzzy matching for vars. Let me find it.
Basically we never agreed on what the UI for this should be, so we never implemented something in the middleware. As many commands operate on both java classes and vars dumping thousands of candidates seemed like a problematic solution. 🙂
^ this (ab)uses apropos to pull it off. Apropos needs a vim hand over it to hard-code in the file/line/column of all the vars it returns. A little difficult at the moment as info is still in cider-nrepl, and not orchard.
It’s not exactly an abuse, because we tweaked apropos to support this, but yeah - that’s one way of approaching the problem.
Moving the info stuff to orchard should be easy, now that most of the code is there anyways. I’ve stopped worked on this for now, but I plan to return to this eventually (and hope someone will beat me and help with that 😄 ).