![]() ![]() I want SublimeREPL to display in a new view, instead of the same view with source code, so I need a plugin that is good at Sublime Text layout to split one window into two groups.Ģ.1 When only one Sublime Text group exists, create new one, then move REPL view into new group.Ģ.2 When there are two or more groups, just move the REPL tab to the next one.Ģ.3 When the new group contains only REPL tab, and you close that tab, the group should be destroyed too. I want SublimeREPL to take place of built-in Build System to run Python files. Calm down, Sublime Text plugins can sort things out, if they can’t, we write a new plugin. But that’s all it can give, every time you run a file a new tab is opened and code tab is overlaid, of course now you get REPL, but that’s still not cool, I also want to see source code. SublimeREPL provides REPL interpreter in Sublime Text view for many languages, so you can run current Python file interactively. How to hack this **? Well, you can try SublimeREPL. You may wonder whether input is so important, my answer is yes, especially when it comes to pdb (The Python Debugger). The Build System invokes external compiler, interpreter or project management system to run the build task, and displays the result in its result panel, however the result panel can only give running result but not take user input, which is ridiculous. When you want to run your Python scripts or a whole project, you may need Sublime’s Build System. Sublime Text avoids all those weaknesses and is equally powerful, but it does have some flaws. But P圜harm is so bloated and takes too much resources including CPU, RAM and disk, let alone its start time. In fact I’ve used Sublime Text for many years mainly as an ad-hoc and rich featured text editor, I never touched its plugins because I had powerful IDEs like P圜harm. Vim, Emacs and P圜harm are also cool, but Vim is “evil”, Emacs is too “guru”, Pycharm is so slow, I decide to bury them and move to Sublime Text. ![]() Sublime Text is super editor, it’s fast, pretty and extensible, so I use it a lot to edit any possible text files, and develop Python projects. Sublime Text rocks, but can you run Python projects interactively while using its Build System? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |