Sublime Text uses JSON configuration files almost for everything.
While it is not bad, it is not good at all!
Let me show you a few examples:
-
I wished to set the default ANSI encoding to CP1251 (Cyrillic).
To do it in other editors (e.g. jEdit, Notepad++, AkelPad), I just open the configuration dialog - and select the desired encoding.
To do it in Sublime Text, I have to edit “Preferences.sublime-settings” manually without knowing of what exactly to modify.
OK, there is an option “fallback_encoding”. But what are the possible values of it? I still have no idea what values are acceptable if I want to set some other encoding. Where can I find this information? -
I wished to change the background color of the selected text.
To do it in other editors (e.g. jEdit, Notepad++, AkelPad), I just open the color configuration dialog - and pick a color I want.
To do it in Sublime Text, I have to pass all the circles of hell…
In short, I had to figure out the conception of sublime-package. E.g. the default color theme is a file “Monokai.sublime-color-scheme” inside “Packages/Color Scheme - Default.sublime-package” that is a zip-archive in fact. Then I had to modify this sublime-color-scheme file manually (as a text file) to get the colors I wanted, while the colors were defined in an anusual way (HSL format) inside of that file…
Guys, do I really need to know all of this to simply change a color??? -
I wished to customize Sublime Text’s project file.
OK, the Sublime Text’s project file is a very handy feature that is almost unique.
But when I click “Edit Project” I see an almost empty file without any clue of what can be added there.
The page http://www.sublimetext.com/docs/3/projects.html is pretty useful - but hey, it is so unbelievably hardcore to type all of this manually…
For example, I needed several unsuccessful attempts until I understood that multiple file extension patterns must be specified as a list of separate strings e.g. “file_exclude_patterns”: ["*.map", “*.obj”, “*.pdb”]
Why the project file does not initially contain some commented out example lines similarly to as the “Preferences.sublime-settings” does?
These are just a few examples, and all of them make me wonder:
Why there is no UI to configure these things?
Why there is no (context-sensitive) offline help available as a part of Sublime Text?