This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-12
Channels
- # announcements (4)
- # asami (3)
- # babashka (18)
- # babashka-sci-dev (2)
- # beginners (55)
- # calva (18)
- # clj-commons (23)
- # clj-kondo (2)
- # cljfx (7)
- # cljs-dev (15)
- # clojure (96)
- # clojure-europe (43)
- # clojure-losangeles (3)
- # clojure-nl (2)
- # clojure-uk (11)
- # clojurescript (1)
- # datalevin (2)
- # datomic (10)
- # events (1)
- # google-cloud (4)
- # gratitude (16)
- # helix (3)
- # hyperfiddle (63)
- # inf-clojure (13)
- # introduce-yourself (4)
- # ipfs (2)
- # jobs (2)
- # jobs-discuss (12)
- # leiningen (7)
- # lsp (15)
- # off-topic (38)
- # polylith (24)
- # portal (27)
- # remote-jobs (8)
- # sci (27)
- # spacemacs (5)
- # specter (1)
- # sql (5)
- # xtdb (41)
What do you guys think would be a good approach for resolving the prompt duplication and occasional request printing for things like completions and argslists while there's a process already running?
I'm exploring the idea of using separate front and back end repls but I don't know if it's realistic
I wish I could use lsp but my company has a huge monorepo and performance isn't good enough
oh bummer. are you using a socket repl? I think that leads to far fewer phantom prompts
We use nrepl so I was trying to set up an nrepl with tty transport but the https://github.com/nrepl/nrepl/issues/182 was killing that approach. I tried a few nights to fix it but I'm new to reader details and haven't figured out a solution. I also tried to use repl-y and nrepl.cmdline via clojure cli to connect to our standard nrepl but was having classpath issues when in our project's directory. When outside of the project I could connect to a project nrepl so I tried making inf-clojure change directory before invoking clojure but it was exiting immediately. Then I resorted to just running a https://clojuredocs.org/clojure.main/repl which has so far been great aside from phantom prompts. I'll give another shot to lsp mode and see what I can turn off and how that might help.
they use nrepl but you can just start up a socket repl right? if you can hit nrepl you can hit a socket repl.
i’m not following “when outside of the project i could connect to a project nrepl so i tried making inf-clojure change directory before invoking clojure”. inf-clojure doesn’t have to run anything. just start a socket repl and connect to it with inf-clojure-connect
. i don’t understand why you would need to change directories at all. just start the process from the correct directory in the first place in the terminal