翻篇收录说明
翻篇网页快照

AI settings reference

https://code.visualstudio.com/docs/agents/reference/ai-settings

最近抓取:2026-12-04 07:09:46(北京时间)

最近内容变化:2026-12-01 07:20:43(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Configure AI features and agents in Visual Studio Code, including chat, agent sessions, dictation, and accessibility settings.

正文摘录

AI settings reference Copy as Markdown Copy as Markdown View as Markdown Ask in VS Code Ask in VS Code Insiders This article lists the configuration settings for the AI features and agents in Visual Studio Code. For general information about working with settings in VS Code, refer to User and workspace settings. The team is continuously working on improving the AI features in VS Code and adding new functionality. Some features are still experimental. Try them out and share your feedback in our issues. Get more info about the feature lifecycle in VS Code. Tip If you don't yet have a Copilot subscription, you can use Copilot for free by signing up for the Copilot Free plan and get a monthly allowance of inline suggestions and AI credits. Note Claude and Codex harnesses are disabled when Copilot enterprise-managed settings apply, including managed permission or sandbox settings, unless your administrator explicitly permits them. Enabling their user settings does not override that restriction. Contact the IT team that deployed the settings to discuss access. If you don't know the owner, ask your IT help desk to find the responsible administrator. Use the following links to jump to the settings for a specific area: Core AI features: general, code editing, chat, agents, agent sessions, and inline chat. Agent customization: migration, custom instructions, prompt files, custom agents, agent skills, marketplace and connectors, and agent plugins. Other AI features: code review, source control, observability, debugging, testing, notebooks, voice and dictation, and accessibility. General settings Setting and Description Default chat.commandCenter.enabled Open in VS Code Open in VS Code Insiders Controls whether to show the Chat menu in the VS Code title bar. true workbench.settings.showAISearchToggle Open in VS Code Open in VS Code Insiders Enable searching settings with AI in the Settings editor. true workbench.commandPalette.experimental.askChatLocation Open in VS Code Open in VS Code Insiders (Experimental)Controls where the Command Palette should ask chat questions. "chatView" search.searchView.semanticSearchBehavior Open in VS Code Open in VS Code Insiders (Preview)Configure when to run semantic search in the Search view: manually (default), when no text search results are found, or always. "manual" search.searchView.keywordSuggestions Open in VS Code Open in VS Code Insiders (Preview)Controls whether to show keyword suggestions in the Search view. false chat.disableAIFeatures Open in VS Code Open in VS Code Insiders Disable and hide built-in AI features in VS Code, such as chat and inline suggestions, and disable the Copilot extensions. false Code editing settings Setting and Description Default github.copilot.editor.enableCodeActions Open in VS Code Open in VS Code Insiders Controls if AI commands are shown as Code Actions when available. true github.copilot.renameSuggestions.triggerAutomatically Open in VS Code Open in VS Code Insiders Generate symbol renaming suggestions. true github.copilot.enable Open in VS Code Open in VS Code Insiders Enable or disable inline suggestions for specified languages. { "*": true, "plaintext": false, "markdown": false, "scminput": false } github.copilot.nextEditSuggestions.enabled Open in VS Code Open in VS Code Insiders Enables next edit suggestions (NES). true editor.inlineSuggest.edits.allowCodeShifting Open in VS Code Open in VS Code Insiders Configure if NES is able to shift your code to show a suggestion. "always" editor.inlineSuggest.edits.renderSideBySide Open in VS Code Open in VS Code Insiders Configure if NES can show larger suggestions side-by-side if possible, or if NES should always show larger suggestions below the relevant code. "auto" github.copilot.nextEditSuggestions.fixes Open in VS Code Open in VS Code Insiders Enable next edit suggestions based on diagnostics (squiggles). For example, missing imports. true editor.inlineSuggest.edits.showCollapsed Open in VS Code Open in VS Code Insiders Show NES code changes in the editor only when you press Tab to navigate to the suggestion or hover over the gutter arrow. false editor.inlineSuggest.fontFamily Open in VS Code Open in VS Code Insiders Configure the font family for inline completions. "default" editor.inlineSuggest.showToolbar Open in VS Code Open in VS Code Insiders Enable or disable the toolbar that appears for inline completions. "onHover" editor.inlineSuggest.minShowDelay Open in VS Code Open in VS Code Insiders Time in milliseconds to wait before showing inline suggestions. 0 Chat settings Chat experience Setting and Description Default github.copilot.chat.localeOverride Open in VS Code Open in VS Code Insiders Specify a locale for chat responses, such as en or fr. "auto" github.copilot.chat.useProjectTemplates Open in VS Code Open in VS Code Insiders Use relevant GitHub projects as starter projects when using /new. true github.copilot.chat.terminalChatLocation Open in VS Code Open in VS Code Insiders Controls where chat queries from the terminal should be opened. "chatView" chat.detectParticipant.enabled Open in VS Code Open in VS Code Insiders Control detection of deprecated chat participants in Local harness chat The Local harness is deprecated and will be removed in February 2027. Move your workflows to the Copilot harness before then. Learn more about Local harness deprecation. . Does not apply to the Copilot harness. true chat.stickyScroll.enabled Open in VS Code Open in VS Code Insiders Controls whether the current prompt is pinned to the top of the chat transcript while scrolling. true chat.editor.fontFamily Open in VS Code Open in VS Code Insiders Font family in chat codeblocks. "default" chat.editor.fontSize Open in VS Code Open in VS Code Insiders Font size in pixels in chat codeblocks. 14 chat.editor.fontWeight Open in VS Code Open in VS Code Insiders Font weight in chat codeblocks. "default" chat.editor.lineHeight Open in VS Code Open in VS Code Insiders Line height in pixels in chat codeblocks. 0 chat.editor.wordWrap Open in VS Code Open in VS Code Insiders Toggle line wrapping in chat codeblocks. "off" chat.fontFamily Open in VS Code Open in VS Code Insiders Font family for Markdown content in chat. "default" chat.fontSize Open in VS Code Open in VS Code Insiders Font size in pixels for Markdown content in chat. 13 chat.verbose Open in VS Code Open in VS Code Insiders Show request and completion timestamps in chat. Hover over a completion timestamp to show elapsed response time. true chat.persistentProgress Open in VS Code Open in VS Code Insiders (Experimental)Keep a progress indicator visible until an agent response finishes. Values are off, draw, drawMonochrome, and drawMonochromeNoIcon. "draw" chat.persistentProgressVerbosity Open in VS Code Open in VS Code Insiders (Experimental)Control reasoning and tool-call details while persistent progress is active. compact previews running tool calls and collapses completed groups, verbose keeps tool calls expanded, and conversation groups reasoning and tool calls into collapsed sections. "compact" chat.notifyWindowOnConfirmation Open in VS Code Open in VS Code Insiders Configure when to show an OS notification when user input is needed in a chat session: off to never show notifications, windowNotFocused (default) to show notifications only when the VS Code window is not focused, always to always show notifications. "windowNotFocused" chat.notifyWindowOnResponseReceived Open in VS Code Open in VS Code Insiders Configure when to show an OS notification when a chat response is received: off to never show notifications, windowNotFocused (default) to show notifications only when the VS Code window is not focused, always to always show notifications. "windowNotFocused" chat.requestQueuing.defaultAction Open in VS Code Open in VS Code Insiders Configure the default action for the Send button while a request is in progress: queue adds the message to the queue, steer signals the current request to yield. "queue" chat.math.enabled Open in VS Code Open in VS Code Insiders Enable or disable math rendering with KaTeX in chat. false chat.htmlPreview.enabled Open in VS Code Open in VS Code Insiders Render HTML previews in Agents window responses. When off, preview blocks appear as source code. false chat.nativeComponents.enabled Open in VS Code Open in VS Code Insiders (Experimental)Render native visuals, such as metrics, tables, and bar charts, in Agents window responses. When off, visual blocks appear as source code. false imageCarousel.chat.enabled Open in VS Code Open in VS Code Insiders Enable the image carousel for browsing images from chat responses. Select image pills in tool results or assistant messages to open a carousel view. true Chat editing and artifacts Setting and Description Default chat.editor.workingSet.enabled Open in VS Code Open in VS Code Insiders Editor working set is experimental and might change or be removed. Show the working set for Copilot harness sessions in the editor window, with Keep, Undo, and View All Edits controls. Turn off to show the Changes pill instead. Does not enable the working set for Claude or Codex. In the Agents window, this setting is fixed to false. true chat.artifacts.enabled Open in VS Code Open in VS Code Insiders Agent artifacts is experimental and might change or be removed. Show the artifacts panel in chat. false chat.artifacts.rules.byMimeType Open in VS Code Open in VS Code Insiders Agent artifacts is experimental and might change or be removed. Rules for extracting artifacts from tool results by MIME type pattern. Maps MIME type patterns (such as "image/*") to a group configuration. { "image/*": { "groupName": "Screenshots", "onlyShowGroup": true } } chat.artifacts.rules.byFilePath Open in VS Code Open in VS Code Insiders Agent artifacts is experimental and might change or be removed. Rules for extracting artifacts from written files by file path glob pattern. Maps glob patterns (such as "**/*plan*.md"