Sublime Forum

Try to ignore packages per project

#1

Hi.

I am trying to ignore specific packages per sublime-project, but unfortunately this won’t work as expected

The project file contains the following:

{
    "settings":
    {
        "ignored_packages": 
        [
            "Vintage",
            "EasyClangComplete",
            "SublimeLinter"
       ]
    }
}

I start sublime text with sublime_text --project .sublime-project. Also tried it without --project.

0 Likes

#2

The ignored_packages setting doesn’t work as a project setting because packages can’t be ignored per project; they can either be ignored or not ignored globally through Sublime.

1 Like

#3

There is https://packagecontrol.io/packages/Package%20Bundler, but due to what @OdatNurd said, it might not function as well as you’d like it to.

General, the resource usage of packages is quite slim and unless you have a massive amount of packages or have conflicting snippets or key bindings (for some reason), you can just leave them all enabled.

0 Likes

#4

The reason why i need this, is because i have different projects with different environments. Some plugins work for one environment but won’t for another.

A even better method would be to use project specific preferences for packages. This would be a killer feature for my daily work…

0 Likes

#5

Maybe try https://packagecontrol.io/packages/SuperSettings then. Or ask for the packages to support project-specific settings natively.

0 Likes

#6

Your link doesn’t work

0 Likes

#7

Fixed. Autocorrect was interfering quite a bit.

0 Likes