protorepl

ben.mumford 2018-02-27T15:16:22.000150Z

what are people's experiences of atom/proto-repl against vscode/clojureVSCode

sparkofreason 2018-02-27T15:56:50.000899Z

Anybody using proto-repl with shadow-cljs? shadow-cljs doesn't write the nREPL port to .nrepl-port, but rather to a folder inside target (which I actually prefer over leaving droppings in my project folder). I can connect manually by opening that file and copy/pasting the port number, but it would be nice if it just auto-filled. I don't see a proto-repl setting to specify where to grab the port of a running nREPL process, wondering if anyone has a less manual solution.

justinlee 2018-02-27T16:59:51.000834Z

@dave.dixon i was talking with @thheller about that very problem. we talked about maybe having shadow write to .nrepl-port if something else hadn’t already written there. he wants to make sure shadow plays nice with lein and lein really owns that file. i haven’t figured out a way to perma-set the port so i do it manually (also annoying that the box that pops up doesn’t let you tab)

sparkofreason 2018-02-27T17:00:58.000331Z

I take it you haven't had any luck with this either: https://shadow-cljs.github.io/docs/UsersGuide.html#nREPL

justinlee 2018-02-27T17:01:04.000241Z

@ben.mumford620 I played with vscode a bit this week. i’m sticking with atom for the moment because someone (perhaps @dave.dixon) convinced me to try out “smart mode” with parinfer and that’s not yet available on vscode

justinlee 2018-02-27T17:01:52.000505Z

that works for me. the problem is configuring the protorepl side

justinlee 2018-02-27T17:02:42.000475Z

actually the real problem is that it just doesn’t really work very well with cljs

sparkofreason 2018-02-27T17:04:27.000673Z

Just got it to work. I usually connect with ctrl-alt-, y and manually enter the port number.

sparkofreason 2018-02-27T17:04:58.000478Z

Would be nice if it were automatic, but now that I have it set to a static value at least I don't have to hunt down the file and copy/paste.

justinlee 2018-02-27T17:06:08.000564Z

yea that’s certainly better. now, if i were more knowledgable I would help trying to get the cljs/protorepl connection working better but that’s for another day