Closed titus-ong closed 4 years ago
Thanks for the PR! I will test it this weekend and let you know how it goes.
Hey @mandeep, was wondering if there were any issues you faced for this and the other PR?
@titus-ong I haven't had a chance to review the PRs yet. Hopefully I can get to them today.
@titus-ong thanks for your contribution. I pushed a view small changes to your branch that should fix some issues. Great work!
Thanks for the changes, wasn't aware of that.
SublimeREPL unfortunately doesn't work with Conda environments in a simple manner - you'd have to create a new build or constantly change the interpreter for different environments. I added an "Open REPL" command (mostly taken from stackoverflow and edited to fit the Conda context) - the command uses the interpreter of the active environment and opens a REPL window for the currently opened file.
It's quite simple but I think it'll be useful. Ideally, I would like the REPL to be reusable i.e. if you run the command repeatedly for the same environment, the same REPL window is updated, but currently a new window is opened each time. It seemed that the way SublimeREPL achieved that was in a rather complicated way though, so I'll see if I can implement that in the future.