-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double (Clojure + ClojureScript) client REPLs #1195
Conversation
Overall things are looking good.
Probably. It's possible values could simply enumerate the types of REPLs supported by piggieback. The presentation of connection info should also be augmented to show whether something is |
I like that, and I've settled on that for now. I've also added that to the Readme.
Done. I think this looking nice now. I'm gonna test it out a bit more, but this might be good to merge. |
I played around a bit and things seem to be working. |
You do have |
@Malabarba thanks for looking into this - I've thought about adding support for this in the past but never got around to actually doing it :-).
Could we have a list of '((clj "*.clj" nil)
(cljs "*.cljs" "(cemerick.piggieback/cljs-repl ...")) We would then just prompt for the session to start when invoking |
I don't quite understand what you mean.
What exactly are we going to ask the user for? Is this config going to be something in the projects themselves? |
Oh, that might be it. 😅
Good to know. I'll do that then.
I like the idea of the variable. I don't think we need to prompt the user. They can configure it as a dir local variable for the project, and if jack-in detects this variable is configured it automatically creates the specified REPLs (once the nrepl server has been started, creating REPL sessions is fast). |
Overall I think the current state is good enough to merge when the small outstanding issues are addressed. We'll continue to refine this functionality down the road. I can envision other small checks - e.g. verify Clojure is 1.7+, if you select a node repl check you have |
Done now.
Agreed. With should open an issue with the points discussed here. |
There's a failing test. |
Yeah I see it. Pushed againnow... |
Double (Clojure + ClojureScript) client REPLs
OK, the first step was made. Now it's refinement time. |
First, one needs to add these to
projec.clj
(as described on the Readme):and then invoke
M-x cider-jack-in-clojurescript
. This should create two repl buffers.