加拿大用什么货币| 立克次体病是什么意思| 农历五月二十一是什么星座| 抗体阳性什么意思| 拿什么证明分居两年| 软开是什么| 一米阳光是什么意思| 宝贝是什么意思| 小孩下面痒用什么药| 东北和山东有什么区别| 一个斤一个页念什么| 牙疼吃什么食物能缓解| 吃什么可以去湿气| 什么是中性洗涤剂| 夏天为什么不能喝中药| 蜂胶有什么作用和功效| 杰字属于五行属什么| 挂妇科门诊都检查什么| 黑话是什么意思| 星期一右眼皮跳是什么预兆| 图腾是什么意思| suvmax是什么意思| 花心大萝卜是什么意思| 驻颜是什么意思| 肛门周围潮湿瘙痒是什么原因| 挂失补办身份证需要什么| 择偶标准是什么意思| 桐字属于五行属什么| 胃寒吃什么食物暖胃| 四大名著是什么| 天秤座什么性格| icp是什么意思| 梦见抬死人是什么意思| 2004属什么| 湿罗音是什么意思| hz是什么意思| 为什么脸突然肿了| 香港迪士尼什么时候开业的| 孕早期生气对胎儿有什么影响| 轻微脑震荡有什么表现| 双签是什么意思| 茉莉花有什么功效| 立加羽念什么| bliss是什么意思| 阴毛有什么用| 什么能代替润滑油| 脚上起水泡是什么原因| 屁股流血是什么原因| bk病毒是什么| 补牙属于口腔什么科| 什么叫克隆| 什么字寓意好| 没有奶水怎么办吃什么能下奶| 万宝龙皮带算什么档次| 踏实是什么意思| 语迟则人贵是什么意思| 先兆临产是什么意思| 什么叫绿茶| 牛气冲天是什么生肖| 鱼石脂是什么| 5月有什么节日| 玉髓是什么| 7月15是什么星座的| 男人阴囊潮湿吃什么药| 增强免疫力打什么针| 孕妇便秘吃什么| 猪咳嗽用什么药好得快| 吃什么皮肤会变白| 低头族是什么意思| 11月15日什么星座| 发膜什么牌子效果最好| 芍药花什么时候开花| 14楼五行属什么| 胎停有什么症状| 做梦车丢了有什么预兆| 面部脂溢性皮炎用什么药| 呼吸困难胸闷气短挂什么科| fk是什么意思| 2 26是什么意思| smt什么意思| 给男人补身体煲什么汤| 葡萄什么时候成熟| 肝脏低密度影是什么意思| 肚子有虫吃什么药| 大兴安岭属于什么市| 农历闰月有什么规律| 眼睛充血用什么眼药水好| 宫颈炎有什么症状| 地藏菩萨的坐骑是什么| 瘢痕子宫什么意思| 为什么减肥不建议喝粥| 胃痛呕吐什么原因| 牙齿冷热都疼是什么原因| 为什么拉的屎是黑色的| 打板是什么意思| 什么是手卫生| 心电图是什么科室| 做免疫组化意味什么| 什么水果补气血| 梭织是什么意思| 女人吃葛根粉有什么好处| 梦见放烟花是什么征兆| 身份证最后一位x是什么意思| 党参有什么作用| 舌头干涩是什么病前兆| 娘子啊哈是什么歌| 嘴巴干苦是什么原因| 胃痛胃胀什么原因引起的| 胳膊上种花是什么疫苗| 电销是什么| 荆棘是什么植物| 幼小衔接班是什么意思| 任性妄为是什么意思| 尿潜血十一是什么意思| 土茯苓与茯苓有什么区别| 十二指肠溃疡a1期什么意思| 4月19号是什么星座| 什么食物含叶酸| 荔枝适合什么地方种植| 沦丧是什么意思| 刚怀孕有什么特征| 朋友过生日送什么好| 糖尿病早餐吃什么好| 为什么大拇指只有两节| 手麻脚麻是什么病| 鸽子和什么一起炖汤最有营养| 1946年中国发生了什么| 蛇胆是什么| 潜叶蝇打什么药效果好| 头晕是为什么| 连翘败毒丸的功效与作用是什么| 吃海带有什么好处| 621什么星座| 开水烫伤用什么药膏好得快| 属马跟什么属相犯冲| 男性硬下疳是什么样子| 形体是什么意思| 一个金字旁一个本念什么| 娃娃亲是什么| 小腹胀胀的是什么原因| 1953年是什么年| 看病人带什么水果| 急性心肌炎有什么症状| 挑灯夜战是什么意思| 为什么不孕不育| 水命中什么水命最好| 腹泻能吃什么| 尿尿泡沫多是什么原因| 吸毒是什么感觉| 粘土是什么土| 吸血鬼初拥是什么意思| 56年属什么生肖| 4月29号是什么星座的| 怂人是什么意思| 农历六月六是什么日子| 降维打击是什么意思| 腾字五行属什么| 丢钱是什么预兆| 寂寞难耐是什么意思| 黄柏泡水喝有什么功效| 验尿能检查出什么| 月结是什么意思| 雅诗兰黛是什么档次| 因势利导什么意思| zara是什么牌子| 6月是什么月| 总是口腔溃疡是什么原因| 感觉牙齿松动是什么原因| 保和丸有什么功效| 福星贵人是什么意思| 肾功能不好吃什么药调理| 胸腔积液叩诊什么音| 孕妇什么时候有奶水| 螃蟹和什么不能一起吃| 精液是什么颜色的| 未亡人什么意思| 2.4号是什么星座| 心不在焉是什么意思| 梅长苏结局是什么| 做t是什么意思| 洋葱和什么不能一起吃| 脚掌发红是什么原因| 体位性低血压是什么| 脖子里面有结节是什么病| 检查肠道挂什么科| 咳嗽有痰是什么原因| 什么是肛漏| 什么是激素类药物| dm是什么| 烫伤挂什么科室| 加鸡腿什么意思| 揣测是什么意思| 喝冰水牙疼是什么原因| 硒有什么功效和作用| 寅时是什么时间| ipada1474是什么型号| 小孩拉稀吃什么药| 鸡壳是什么| 7月14号是什么星座| 拔牙后能吃什么东西| 湿热吃什么食物好得快| 杏仁吃了有什么好处| 青光眼是什么| 念珠菌用什么药最好| 世界上最长的英语单词是什么| 424是什么意思| 江诗丹顿是什么档次| 脸大适合什么发型| 梦见财神爷是什么预兆| n是什么牌子| 佟丽娅是什么民族| 南瓜子不能和什么一起吃| 千年杀是什么| 什么是甘油三酯| 韧带损伤挂什么科| 膝关节退行性改变是什么意思| 尿生化是查什么的| 首长是什么级别| 大家闺秀是什么生肖| 咳嗽有痰吃什么药好得最快最有效| 肛门痛是什么原因| 反胃恶心吃什么药| pr医学上是什么意思| 什么水果能马上通便| 佛法的真谛是什么| 2003年是什么命| 外围是什么意思| 公务员国考和省考有什么区别| 联名款是什么意思| 孩子长个子吃什么有利于长高| ieg是什么意思| 制片人是干什么的| 阑尾炎是什么引起的| 勃而不坚吃什么药| 什么是七杀命格| 甲类传染病指什么| 上证指数是什么意思| 茱萸是什么东西| 吊销驾驶证是什么意思| trab是甲状腺什么指标| 右肾占位是什么意思| 七月份什么星座| 软文什么意思| 查电解质是查什么| 移动迷宫到底讲的什么| 肾结石用什么药最好| bravo是什么意思| 肩周炎用什么药| 老头晕是什么原因引起的| 白内障什么原因造成的| 风疹病毒抗体阳性是什么意思| 1980年属什么| 饭后打嗝是什么原因| 14岁可以做什么工作| 5.7是什么星座| 胚根发育成什么| 失眠吃什么药效果最好| 生化是检查什么的| 霸屏是什么意思| 吃猪肝补什么| 红细胞高什么原因| 什么是虎牙| 利妥昔单抗是治什么病| 12.28是什么星座| 百度

Try to extend agent mode in VS Code!

夜猫子是什么意思

百度 “以本行为例,并不存在价高者先得的情况。

Chat in Visual Studio Code can give you responses and generate code that matches your coding practices and project requirements, if you give it the right context. Instead of repeatedly adding this information in every chat prompt, you can store this context in files and automatically include it in every chat request. In this article, you learn how to use custom instructions and prompt files to customize AI responses in VS Code.

There are three main ways to customize AI responses in Visual Studio Code:

  • Custom instructions: Define common guidelines or rules for tasks like generating code, performing code reviews, or generating commit messages. Custom instructions describe the conditions in which the AI should perform operate (how a task should be done). Learn how to define custom instructions. VS Code can also help you generate a custom instructions file for your workspace that matches your coding practices and project requirements.

    Example scenarios
    • Specify coding practices, preferred technologies, or project requirements, so generated code follows your standards.
    • Set rules for code reviews, such as checking for security vulnerabilities or performance issues.
    • Provide instructions for generating commit messages or pull request titles and descriptions.
  • Prompt files: Define reusable prompts for common tasks like generating code or performing a code review. Prompt files are standalone prompts that you can run directly in chat. They describe the task to be performed (what should be done). Optionally, you can include tasks-specific guidelines about how the task should be performed, or you can reference custom instructions in the prompt file. Learn how to create prompt files.

    Example scenarios
    • Create reusable prompts for common coding tasks, such as scaffolding a new component, API route, or generating tests.
    • Define prompts for performing code reviews, such as checking for code quality, security vulnerabilities, or performance issues.
    • Create step-by-step guides for complex processes or project-specific patterns.
    • Define prompts for generating implementation plans, architectural designs, or migration strategies.
  • Custom chat modes: Define how chat operates, which tools it can use, and how it interacts with the codebase. Each chat prompt is run within the boundaries of the chat mode, without having to configure tools and instructions for every request.

    Example scenarios
    • Create a chat mode for planning, where the AI has read-only access to the codebase and can only generate implementation plans.
    • Define a research chat mode, where the AI can reach out to external resources to explore new technologies or gather information.
    • Create a front-end developer chat mode, where the AI can only generate and modify code related to front-end development.

Custom instructions

Custom instructions enable you to describe common guidelines or rules to get responses that match your specific coding practices and tech stack. Instead of manually including this context in every chat query, custom instructions automatically incorporate this information with every chat request.

Note

Custom instructions are not taken into account for code completions.

Types of custom instructions

VS Code supports multiple ways to define custom instructions:

Custom instructions type Description
.github/copilot-instructions.md file
  • Describe code-generation instructions in Markdown.
  • All instructions are combined in a single file, stored within the workspace.
  • Instructions are automatically included in every chat request.
  • Supported across all editors and IDEs that support Copilot.
  • Use this file to define general coding practices, preferred technologies, and project requirements that apply to all code-generation tasks.
.instructions.md files
  • Describe code-generation instructions in Markdown.
  • Create one or more instructions files, stored in the workspace or your user profile.
  • Use glob patterns to automatically include instructions for all requests or for specific files.
  • Supported in VS Code.
  • Use these files if you want to have task-specific code-generation instructions, and to have more control over when to include instructions with your chat prompt.
VS Code settings
  • Specify instructions in VS Code user or workspace settings.
  • Define instructions in settings values or in one or more files.
  • Supported in VS Code.
  • Supports instructions for code generation, test generation, commit messages, code review, and PR titles and descriptions.
  • Use this option to define instructions for tasks other than code-generation.

You can use a combination of these approaches to define custom instructions and the instructions are all included in the chat request. No particular order or priority is applied to the instructions, so make sure to avoid conflicting instructions in the files.

Custom instructions examples

The following examples demonstrates how to use custom instructions:

Example: general coding guidelines
---
applyTo: "**"
---
# Project general coding standards

