Hi,
I am wondering if there is an option to open SublimeREPL in a new window. I develop in python and at this point when I hit ctrl+b SublimeREPL opens in a new tab. I have successfully configured it to reuse the tab based on some info I have found elsewhere, but it would be really beneficial to open it in a new window so you have both the code and the running application visible at the same time.
While this would be the ideal solution I am also interested in how to switch to the REPL tab automatically after ctrl+b AND if the tab already exists. Cause right now if I ran the code once and didnt close the tab then the code starts running in the same tab, but I have to swith to that manually.
I assume some code need to be inserted to this section of the sublimerepl.py:
for view in window.views():
if view.name() == view_id:
found = view
break
view = found or window.new_file()
EDIT: Another option would be to create a custom command in Sublime which “detaches” the right tab from the rest and by this it would “open” the running code in a new window. I know tabs can be closed automatically, I am wondering if they can be detached automatically as well.
Thanks.