dotenv-vscode icon indicating copy to clipboard operation
dotenv-vscode copied to clipboard

[Bug] automatically change the "files.associations"

Open stimw opened this issue 1 year ago • 1 comments

I have a .vscode/settings.json in my workspace:

// (workspace) .vscode/settings.json
{
    "files.associations": {
        "*.css": "postcss",
    },
}

but In my user settings.json, I didn't set the file associations:

// (user) settings.json
{}

Then if I enable the dotenv-vscode extension, it automatically adds file associations including "*.css": "postcss" into my user settings.json:

// (user) settings.json
{
    "files.associations": {
        "*.css": "postcss",   // this should not be auto added here
        ".env*": "dotenv",
    },
}

I have to disable this extension now

stimw avatar Feb 23 '24 13:02 stimw

I think this PR resolved the problem: https://github.com/dotenv-org/dotenv-vscode/pull/105#issue-2118492181

not sure what stops it from being merged

stimw avatar Mar 04 '24 03:03 stimw