## Naming Conventions
- Use PascalCase for component names, interfaces, and type aliases
- Use camelCase for variables, functions, and methods
- Prefix private class members with underscore (_)
- Use ALL_CAPS for constants

## Error Handling
- Use try/catch blocks for async operations
- Implement proper error boundaries in React components
- Always log errors with contextual information
Example: TypeScript and React coding guidelines

Notice how these instructions reference the general coding guidelines file. You can separate the instructions into multiple files to keep them organized and focused on specific topics.

---
applyTo: "**/*.ts,**/*.tsx"
---
# Project coding standards for TypeScript and React

Apply the [general coding guidelines](./general-coding.instructions.md) to all code.

## TypeScript Guidelines
- Use TypeScript for all new code
- Follow functional programming principles where possible
- Use interfaces for data structures and type definitions
- Prefer immutable data (const, readonly)
- Use optional chaining (?.) and nullish coalescing (??) operators

## React Guidelines
- Use functional components with hooks
- Follow the React hooks rules (no conditional hooks)
- Use React.FC type for components with children
- Keep components small and focused
- Use CSS modules for component styling

Use a .github/copilot-instructions.md file

You can store custom instructions in your workspace or repository in a .github/copilot-instructions.md file and describe your coding practices, preferred technologies, and project requirements by using Markdown. These instructions only apply to the workspace where the file is located.

VS Code automatically includes the instructions from the .github/copilot-instructions.md file in every chat request and applies them for generating code.

To use a .github/copilot-instructions.md file:

  1. Set the github.copilot.chat.codeGeneration.useInstructionFiles setting to true to instruct VS Code to automatically use the copilot-instructions.md file for every chat request.

  2. Create a .github/copilot-instructions.md file at the root of your workspace. If needed, create a .github directory first.

  3. Describe your instructions by using natural language and in Markdown format.

    Whitespace between instructions is ignored, so the instructions can be written as a single paragraph, each on a new line, or separated by blank lines for legibility.

Note

GitHub Copilot in Visual Studio and GitHub.com also detect the .github/copilot-instructions.md file. If you have a workspace that you use in both VS Code and Visual Studio, you can use the same file to define custom instructions for both editors.

Use .instructions.md files

You can also create one or more .instructions.md files to store custom instructions for specific tasks. For example, you can create instruction files for different programming languages, frameworks, or project types.

VS Code can automatically add instructions files to all chat requests, or you can specify for which files the instructions should be applied automatically. Alternatively, you can manually attach instructions files to a chat prompt.

VS Code supports two types of scopes for instruction files:

  • Workspace instructions files: are only available within the workspace and are stored in the .github/instructions folder of the workspace.
  • User instruction files: are available across multiple workspaces and are stored in the current VS Code profile.

Instructions file structure

An instructions file is a Markdown file with the .instructions.md file suffix. The instructions file consists of two sections:

  • (Optional) Header with metadata (Front Matter syntax)

    • description: A brief description of the instructions file. This description is displayed when you hover the instructions file in the Chat view.

    • applyTo: Specify a glob pattern for files to which the instructions are automatically applied. To always include the custom instructions, use the ** pattern.

      For example, the following instructions file is always applied:

      ---
      applyTo: "**"
      ---
      Add a comment at the end of the file: 'Contains AI-generated edits.'
      
  • Body with the instruction content

    Specify the custom instructions in natural language by using Markdown formatting. You can use headings, lists, and code blocks to structure the instructions.

    You can reference other instruction files by using Markdown links. Use relative paths to reference these files, and ensure that the paths are correct based on the location of the instruction file.

Create an instructions file

You can create instructions files in your workspace or user profile. Workspace instructions files are only available within the workspace, while user instructions files are available across multiple workspaces.

