Closed gseastream closed 3 years ago
Thanks for the fixes. Regarding the opening a RELP if one already exsits, I think that a new REPL should open in another tab. This would mimic the behavior or SublimeREPL.
Also, I think we should default to Python syntax in the REPL rather than plaintext. This would also be the same behavior as SublimeREPL.
Another thing is that the Packages
portion of the syntax selection should be a part of the path in the file. That way the user only needs to write Text/Plain text.tmLanguage
or Python/Python.tmLanguage
. Or, you could simply let the user chose plaintext
or python
and select the corresponding syntax accordingly.
I noticed another bug. If you have a file open and repl open on the bottom row from a previous session, when opening a new file, the file opens in the second row. It should open in the first row.
Thanks for the notes. For your last comment, I think that's default sublime behavior. When I have a repl open, if my focus is on the main file and I open a new file, it shows up in the top row, but if I open a file while my focus is in the bottom row repl, the file opens in the bottom row. Sublime opens files in the group where your focus is I'm pretty sure. Is this what you're experiencing? Or are you saying it opens new files in the second row no matter where your focus is?
You're right, it's based on focus so don't worry about it. :)
Thanks for taking the time to make the changes. One last thing I forgot to mention is that the new repl settings in the settings file should come after the pythonw setting. As we add new settings they appear last in the file.
Thanks @gseastream for all your work on this!
Summary
Sorry for the second pull request. I just discovered a bug and some other opportunities for improvements, so I wanted to get some changes in. Everything is mainly about when and how to close tabs.
Changes