EDIT: Question is about Sublime 3. Edited title for clarity.
I have a couple of projects that require me to connect through SSH. This is fine except that SublimeLinter-php and GitGutter execute extremely slowly over SSH.
Obviously, I can manually enable/disable as needed; but that appears to require restarting Sublime every time I switch between a local project and an SSH project.
I'm probably dreaming here, but ideally, there would be a way for me to enable/disable packages on a project-by-project basis, but I have not found any way to do this.
Is this possible or not? If possible, how do I do it?
In a .sublime-project
file there are three main keys: folders, settings, and build systems. You should be able to add a "settings"
section like so (remember that the files are JSON-formatted):
{
"folders":
[
{
"follow_symlinks": true,
"path": "/path/to/my/folder"
}
],
"settings":
{
"ignored_packages":
[
"Vintage",
"SublimeLinter-php",
"GitGutter"
]
}
}
You should be able to add any item found in Preferences -> Settings-Default
(or Settings-User
, for that matter) to the "settings"
array. For complete documentation on .sublime-project
files, check out the Sublime website.
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