I've installed JSMinifier via Sublime Text 2's package manager and I'd like to set the compiler settings for a specific project.
I can find how to set package specific settings, and I know how to do project specific settings, but is there any way to set project specific package settings?
Changing Preferences. Open the Sublime Text default settings file: Mac OS X: Sublime Text 2 > Preferences > Settings - Default. Windows: Preferences > Settings - Default. Linux: Preferences > Settings - Default.
In general, you should place your settings in Packages/User/Preferences. sublime-settings. If you want to specify settings for a certain file type, for example, Python, you should place them in Packages/User/Python. sublime-settings.
Here's why – Sublime Text 3 brings some major benefits compared to version 2: Most plugins have caught up and are built on top of ST3 now. If you check in Package Control, there are more ST3 packages today than there are ST2 packages. Sublime Text 2 development has stopped while Sublime Text 3 is in active development.
Try out ProjectSpecific package from PackageControl. I just have added support for project specific package settings.
Assume you want to turn on "console_log" for scope_hunter.sublime-settings for only current project, then (after installing ProjectSpecific), add following lines to your .sublime-project file:
{
...
"settings": {
"project-specific": {
"sublime-settings": {
"scope_hunter": {
"console_log": true
}
}
}
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With