5 ms·
This is a common misconception about ST2. The editor is actually written in C++, but exposes a Python API for plugins.
by wbond 15y ago
This is a common misconception about ST2. The editor is actually written in C++, but exposes a Python API for plugins.
- durandal1 15y agoFair enough, I was just speculating on why it feels clunky and misplaced on OSX.
- frou_dh 15y agoHow's it clunky? Java GUIs are alien and clunky. ST2 is just alien (and could be a lot worse).
- applicative 15y agoThe dependence on Python for configuration is for me a decisive objection. My copy of Textmate has little scripts buried all over it in several languages but with Sublime Text I am completely frozen out, or so it seems.
- wbond 15y agoActually, Python isn't used for configuration at all, just for writing plugins. JSON is the configuration language. You can even change the menus in the app by editing the Main.sublime-menu. The reason Python is used for the API is because the editor is cross-platform, and Python is the best choice for such a situation. If you want to run other scripts or programs, you can use the python subprocess module. If there is something you are looking to tweak, http://sublimetext.info/docs/en/ http://sublimetext.info/docs/en/ has a lot of good info, and the forum (http://www.sublimetext.com/forum/ http://www.sublimetext.com/forum/) tends to be a pretty good place to ask questions.
- applicative 15y agoYes, exactly, what are called plugins in Sublime Text jargon can only be written in Python. Thus for example, the illustrations of things you can do with the exciting plugin facility -- duplicating the selected text, or encoding the selected text with rot13 -- involve composing things in Python, of all things, else you are completely disabled.