Sublime Forum

Package settings per project

#1

Hey,

Should I be able to create package specific settings per project? I’m running phpfmt on some projects and don’t want it to run across all of them though (some of my projects are PHP PSR2 ready).

At the moment I’ve got:

[code]{
“folders”:

    {
        "path": "."
    }
],
"phpfmt": {
    "version": 2,
    "psr1":false,
    "psr2":false,
    "indent_with_space":false,
}

}
[/code]

In the project settings but this doesn’t seem to make any difference, even when ST3 is restarted. Can anyone shed any light on this.

1 Like

How to change package-settings on a project basis?
#2

There’s no per package or per syntax settings in project, only global settings :

sublimetext.com/docs/3/projects.html

0 Likes

#3

I have exactly the same situation. I want to enable automatic reformatting for my Rust project. Enabling automatic reformatting globally will corrupt other projects that do not use rustfmt formatter. Is there a way to override package setting in project setting file yet? It is very useful feature and would really love to see it implemented.

1 Like

#4

some packages will read settings from the project, but as far as I know there is no global solution yet

0 Likes

Any way to set PHPFMT Setting per project; with diferent psr and passes??? V4