Skip to content

policy.defaultValue confusion #248581

Closed
Closed
@roblourens

Description

@roblourens

There are some policy.defaultValue which have a different value than the setting's normal default value, like the mcp one:

policy: {
name: 'ChatMCP',
minimumVersion: '1.99',
previewFeature: true,
defaultValue: false
}

Is that on purpose? Why do we do that?

Also, I think you told me that policy.defaultValue only has an effect for previewFeature: true settings, is that true? Could you add some comments to IPolicy explaining more about how thsi works so we aren't guessing and copy/pasting?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions