I'm writing a SLY plugin for ST4, and I was wondering how I should go about spawning a REPL from my plugin. My plugin will maintain the connexion to the socket and I can easily prepare a REPL object as specified, my question is then how can I intiate a new REPL and pass that object.
I see that I could simply import sublimerepl and then manually manage the REPLView myself, but I wanted to see if there was a more proper solution.
I'm writing a SLY plugin for ST4, and I was wondering how I should go about spawning a REPL from my plugin. My plugin will maintain the connexion to the socket and I can easily prepare a
REPL
object as specified, my question is then how can I intiate a new REPL and pass that object.I see that I could simply
import sublimerepl
and then manually manage theREPLView
myself, but I wanted to see if there was a more proper solution.