This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-13
Channels
- # announcements (34)
- # aws (1)
- # beginners (99)
- # boot (19)
- # calva (26)
- # cider (24)
- # cljdoc (8)
- # cljs-dev (29)
- # clojure (107)
- # clojure-dev (3)
- # clojure-europe (12)
- # clojure-finland (1)
- # clojure-italy (24)
- # clojure-nl (5)
- # clojure-spec (13)
- # clojure-sweden (3)
- # clojure-uk (36)
- # clojurescript (4)
- # community-development (14)
- # cursive (3)
- # data-science (6)
- # datascript (57)
- # figwheel-main (3)
- # fulcro (9)
- # graalvm (11)
- # hoplon (18)
- # jobs (1)
- # jobs-discuss (2)
- # joker (10)
- # leiningen (13)
- # off-topic (23)
- # other-languages (1)
- # pathom (24)
- # pedestal (5)
- # re-frame (6)
- # reagent (45)
- # reitit (3)
- # rewrite-clj (1)
- # spacemacs (2)
- # sql (23)
- # tools-deps (6)
- # vim (5)
I don’t have that machine available at the moment, but I updated all my melpa packages as one of my first troubleshooting steps, so I have whatever version was latest yesterday.
@bozhidar thinking about AST based solutions vs REPL loaded code solutions for finding references and the like and caching. I know we cache the AST in refactor-nrepl
but we could cache results for operations instead. they would still go stale but would be more effective maybe with a smaller footprint. also thinking about used locals for a given form: perhaps building the ast for the enclosing first level form is a small enough task so you don’t need the cache at all
For small scale operations I’d just build the AST on the fly. I’d probably also build the AST client-side with parseclj.
i still need to properly dig into that. my only worry would be that we loose the editor agnostic nature
Not to mention that this opens up the possibility to do a lot of things with clojure-mode without a REPL connection.
what does it take for me to "link" a clj buffer to a particular cider repl?
back in the day I could eval things in random clojure buffers and it'd run in whatever cider repl happened to be running, and I'd like to get some of that behavior back I think now it wants to only associate things in the same project
I got a Wrong type argument: stringp, nil
😂
okay now I'm ready to throw out my old clojure config I think
> back in the day I could eval things in random clojure buffers and it’d run in whatever cider repl happened to be running, and I’d like to get some of that behavior back
Yeah, currently connections are always associated with some (usually project) context so it’s easier to deal with multiple projects. We’ll likely relax this down the road for the case of a single connection.
yeah it seems like a sensible direction to go
okay, I cleared basically all of my clojure emacs cfg and still get Wrong type argument: stringp, nil
for M-x sesman-link-with-project
trying sesman-link-with-directory
but I'm not sure how to use it
I try to enter the directory where I launched the cider repl, and the minibuffer says [No match]