To create an instructions file:

  1. Select the Configure Chat button in the Chat view, select Instructions, and then select New instruction file.

    Screenshot showing the Chat view, and Configure Chat menu, highlighting the Configure Chat button.

    Alternatively, use the Chat: New Instructions File command from the Command Palette (??P (Windows, Linux Ctrl+Shift+P)).

  2. Choose the location where the instruction file should be created.

    • Workspace: By default, workspace instruction files are stored in the .github/instructions folder of your workspace. Add more instruction folders for your workspace with the chat.instructionsFilesLocations setting.

    • User profile: User instruction files are stored in the current profile folder. You can sync your user instruction files across multiple devices by using Settings Sync.

  3. Enter a name for your instruction file.

  4. Author the custom instructions by using Markdown formatting.

    Specify the applyTo metadata property in the header to configure when the instructions should be applied automatically. For example, you can specify applyTo: "**/*.ts,**/*.tsx" to apply the instructions only to TypeScript files.

    To reference additional workspace files, use Markdown links ([index](../index.ts)) or #-reference them (#index.ts) within the instructions file.

To modify an existing instructions file, select the Configure Chat button in the Chat view, select Instructions, and then select an instructions file from the list. Alternatively, use the Chat: Configure Instructions command from the Command Palette (??P (Windows, Linux Ctrl+Shift+P)) and select the instructions file from the Quick Pick.

Use an instructions file in chat

If you specified the applyTo metadata property in the instructions file, VS Code automatically applies the instructions to all files that match the glob pattern.

To manually attach an instructions file to a chat prompt:

  • In the Chat view, select Add Context > Instructions and select the instruction file from the Quick Pick.

  • Run the Chat: Attach Instructions command from the Command Palette (??P (Windows, Linux Ctrl+Shift+P)) and select the instruction file from the Quick Pick.

Specify custom instructions in settings

You can configure custom instructions for specialized scenarios in your user or workspace settings.

Type of instruction Setting name
Code review github.copilot.chat.reviewSelection.instructions
Commit message generation github.copilot.chat.commitMessageGeneration.instructions
Pull request title and description generation github.copilot.chat.pullRequestDescriptionGeneration.instructions
Code generation (deprecated)* github.copilot.chat.codeGeneration.instructions
Test generation (deprecated)* github.copilot.chat.testGeneration.instructions

* The codeGeneration and testGeneration settings are deprecated as of VS Code 1.102. We recommend that you use instructions files instead (.github/copilot-instructions.md or *.instructions.md).

You can define the custom instructions as text in the settings value (text property) or reference an external file (file property) in your workspace.

