PayloadKit

Visual Studio Code

com.microsoft.VSCode

Visual Studio Code settings

macOS

Configuration Keys (30)

Showing 30 of 30 keys

KeyTypeDescriptionDefaultRange

Update Mode

stringControls whether VS Code automatically updates when a new version is released.Default: "default"Range: Disable Both Automatic and Manual Checks (none), Disable Automatic Checks (manual), Enable Automatic Check on Startup (start), Enable Automatic Periodic Checks (default)

Allowed Extensions

stringControls which extensions can be installed. The value of this policy is a JSON string that contains the allowed extensions.Default: —Range: —

Extension Gallery Service URL

stringConfigure the Marketplace service URL to connect to.Default: —Range: —

Telemetry Level

stringControls the level of telemetry data.Default: "all"Range: All - sends usage data, errors, and crash reports. (all), Error - sends general error telemetry and crash reports. (error), Crash - sends OS level crash reports. (crash), Off - disables all product telemetry. (off)

Enable Feedback

booleanControls feedback mechanisms, such as the issue reporter and surveys.Default: trueRange: —

Enable Chat Agent Extension Tools

booleanEnable using tools contributed by third-party extensions.Default: trueRange: —

Enable Chat Agent Mode

booleanEnable agent mode for chat. When this is enabled, agent mode can be activated via the dropdown in the view.Default: trueRange: —
ChatMCPstring

Chat MCP

stringControls access to installed Model Context Protocol servers.Default: "all"Range: No access to MCP servers. (none), Allows access to MCP servers installed from the registry that VS Code is connected to. (registry), Allow access to any installed MCP server. (all)

Enable Chat Prompt Files

booleanEnables reusable prompt and instruction files in Chat sessions.Default: trueRange: —

Enable Chat Tools Auto Approve

booleanGlobal auto approve also known as "YOLO mode" disables manual approval completely for all tools in all workspaces, allowing the agent to act fully autonomously. This is extremely dangerous and is *never* recommended, even containerized environments like Codespaces and Dev Containers have user keys forwarded into the container that could be compromised. This feature disables critical security protections and makes it much easier for an attacker to compromise the machine.Default: falseRange: —

Browser Chat Tools

booleanWhen enabled, chat agents can use browser tools to open and interact with pages in the Integrated Browser.Default: trueRange: —

Chat Agent Allowed Network Domains

stringAllowed domains for network access by agent tools (fetch tool, integrated browser). Applies when #chat.agent.networkFilter# or #chat.agent.sandbox.enabled# is enabled. When #chat.agent.sandbox.enabled# is set to allowNetwork, all domains are allowed. Supports wildcards like *.example.com. When both allowed and denied lists are empty, all domains are blocked. Denied domains (see #chat.agent.deniedNetworkDomains#) take precedence.Default: —Range: —

Chat Agent Denied Network Domains

stringDenied domains for network access by agent tools (fetch tool, integrated browser). Applies when #chat.agent.networkFilter# or #chat.agent.sandbox.enabled# is enabled. This does not apply when #chat.agent.sandbox.enabled# is set to allowNetwork. Takes precedence over #chat.agent.allowedNetworkDomains#. Supports wildcards like *.example.com.Default: —Range: —

Chat Agent Network Filter

booleanWhen enabled, network access by agent tools (fetch tool, integrated browser) is restricted according to #chat.agent.allowedNetworkDomains# and #chat.agent.deniedNetworkDomains#. Domain filtering is also applied to those tools when #chat.agent.sandbox.enabled# is enabled.Default: falseRange: —

Chat Approved Account Organizations

stringSetting this policy to a non-empty list activates the Approved Account gate: all AI features are disabled until the user signs into a GitHub account whose organizations intersect this list AND the account-side policy data has resolved. Comparison is case-insensitive. Use '*' as a wildcard to accept any signed-in GitHub or GHE account (use this for GHE deployments where the organization list is not surfaced).Default: —Range: —
ChatHooksboolean

Chat Hooks

booleanControls whether chat hooks are executed at strategic points during an agent's workflow. Hooks are loaded from the files configured in #chat.hookFilesLocations#.Default: trueRange: —

Chat Plugins Enabled

booleanEnable agent plugin integration in chat.Default: trueRange: —

Chat Tools Eligible For Auto Approval

stringControls which tools are eligible for automatic approval. Tools set to 'false' will always present a confirmation and will never offer the option to auto-approve. The default behavior (or setting a tool to 'true') may result in the tool offering auto-approval options.Default: —Range: —

Chat Agent Sandbox Allow Auto Approve

booleanControls whether agent mode terminal commands that run inside the sandbox are auto-approved. When disabled, the run in terminal tool uses the existing approval flow. This applies only when #chat.agent.sandbox.enabled# is enabled.Default: trueRange: —

Chat Agent Sandbox Allow Unsandboxed Commands

booleanControls whether agent mode terminal commands can run outside the sandbox after user confirmation when a sandboxed command fails or when sandbox restrictions would block the command. This applies only when #chat.agent.sandbox.enabled# is enabled.Default: trueRange: —

Chat Agent Sandbox Auto Approve Unsandboxed Commands

booleanControls whether agent mode terminal commands that run outside the sandbox are auto-approved. This applies only when both #chat.agent.sandbox.enabled# and #chat.agent.sandbox.allowUnsandboxedCommands# are enabled.Default: falseRange: —

Chat Agent Sandbox Enabled

stringControls whether agent mode terminal commands that run outside the sandbox are auto-approved. This applies only when both #chat.agent.sandbox.enabled# and #chat.agent.sandbox.allowUnsandboxedCommands# are enabled.Default: "off"Range: Disable sandboxing for agent mode tools. (off), Enable sandboxing for agent mode tools. (on), Enable sandboxing for agent mode tools and allow all network domains. (allowNetwork)

Chat Tools Terminal Enable Auto Approve

booleanControls whether to allow auto approval in the run in terminal tool.Default: trueRange: —

MCP Gallery Service URL

stringConfigure the MCP Gallery service URL to connect to.Default: —Range: —

Claude Third-party Integration

booleanEnable Claude Agent sessions in VS Code. Start and resume agentic coding sessions powered by Anthropic Claude Agent SDK directly in the editor. Uses your existing Copilot subscription.Default: trueRange: —

Copilot Next Edit Suggestions

booleanWhether to enable next edit suggestions (NES). NES can propose a next edit based on your recent changes.Default: trueRange: —

Copilot Review Agent

booleanEnables the code review agent.Default: trueRange: —

Copilot Review Selection

booleanEnables code review on current selection.Default: trueRange: —

Copilot Session Sync

booleanEnable session sync to GitHub.com for cross-device Copilot session history. When disabled by organization policy, session data is kept local only.Default: falseRange: —

Deprecated Edit Mode Hidden

booleanWhen enabled, hides the Edit mode from the chat mode picker.Default: trueRange: —