clojureVSCode
clojureVSCode copied to clipboard
Reconnect to a new nRepl
Sometimes it is necessary to restart the nrepl. It would be convenient to drop the current connection and reconnect. Presently, it seems like a VSCode "Reload Window" does the trick. If that is the best approach then an update to the documentation would be nice.
This is related to #37.
With #40, you can now disconnect and connect again to a running nREPL. Not sure if it's good enough.
We can:
- Leave it like it is and when someone wants to reconnect, they disconnect first and connect again;
- Expose a new
Clojure: Reconnect to nREPL
command. It will disconnect from a running nREPL and ask for parameters again; - Add new logic to the existing
Clojure: Connect to a running nREPL
command and if the user is already connected to a nREPL, it will ask if they want to reconnect.
@phreed @avli I'm not sure what is the best option here. Is there anything else we could do?