The following code snippet shows how to define a set of instructions in the settings.json file.

    "github.copilot.chat.pullRequestDescriptionGeneration.instructions": [
        { "text": "Always include a list of key changes." },
    "github.copilot.chat.reviewSelection.instructions": [
        { "file": "guidance/backend-review-guidelines.md" },
        { "file": "guidance/frontend-review-guidelines.md" }
  ]

Generate an instructions file for your workspace

VS Code can analyze your workspace and generate a matching .github/copilot-instructions.md file with custom instructions that match your coding practices and project requirements.

To generate an instructions file for your workspace:

  1. Select the Configure Chat button in the Chat view and select Instructions

  2. Select Generate instructions from the Quick Pick.

  3. Review the generated instructions file and make any necessary edits.

Tips for defining custom instructions

  • Keep your instructions short and self-contained. Each instruction should be a single, simple statement. If you need to provide multiple pieces of information, use multiple instructions.

  • Don't refer to external resources in the instructions, such as specific coding standards.

  • Split instructions into multiple files. This approach is useful for organizing instructions by topic or type of task.

  • Make it easy to share custom instructions with your team or across projects by storing your instructions in instruction files. You can also version control the files to track changes over time.

  • Use the applyTo property in the instruction file header to automatically apply the instructions to specific files or folders.

  • Reference custom instructions in your prompt files to keep your prompts clean and focused, and to avoid duplicating instructions for different tasks.

Prompt files (experimental)

Prompt files are reusable prompts for common tasks like generating code or performing a code review. You define the prompt content in a Markdown file. A prompt file is a standalone prompt that you can run directly in chat. Optionally, you can also include guidelines about how the task should be performed.

Tip

Prompt files can take advantage of instruction files to reuse common guidelines and have task-specific instructions included in the prompt. For example, a security review prompt file can reference a custom instructions that describe general security practices, while also including specific instructions on how to report the findings of the review.

VS Code supports two types of scopes for prompt files:

  • Workspace prompt files: Are only available within the workspace and are stored in the .github/prompts folder of the workspace.
  • User prompt files: Are available across multiple workspaces and are stored in the current VS Code profile.

Prompt file examples

The following examples demonstrate how to use prompt files:

Example: generate a React form component
---
mode: 'agent'
model: GPT-4o
tools: ['githubRepo', 'codebase']
description: 'Generate a new React form component'
---
Your goal is to generate a new React form component based on the templates in #githubRepo contoso/react-templates.

Ask for the form name and fields if not provided.

Requirements for the form:
* Use form design system components: [design-system/Form.md](../docs/design-system/Form.md)
* Use `react-hook-form` for form state management:
* Always define TypeScript types for your form data
* Prefer *uncontrolled* components using register
* Use `defaultValues` to prevent unnecessary rerenders
* Use `yup` for validation:
* Create reusable validation schemas in separate files
* Use TypeScript types to ensure type safety
* Customize UX-friendly validation rules
Example: perform a security review of a REST API
---
mode: 'ask'
model: Claude Sonnet 4
description: 'Perform a REST API security review'
---
Perform a REST API security review and provide a TODO list of security issues to address.

* Ensure all endpoints are protected by authentication and authorization
* Validate all user inputs and sanitize data
* Implement rate limiting and throttling
* Implement logging and monitoring for security events

Return the TODO list in a Markdown format, grouped by priority and issue type.

Prompt file structure

A prompt file is a Markdown file with the .prompt.md file suffix. It has the following two main sections:

  • (Optional) Header with metadata (Front Matter syntax)

    • mode: The chat mode to use when running the prompt: ask, edit, or agent (default).
    • model: The AI model to use when running the prompt. If not specified, the currently selected model in model picker is used.
    • tools: Array of tool (set) names to indicate which tools (sets) can be used in agent mode. Select Configure Tools to select the tools from the list of available tools in your workspace. If a given tool (set) is not available when running the prompt, it is ignored.
    • description: A short description of the prompt.
  • Body with the prompt content

    Prompt files mimic the format of writing prompts in chat. This allows blending natural language instructions, additional context, and even linking to other prompt files as dependencies. You can use Markdown formatting to structure the prompt content, including headings, lists, and code blocks.

You can reference other workspace files, prompt files, or instruction files by using Markdown links. Use relative paths to reference these files, and ensure that the paths are correct based on the location of the prompt file.

Within a prompt file, you can reference variables by using the ${variableName} syntax. You can reference the following variables:

  • Workspace variables - ${workspaceFolder}, ${workspaceFolderBasename}
  • Selection variables - ${selection}, ${selectedText}
  • File context variables - ${file}, ${fileBasename}, ${fileDirname}, ${fileBasenameNoExtension}
  • Input variables - ${input:variableName}, ${input:variableName:placeholder} (pass values to the prompt from the chat input field)

Create a prompt file

You can create prompt files in your workspace or user profile. Workspace prompt files are only available within the workspace, while user prompt files are available across multiple workspaces.

To create a prompt file:

  1. Select the Configure Chat button in the Chat view, select Prompt Files, and then select New prompt file.

    Screenshot showing the Chat view, and Configure Chat menu, highlighting the Configure Chat button.

    Alternatively, use the Chat: New Prompt File command from the Command Palette (??P (Windows, Linux Ctrl+Shift+P)).

  2. Choose the location where the prompt file should be created.

    • Workspace: By default, workspace prompt files are stored in the .github/prompts folder of your workspace. Add more prompt folders for your workspace with the chat.promptFilesLocations setting.

    • User profile: User prompt files are stored in the current profile folder. You can sync your user prompt files across multiple devices by using Settings Sync.

  3. Enter a name for your prompt file.

    Alternatively, you can directly create a .prompt.md file in the prompts folder of your workspace.

  4. Author the chat prompt by using Markdown formatting.

    Within a prompt file, reference additional workspace files as Markdown links ([index](../index.ts)), or as #index.ts references within the prompt file.

    You can also reference other .prompt.md files to create a hierarchy of prompts. You can also reference instructions files in the same way.

To modify an existing prompt file, select the Configure Chat button in the Chat view, select Prompt Files, and then select a prompt file from the list. Alternatively, use the Chat: Configure Prompt Files command from the Command Palette (??P (Windows, Linux Ctrl+Shift+P)) and select the prompt file from the Quick Pick.

Use a prompt file in chat

You have multiple options to run a prompt file:

  • Run the Chat: Run Prompt command from the Command Palette (??P (Windows, Linux Ctrl+Shift+P)) and select a prompt file from the Quick Pick.

  • In the Chat view, type / followed by the prompt file name in the chat input field.

    This option enables you to pass additional information in the chat input field. For example, /create-react-form or /create-react-form: formName=MyForm.

  • Open the prompt file in the editor, and press the play button in the editor title area. You can choose to run the prompt in the current chat session or open a new chat session.

    This option is useful for quickly testing and iterating on your prompt files.

Sync user prompt files across devices

VS Code can sync your user prompt files across multiple devices by using Settings Sync.

To sync your user prompt files, enable Settings Sync for prompt and instruction files:

  1. Make sure you have Settings Sync enabled.

  2. Run Settings Sync: Configure from the Command Palette (??P (Windows, Linux Ctrl+Shift+P)).

  3. Select Prompts and Instructions from the list of settings to sync.

Centrally manage instructions and prompt files in VS Code

Enable or disable instructions and prompt files in VS Code with the chat.promptFiles setting.

To centrally enable or disable this setting within your organization with device management, check Centrally Manage VS Code Settings in the enterprise documentation.

Settings

Custom instructions settings
Prompt files settings
  • chat.promptFiles (Experimental): Enable support for reusable prompt files and instruction files.

  • chat.promptFilesLocations (Experimental): A dictionary of folders where prompt files are located and a boolean indicating whether they are enabled. Relative paths are resolved from the root folder(s) of your workspace. Supports glob patterns for file paths. By default, prompt files are located in the .github/prompts folder of your workspace.

    "chat.promptFilesLocations": {
        ".github/prompts": false,
        "setup/**/prompts": true
    }
    
人咬人有什么危害 74岁属什么生肖 孕妇尿路感染吃什么药 隐血阳性是什么意思 尿路感染吃什么药消炎
夏天适合吃什么食物 6月20是什么星座 7月6日是什么节日 纷纷扬扬是什么意思 室上性心动过速是什么原因引起的
男性小便出血是什么原因 9.11是什么星座 卫生巾有什么用 西康省是现在什么地方 看演唱会需要准备什么
氟斑牙是什么原因造成的 乐可是什么 腹部彩超挂什么科 什么病不能熬夜 激素吃多了对身体有什么副作用
吃中药忌口都忌什么adwl56.com 一周不排便是什么原因zhiyanzhang.com 老人头晕是什么原因引起的hcv9jop0ns4r.cn 草果在炖肉起什么作用hcv8jop8ns1r.cn 胸闷挂什么科室hcv7jop6ns2r.cn
为什么放屁多wzqsfys.com 中书舍人是什么官职hcv8jop5ns6r.cn 夏天哈尔滨有什么好玩的地方tiangongnft.com 黄芪什么季节喝最好hcv9jop0ns5r.cn 快照是什么意思hcv9jop2ns7r.cn
植物有什么hcv9jop1ns7r.cn 漠漠什么意思hcv8jop0ns2r.cn 胃胀不消化吃什么药好hcv8jop2ns9r.cn 四个木是什么字hcv9jop4ns1r.cn 前列腺彩超能查出什么hcv9jop4ns0r.cn
12月23日什么星座hcv9jop2ns1r.cn 体温偏低是什么原因hcv8jop6ns8r.cn 绘本是什么hcv8jop1ns1r.cn 鸭肫是什么部位hcv8jop6ns9r.cn 拿什么不用手hcv9jop4ns0r.cn
百度