Visual Studio Code
com.microsoft.VSCode
Visual Studio Code settings
Configuration Keys (30)
Showing 30 of 30 keys
| Key | Type | Description | Default | Range |
|---|---|---|---|---|
UpdateModestringUpdate Mode | string | Controls 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) |
AllowedExtensionsstringAllowed Extensions | string | Controls 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 | string | Configure the Marketplace service URL to connect to. | Default: — | Range: — |
TelemetryLevelstringTelemetry Level | string | Controls 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) |
EnableFeedbackbooleanEnable Feedback | boolean | Controls feedback mechanisms, such as the issue reporter and surveys. | Default: true | Range: — |
ChatAgentExtensionToolsbooleanEnable Chat Agent Extension Tools | boolean | Enable using tools contributed by third-party extensions. | Default: true | Range: — |
ChatAgentModebooleanEnable Chat Agent Mode | boolean | Enable agent mode for chat. When this is enabled, agent mode can be activated via the dropdown in the view. | Default: true | Range: — |
ChatMCPstringChat MCP | string | Controls 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) |
ChatPromptFilesbooleanEnable Chat Prompt Files | boolean | Enables reusable prompt and instruction files in Chat sessions. | Default: true | Range: — |
ChatToolsAutoApprovebooleanEnable Chat Tools Auto Approve | boolean | Global 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: false | Range: — |
BrowserChatToolsbooleanBrowser Chat Tools | boolean | When enabled, chat agents can use browser tools to open and interact with pages in the Integrated Browser. | Default: true | Range: — |
Chat Agent Allowed Network Domains | string | Allowed 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 | string | Denied 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: — |
ChatAgentNetworkFilterbooleanChat Agent Network Filter | boolean | When 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: false | Range: — |
Chat Approved Account Organizations | string | Setting 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: — |
ChatHooksbooleanChat Hooks | boolean | Controls whether chat hooks are executed at strategic points during an agent's workflow. Hooks are loaded from the files configured in #chat.hookFilesLocations#. | Default: true | Range: — |
ChatPluginsEnabledbooleanChat Plugins Enabled | boolean | Enable agent plugin integration in chat. | Default: true | Range: — |
Chat Tools Eligible For Auto Approval | string | Controls 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 | boolean | Controls 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: true | Range: — |
Chat Agent Sandbox Allow Unsandboxed Commands | boolean | Controls 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: true | Range: — |
Chat Agent Sandbox Auto Approve Unsandboxed Commands | boolean | Controls 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: false | Range: — |
ChatAgentSandboxEnabledstringChat Agent Sandbox Enabled | string | Controls 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 | boolean | Controls whether to allow auto approval in the run in terminal tool. | Default: true | Range: — |
McpGalleryServiceUrlstringMCP Gallery Service URL | string | Configure the MCP Gallery service URL to connect to. | Default: — | Range: — |
Claude3PIntegrationbooleanClaude Third-party Integration | boolean | Enable 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: true | Range: — |
CopilotNextEditSuggestionsbooleanCopilot Next Edit Suggestions | boolean | Whether to enable next edit suggestions (NES). NES can propose a next edit based on your recent changes. | Default: true | Range: — |
CopilotReviewAgentbooleanCopilot Review Agent | boolean | Enables the code review agent. | Default: true | Range: — |
CopilotReviewSelectionbooleanCopilot Review Selection | boolean | Enables code review on current selection. | Default: true | Range: — |
CopilotSessionSyncbooleanCopilot Session Sync | boolean | Enable session sync to GitHub.com for cross-device Copilot session history. When disabled by organization policy, session data is kept local only. | Default: false | Range: — |
DeprecatedEditModeHiddenbooleanDeprecated Edit Mode Hidden | boolean | When enabled, hides the Edit mode from the chat mode picker. | Default: true | Range: — |