Fork me on GitHub
#protorepl
<
2018-02-27
>
ben.mumford15:02:22

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

sparkofreason15:02:50

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.

justinlee16:02:51

@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)

sparkofreason17:02:58

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

justinlee17:02:04

@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

justinlee17:02:52

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

justinlee17:02:42

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

sparkofreason17:02:27

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

sparkofreason17:02:58

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.

justinlee17:02:08

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