nanch / phpfmt_stable

This is a stable snapshot (version 6125cf9) of the phpfmt plugin for Sublime Text
143 stars 34 forks source link

Support project settings #72

Open arcanisgk opened 4 years ago

arcanisgk commented 4 years ago

hi, any way to add configuration to the project; and work around the project directory; instead of globally?

Like this:

{
    "folders": [
    {
        "path": "Example1",
        "settings":
        {
            "php_bin": "C:/xampp/php/php.exe",
            "psr1": true,
            "psr2": false,
            "version": 4,
            "enable_auto_align": true,
            "format_on_save": false,
            "indent_with_space": true
        }
    },
    {
        "path": "Example2",
        "settings":
        {
            "php_bin": "C:/xampp/php/php.exe",
            "psr1": true,
            "psr2": true,
            "version": 4,
            "enable_auto_align": true,
            "format_on_save": true,
            "indent_with_space": false
        }
    }]
}