I would like ST to offer more customization power inside projects. By searching the forum I’ve noticed that this topic comes up quite often, so there seems to be a general need for this.
From what I understand, currently you can only rely on the *.sublime-project
file to customize how ST should handle a specific project; but in real-life usage ST users would benefit from a broader customizable spectrum.
For example, snippets. Some snippets might be useful in a project but interfere in others, so having a way to confine snippets to a single project would be really cool. For example, I have tons of snippets for a given syntax, but they fall into different groups according to locale (Italian vs English), and when I’m working on a English project I have to remove the Italian snippets folder for ST package folder otherwise they clutter up the working session — and viceversa, when working with Italian I have to remove the English snippets folder.
The ideal solution would probably be via introduction of specially named folders which can be placed inside a project tree (eg .sublime
) which ST would then load only when that project is active. This folder should be treated just like the packages folder, thus allowing any valid ST configurations to be loaded and override base settings.
From what I’ve read in the technical answers, it seems that there are some problems with this as ST has some code handle plugins, etc. which is shared by all running instances of ST.
I hope a solution could be found to this, eg. by changing the way ST instances work when in “project modality”, thus allowing to have highly customizable projects. I think this would be a great improvement not only in terms of how users could organize their personal work, but also in terms of community shared projects — eg. over Git.
Just think, how nice would it be to clone a project from GitHub and find that when you open it in ST you find that it also provides snippets, completions, commands and other project-specific useful stuff?
Any chances this might happen at some point in the future? Or would it require too much rewriting in ST core and it’s therefore never going to happpen?