Skip to content

Allow the user to specify if an extension can be trusted for the current workspace #252113

Open
@adriancuadrado

Description

@adriancuadrado

I'd like to have a "workspaces" property that I can use to specify which workspaces I want this extension to be enabled for. This property may support glob patterns. If you want this extension enabled for all workspaces you'd put an asterisk.

This is what the setting currently looks like:

{
  // ...
  "extensions.supportUntrustedWorkspaces": {
    "github.copilot": {
      "supported": true,
      "version": "1.336.0",
    },
    "github.copilot-chat": {
      "supported": true,
      "version": "0.28.1"
    },
  }
}

And with this feature request implemented it would look like this:

{
  // ...
  "extensions.supportUntrustedWorkspaces": {
    "github.copilot": {
      "supported": {
        "/some/path/to/workspace": true
      },
      "version": "1.336.0"
    },
    "github.copilot-chat": {
      "supported": {
        "*": true
      },
      "version": "0.28.1",
    }
  }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions