Skip to content

"toggleSettings" doesn't seem to work with objects #71

@joachimgit

Description

@joachimgit

This :

...
    "files.exclude": {
        ".*": true
    },
    "commands.commands": {
        "Toggle hidden files": {
            "command": "commands.toggleSetting",
            "args": {
                "setting": "files.exclude",
                "value": [
                    {
                        ".*": true
                    },
                    {
                        ".*": false
                    }
                ],
            }
        }
    },

doesn't work as intended. The setting is not changed.
However, using the command as set/reset with only one value works as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions