口述是什么意思| 见龙在田什么意思| 激光脱毛有什么副作用| 11月14号什么星座| 什么因什么果| 人均gdp是什么意思| 梦到屎是什么意思| 秋葵补什么| 青出于蓝是什么意思| 小孩咳嗽有痰吃什么药| 什么什么来迟| 男人湿气重吃什么药| s和m是什么| 男性更年期吃什么药| 情人节送什么给女孩子| 做三明治需要什么材料| 毒唯什么意思| 高血压饮食上注意什么| 自渎是什么意思| 叔叔的儿子叫什么| 梦见搞卫生什么意思| 春秋大梦是什么意思| 宫腔粘连是什么意思| 什么的春天| 凉皮用什么粉做的| 什么能代替润滑油| 身体出现小红点是什么原因| 男性孕前检查挂什么科| 鼻塞吃什么药| 避孕药吃多了有什么副作用| 劳伦斯属于什么档次| 1901年属什么生肖| 无性婚姻会有什么好处| 神气活现是什么意思| 动则气喘是什么原因| 扁桃体有什么作用| 怀孕有什么特征和反应| 铁皮石斛能治什么病| study是什么意思| 去湿气喝什么茶| 肾结晶是什么病| 陈醋和香醋有什么区别| 尿结石是什么症状| 06年属什么| 连铁是什么器官| 胡子为什么长得快| 自我是什么意思| 什么什么自若| 十二月份的是什么星座| 5w是什么意思| 什么的小毛虫| 减肥早餐吃什么好| 句加一笔是什么字| 房颤什么症状| 惊厥是什么症状| 什么东西抗衰老最好| 冬至说什么祝福语| 舌苔白是什么原因| 马桶对着卫生间门有什么不好| 尿潴留是什么意思| 风向是指风什么的方向| 舌头发紫是什么原因| 胆囊壁毛糙什么意思| siv是什么意思| 手一直抖是什么原因| 心跳不规律是什么原因| 车挂件挂什么保平安好| 拔胡子有什么危害| 吃什么蛋白质含量最高| 眼镜什么品牌好| 3月25日是什么星座| 胃食管反流用什么药| 1944年属什么生肖| 什么鸟不能飞| 半衰期什么意思| 9月27是什么星座| 抬举征阳性是什么意思| 社保基数什么时候调整| 胃炎不能吃什么| 马什么梅| vc是什么| 日语亚麻跌是什么意思| 眼睛肿是什么原因| 薄荷泡水喝有什么好处| 回族不吃什么| 双眼屈光不正是什么意思| 灵媒是什么意思| 着了过是什么词| 冒节子是什么东西| eu是什么元素| 闪亮的什么| 医保和农村合作医疗有什么区别| 脑血管痉挛吃什么药| 天王表属于什么档次| 梦见出国了是什么意思| 我战胜了什么| 检查hpv挂什么科| 拔完智齿可以吃什么| r13是什么牌子| 肺结核可以做什么运动| 什么面什么方| 孕妇不吃饭对胎儿有什么影响| cu是什么意思| 什么样的普洱茶才是好茶| 阿莫西林是什么| 重情重义是什么意思| 大舌头是什么意思| 早上起床口苦是什么原因| 糖尿病患者能吃什么水果| 月经十多天不干净是什么原因| 知府相当于现在什么官| 左束支传导阻滞是什么意思| 豆角是什么| 童心未泯是什么意思| 舌苔厚白吃什么食物好| 什么去火| 脸红什么| 高数是什么| husky是什么牌子| 胖次是什么意思| 太阳穴疼痛是什么原因| aww是什么意思| 南辕北辙告诉我们什么道理| 什么人不能喝咖啡| grn什么颜色| 羊水破了是什么症状| r一谷氨酰转移酶高说明什么| 22年什么婚| 不知道吃什么| 医保乙类是什么意思| 乳腺结节什么症状表现| 胃疼是什么病| 羽下面隹什么字| 甲钴胺是治什么病的| 骨折移位有什么感觉| 包租婆是什么意思| 62岁属什么| 井柏然原名叫什么| 天公作美什么意思| 2009年五行属什么| 爱奇艺积分有什么用| 眼睛干涩用什么眼药水| 血色病是什么病| 送命题是什么意思| 老是放屁是什么原因| 秦始皇为什么叫祖龙| 避孕套有什么作用| 什么是过敏性咳嗽| 入职体检前要注意什么| 内伤是什么意思| 虚荣心是什么意思| 生化妊娠后需要注意什么| 揩油是什么| 胃肠炎吃什么药| 养肝护肝吃什么食物好| 掉睫毛是什么原因| 什么水果利尿| 走马观花的走什么意思| 梦见生了个女儿是什么意思| 检查肺部挂什么科室| ab血型和o型生的孩子是什么血型| 一什么机枪| 出国用什么翻译软件好| 中元节又叫什么节| 经期头疼吃什么药效果最好| 吴亦凡为什么叫牛| 热疹用什么药膏最好| 今天会开什么生肖| 1963年五行属什么| 电离辐射是指什么| 阉割是什么意思| 喜欢黑色的人是什么性格| 怀孕天数从什么时候算起| 什么油适合高温油炸| 梦见长豆角是什么意思| 一个西一个米念什么| 人情是什么意思| 男生为什么喜欢摸胸| 过年为什么要吃饺子| 查岗是什么意思| 人品好是什么意思| 截瘫是什么意思| 女性前列腺叫什么| 化学键是什么| 高血压吃什么药好| 后背酸疼是什么原因| 福州立冬吃什么| 下海是什么意思| 舌苔厚是什么原因| 农历8月15是什么节日| 尿液中有血是什么原因| 焦糖色是什么颜色| 着相什么意思| 移花接木的意思是什么| 三点水加四读什么| 平诊是什么意思| 柏拉图式是什么意思| 梦见已故长辈什么预兆| 药剂师是什么专业| 毛主席女儿为什么姓李| 液氨是什么| 蓝颜知己是什么关系| 女孩缺金取什么名字好| kodice是什么牌子| 脂肪液化是什么意思| 7一9点是什么时辰| 什么的海风| 什么叫白癜风| 1997年属牛是什么命| 女孩子学什么专业| 发烧喝什么汤| 静脉注射是什么意思| 刻舟求剑的寓意是什么| 塔姆是什么动物| 胃溃疡是什么原因导致的| 为什么总是犯困想睡觉| 9d是什么意思| 水痘挂什么科| 土茯苓和什么煲汤最好| 坐月子什么不可以吃| 火烧是什么| t什么意思| 什么是玛瑙| 血小板升高是什么原因| 时柱代表什么| 做b超憋尿要憋到什么程度| 减肥可以吃什么主食| 婚检都检查什么| 临盆是什么意思| 肾看什么科| 眼屎多是什么原因| 什么是腱鞘炎| 三十六计的第一计是什么| 王字旁的字跟什么有关| 气血不足吃什么中成药最好| 毕罗是什么食物| 代血浆又叫什么| 手发抖是什么原因引起的| 什么是孽缘| 什么是海市蜃楼| 经期不能吃什么| 痛风发作吃什么药| 原图是什么意思| 鞭尸是什么意思| 小孩疝气看什么科室| 吗丁啉有什么功效| 夏天适合种什么水果| 傻子是什么意思| 什么叫靶向药| 挑染什么颜色好看| 肚脐左侧疼是什么原因| 尿酸高有什么危害| 车代表什么生肖| 子宫内膜增生有什么症状| 2月份生日是什么星座| 肩膀疼挂什么科室最好| 梦到老房子是什么意思| 胃疼什么症状| 奥美拉唑和雷贝拉唑有什么区别| 胃胀什么原因| 为什么会缺乏维生素d| 小孩磨牙是什么原因| 彻夜难眠什么意思| 礼拜是什么意思| 百度
Skip to main content

站姐是什么意思

百度 一直以来在国内都挺小众的,究其原因,恐怕主要原因就是纯进口所导致的售价偏高。

Use Copilot Chat in your editor to give you code suggestions, explain code, generate unit tests, and suggest code fixes.

Prerequisites

If you have access to GitHub Copilot via your organization, you won't be able to use GitHub Copilot Chat if your organization owner has disabled chat. See Managing policies and features for Copilot in your organization.

Submitting prompts

You can ask Copilot Chat to give you code suggestions, explain code, generate unit tests, and suggest code fixes.

  1. To open the chat view, click the icon in the title bar of Visual Studio Code. If the icon is not displayed, right-click the title bar and make sure that Command Center is selected.

    Screenshot of the 'Copilot Chat' button, highlighted with a dark orange outline.

  2. Enter a prompt in the prompt box, or click one of the suggested prompts. For an introduction to the kinds of prompts you can use, see Getting started with prompts for Copilot Chat.

  3. Evaluate Copilot's response, and make a follow-up request if needed.

    The response may contain text, code blocks, buttons, images, URIs, and file trees. The response often includes interactive elements. For example, the response may include a menu to insert a code block, or a button to invoke a Visual Studio Code command.

    To see the files that Copilot Chat used to generate the response, select the Used n references dropdown at the top of the response. The references may include a link to a custom instructions file for your repository. This file contains additional information that is automatically added to all of your chat questions to improve the quality of the responses. For more information, see Adding repository custom instructions for GitHub Copilot.

Using keywords in your prompt

You can use special keywords to help Copilot understand your prompt. For examples, see Getting started with prompts for Copilot Chat.

Chat participants

Chat participants are like domain experts who have a specialty that they can help you with.

Copilot Chat can infer relevant chat participants based on your natural language prompt, improving discovery of advanced capabilities without you having to explicitly specify the participant you want to use in your prompt.

Note

Automatic inference for chat participants is currently in public preview and is subject to change.

Alternatively, you can manually specify a chat participant to scope your prompt to a specific domain. To do this, type @ in the chat prompt box, followed by a chat participant name.

For a list of available chat participants, type @ in the chat prompt box. See also GitHub Copilot Chat cheat sheet or Chat participants in the Visual Studio Code documentation.

Copilot Extensions chat participants

You can also install Copilot Extensions that provide chat participants. You can install these extensions from GitHub Marketplace and from Visual Studio Code Marketplace. For information about extensions from GitHub Marketplace that provide chat participants, see Using extensions to integrate external tools with Copilot Chat.

Slash commands

Use slash commands to avoid writing complex prompts for common scenarios. To use a slash command, type / in the chat prompt box, followed by a command.

To see all available slash commands, type / in the chat prompt box. See also GitHub Copilot Chat cheat sheet or Slash commands in the Visual Studio Code documentation.

Chat variables

Use chat variables to include specific context in your prompt. To use a chat variable, type # in the chat prompt box, followed by a chat variable.

To see all available chat variables, type # in the chat prompt box. See also GitHub Copilot Chat cheat sheet or Chat variables in the Visual Studio Code documentation.

Using GitHub skills for Copilot

Copilot's GitHub-specific skills expand the type of information Copilot can provide. To access these skills in Copilot Chat, include @github in your question.

When you add @github to a question, Copilot dynamically selects an appropriate skill, based on the content of your question. You can also explicitly ask Copilot Chat to use a particular skill. You can do this in two ways:

  • Use natural language to ask Copilot Chat to use a skill. For example, @github Search the web to find the latest GPT model from OpenAI.
  • To specifically invoke a web search you can include the #web variable in your question. For example, @github #web What is the latest LTS of Node.js?

You can generate a list of currently available skills by asking Copilot: @github What skills are available?

AI models for Copilot Chat

You can change the large language model that Copilot uses to generate responses to chat prompts, including premium models with advanced capabilities. You may find that different models perform better, or provide more useful responses, depending on the type of questions you ask. For more information see Changing the AI model for Copilot Chat.

Additional ways to access Copilot Chat

In addition to submitting prompts through the chat view, you can submit prompts in other ways:

  • Quick chat: To open the quick chat dropdown, enter ?+?+?+L (Mac) / Ctrl+Shift+Alt+L (Windows/Linux).
  • Inline: To start an inline chat directly in the editor or integrated terminal, enter Command+i (Mac) / Ctrl+i (Windows/Linux).
  • Smart actions: To submit prompts via the context menu, right click in your editor, select Copilot in the menu that appears, then select one of the actions. Smart actions can also be accessed via the sparkle icon that sometimes appears when you select a line of code.

See inline chat, quick chat, and chat smart actions in the Visual Studio Code documentation for more details.

Copilot Edits

Use Copilot Edits to make changes across multiple files directly from a single Copilot Chat prompt. Copilot Edits has the following modes:

  • Edit mode lets Copilot make controlled edits to multiple files.
  • Agent mode lets Copilot autonomously accomplish a set task.

Edit mode

Edit mode is only available in Visual Studio Code and JetBrains IDEs.

Use edit mode when you want more granular control over the edits that Copilot proposes. In edit mode, you choose which files Copilot can make changes to, provide context to Copilot with each iteration, and decide whether or not to accept the suggested edits after each turn.

Edit mode is best suited to use cases where:

  • You want to make a quick, specific update to a defined set of files.
  • You want full control over the number of LLM requests Copilot uses.

Using edit mode

  1. To start an edit session, select Open Chat from the Copilot Chat menu.

  2. At the bottom of the chat panel, select Edit from the mode dropdown.

    Screenshot of the Copilot Chat mode dropdown. The "Edit" option is outlined in dark orange.

  3. Optionally, add relevant files to the working set to indicate to GitHub Copilot which files you want to work on.

  4. Submit a prompt. In response to your prompt, Copilot Edits determines which files in your working set to change and adds a short description of the change.

  5. Review the changes and Apply or Discard the edits for each file.

For more detailed instructions, see Copilot Edits in the Visual Studio Code documentation.

Agent mode

Use agent mode when you have a specific task in mind and want to enable Copilot to autonomously edit your code. In agent mode, Copilot determines which files to make changes to, offers code changes and terminal commands to complete the task, and iterates to remediate issues until the original task is complete.

Agent mode is best suited to use cases where:

  • Your task is complex, and involves multiple steps, iterations, and error handling.
  • You want Copilot to determine the necessary steps to take to complete the task.
  • The task requires Copilot to integrate with external applications, such as an MCP server.

Using agent mode

  1. To start an edit session, select Open Chat from the Copilot Chat menu.
  2. At the bottom of the chat panel, select Agent from the mode dropdown.
  3. Submit a prompt. In response to your prompt, Copilot streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
  4. Review the changes. If Copilot suggested terminal commands, confirm whether or not Copilot can run them. In response, Copilot iterates and performs additional actions to complete the task in your original prompt.

You can also directly open agent mode in VS Code.

For more information, see Copilot Edits in the Visual Studio Code documentation.

When you use Copilot agent mode, each prompt you enter counts as one premium request, multiplied by the model’s multiplier. For example, if you're using the included model—which has a multiplier of 0—your prompts won’t consume any premium requests. Copilot may take several follow-up actions to complete your task, but these follow-up actions do not count toward your premium request usage. Only the prompts you enter are billed—tool calls or background steps taken by the agent are not charged.

The total number of premium requests you use depends on how many prompts you enter and which model you select. See Requests in GitHub Copilot.

Using images in Copilot Chat

Note

You can attach images to your chat prompts and then ask Copilot about the images. For example, you can attach:

  • A screenshot of a code snippet and ask Copilot to explain the code.
  • A mockup of the user interface for an application and ask Copilot to generate the code.
  • A flowchart and ask Copilot to describe the processes shown in the image.
  • A screenshot of a web page and ask Copilot to generate HTML for a similar page.

Note

The following types of image file are supported: JPEG (.jpg, .jpeg), PNG (.png), GIF (.gif), or WEBP (.webp).

Attaching images to your chat prompt

  1. If you see the AI model picker at the bottom right of the chat view, select one of the models that supports adding images to prompts:

    • GPT-4.1 (the default that's used if you don't see a model picker)
    • GPT-4o
    • Claude Sonnet 3.5
    • Claude Sonnet 3.7
    • Gemini 2.0 Flash
    • Gemini 2.5 Pro

    Screenshot of Copilot Chat with the model picker highlighted with a dark orange outline.

  2. Do one of the following:

    • Copy an image and paste it into the chat view.
    • Drag and drop one or more image file from your operating system's file explorer—or from the Explorer in VS Code—into the chat view.
    • Right-click an image file in the VS Code Explorer and click Copilot then Add File to Chat.
  3. Type your prompt into the chat view to accompany the image. For example, explain this diagram, describe each of these images in detail, what does this error message mean.

Sharing feedback

To indicate whether a response was helpful, use the thumbs up and thumbs down icons that appear next to the response.

To leave feedback about the GitHub Copilot Chat extension, open an issue in the microsoft/vscode-copilot-release repository.

Further reading

Prerequisites

If you have access to GitHub Copilot via your organization, you won't be able to use GitHub Copilot Chat if your organization owner has disabled chat. See Managing policies and features for Copilot in your organization.

Submitting prompts

You can ask Copilot Chat to give you code suggestions, explain code, generate unit tests, and suggest code fixes.

  1. In the Visual Studio menu bar, click View, then click GitHub Copilot Chat.

  2. In the Copilot Chat window, enter a prompt, then press Enter. For example prompts, see Getting started with prompts for Copilot Chat.

  3. Evaluate Copilot's response, and submit a follow up prompt if needed.

    The response often includes interactive elements. For example, the response may include buttons to copy, insert, or preview the result of a code block.

    To see the files that Copilot Chat used to generate the response, click the References link below the response. The references may include a link to a custom instructions file for your repository. This file contains additional information that is automatically added to all of your chat questions to improve the quality of the responses. For more information, see Adding repository custom instructions for GitHub Copilot.

Using keywords in your prompt

You can use special keywords to help Copilot understand your prompt.

Extending Copilot Chat

GitHub Copilot Extensions integrate the power of external tools into Copilot Chat, helping you reduce context switching and receive responses with domain-specific context. You can install Copilot Extensions from the GitHub Marketplace or build private ones within your organization, then type @ in a chat window to see a list of your available extensions. To use an extension, select the extension from the list or type the full slug name, then type your prompt.

To learn more, see Using extensions to integrate external tools with Copilot Chat.

Slash commands

Use slash commands to avoid writing complex prompts for common scenarios. To use a slash command, type / in the chat prompt box, followed by a command.

To see all available slash commands, type / in the chat prompt box. See also GitHub Copilot Chat cheat sheet or Slash commands in the Visual Studio documentation.

References

By default, Copilot Chat will reference the file that you have open or the code that you have selected. You can also use # followed by a file name, file name and line numbers, or solution to reference a specific file, lines, or solution.

See also GitHub Copilot Chat cheat sheet or Reference in the Visual Studio documentation.

Using GitHub skills for Copilot (preview)

Note

The @github chat participant is currently in preview, and only available in Visual Studio 2022 Preview 2 onwards.

Copilot's GitHub-specific skills expand the type of information Copilot can provide. To access these skills in Copilot Chat in Visual Studio, include @github in your question.

When you add @github to a question, Copilot dynamically selects an appropriate skill, based on the content of your question. You can also explicitly ask Copilot Chat to use a particular skill. For example, @github Search the web to find the latest GPT4 model from OpenAI.

You can generate a list of currently available skills by asking Copilot: @github What skills are available?

AI models for Copilot Chat

You can change the large language model that Copilot uses to generate responses to chat prompts, including premium models with advanced capabilities. You may find that different models perform better, or provide more useful responses, depending on the type of questions you ask. For more information see Changing the AI model for Copilot Chat.

Additional ways to access Copilot Chat

In addition to submitting prompts through the chat window, you can submit prompts inline. To start an inline chat, right click in your editor window and select Ask Copilot.

See Ask questions in the inline chat view in the Visual Studio documentation for more details.

Copilot Edits

Note

  • This feature is currently in public preview and subject to change.
  • Available in Visual Studio 17.14 and later.

Copilot Edits lets you make changes across multiple files from a single Copilot Chat prompt

Use agent mode when you have a specific task in mind and want to enable Copilot to autonomously edit your code. In agent mode, Copilot determines which files to make changes to, offers code changes and terminal commands to complete the task, and iterates to remediate issues until the original task is complete.

Using agent mode

  1. In the Visual Studio menu bar, click View, then click GitHub Copilot Chat.
  2. At the bottom of the chat panel, select Agent from the mode dropdown.
  3. Submit a prompt. In response to your prompt, Copilot streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
  4. Review the changes. If Copilot suggested terminal commands, confirm whether or not Copilot can run them. In response, Copilot iterates and performs additional actions to complete the task in your original prompt.

When you use Copilot agent mode, each prompt you enter counts as one premium request, multiplied by the model’s multiplier. For example, if you're using the included model—which has a multiplier of 0—your prompts won’t consume any premium requests. Copilot may take several follow-up actions to complete your task, but these follow-up actions do not count toward your premium request usage. Only the prompts you enter are billed—tool calls or background steps taken by the agent are not charged.

Using images in Copilot Chat

Note

You can attach images to your chat prompts and then ask Copilot about the images. For example, you can attach:

  • A screenshot of a code snippet and ask Copilot to explain the code.
  • A mockup of the user interface for an application and ask Copilot to generate the code.
  • A flowchart and ask Copilot to describe the processes shown in the image.
  • A screenshot of a web page and ask Copilot to generate HTML for a similar page.

Note

The following types of image file are supported: JPEG (.jpg, .jpeg), PNG (.png), GIF (.gif), or WEBP (.webp).

Attaching images to your chat prompt

  1. If you see the AI model picker at the bottom right of the chat view, select one of the models that supports adding images to prompts:

    • GPT-4.1 (the default that's used if you don't see a model picker)
    • GPT-4o
    • Claude Sonnet 3.5
    • Claude Sonnet 3.7
    • Gemini 2.0 Flash
    • Gemini 2.5 Pro
  2. Do one of the following:

    • Copy an image and paste it into the chat view.
    • Click the paperclip icon at the bottom right of the chat view, click Upload Image, browse to the image file you want to attach, select it and click Open.

    You can add multiple images if required.

  3. Type your prompt into the chat view to accompany the image. For example, explain this image, or describe each of these images in detail.

Sharing feedback

To share feedback about Copilot Chat, you can use the Send feedback button in Visual Studio. For more information on providing feedback for Visual Studio, see the Visual Studio Feedback documentation.

  1. In the top right corner of the Visual Studio window, click the Send feedback button.

    Screenshot of the share feedback button in Visual Studio.

  2. Choose the option that best describes your feedback.

    • To report a bug, click Report a problem.
    • To request a feature, click Suggest a feature.

Further reading

Prerequisites

If you have access to GitHub Copilot via your organization, you won't be able to use GitHub Copilot Chat if your organization owner has disabled chat. See Managing policies and features for Copilot in your organization.

Submitting prompts

You can ask Copilot Chat to give you code suggestions, explain code, generate unit tests, and suggest code fixes.

  1. Open the Copilot Chat window by clicking the GitHub Copilot Chat icon at the right side of the JetBrains IDE window.

    Screenshot of the GitHub Copilot Chat icon in the Activity Bar.

  2. Enter a prompt in the prompt box. For example prompts, see Getting started with prompts for Copilot Chat.

  3. Evaluate Copilot's response, and submit a follow up prompt if needed.

    The response often includes interactive elements. For example, the response may include buttons to copy or insert a code block.

    To see the files that Copilot Chat used to generate the response, click the References link below the response. The references may include a link to a custom instructions file for your repository. This file contains additional information that is automatically added to all of your chat questions to improve the quality of the responses. For more information, see Adding repository custom instructions for GitHub Copilot.

Using keywords in your prompt

You can use special keywords to help Copilot understand your prompt.

Chat participants

Chat participants are like domain experts who have a specialty that they can help you with. You can use a chat participant to scope your prompt to a specific domain. To do this, type @ in the chat prompt box, followed by a chat participant name.

For a list of available chat participants, type @ in the chat prompt box. See also GitHub Copilot Chat cheat sheet.

Extending Copilot Chat

GitHub Copilot Extensions integrate the power of external tools into Copilot Chat, helping you reduce context switching and receive responses with domain-specific context. You can install Copilot Extensions from the GitHub Marketplace or build private ones within your organization, then type @ in a chat window to see a list of your available extensions. To use an extension, select the extension from the list or type the full slug name, then type your prompt.

To learn more, see Using extensions to integrate external tools with Copilot Chat.

Slash commands

Use slash commands to avoid writing complex prompts for common scenarios. To use a slash command, type / in the chat prompt box, followed by a command.

To see all available slash commands, type / in the chat prompt box. See also GitHub Copilot Chat cheat sheet.

File references

By default, Copilot Chat will reference the file that you have open or the code that you have selected. You can also tell Copilot Chat which files to reference by dragging a file into the chat prompt box. Alternatively, you can right click on a file, select GitHub Copilot, then select Reference File in Chat.

Using GitHub skills for Copilot

Copilot's GitHub-specific skills expand the type of information Copilot can provide. To access these skills in Copilot Chat, include @github in your question.

When you add @github to a question, Copilot dynamically selects an appropriate skill, based on the content of your question. You can also explicitly ask Copilot Chat to use a particular skill. You can do this in two ways:

  • Use natural language to ask Copilot Chat to use a skill. For example, @github Search the web to find the latest GPT model from OpenAI.
  • To specifically invoke a web search you can include the #web variable in your question. For example, @github #web What is the latest LTS of Node.js?

You can generate a list of currently available skills by asking Copilot: @github What skills are available?

AI models for Copilot Chat

You can change the large language model that Copilot uses to generate responses to chat prompts, including premium models with advanced capabilities. You may find that different models perform better, or provide more useful responses, depending on the type of questions you ask. For more information see Changing the AI model for Copilot Chat.

Additional ways to access Copilot Chat

  • Built-in requests. In addition to submitting prompts through the chat window, you can submit built-in requests by right clicking in a file, selecting GitHub Copilot, then selecting one of the options.
  • Inline. You can submit a chat prompt inline, and scope it to a highlighted code block or your current file.
    • To start an inline chat, right click on a code block or anywhere in your current file, hover over GitHub Copilot, then select Copilot: Inline Chat, or enter Ctrl+Shift+I.

Copilot Edits

Use Copilot Edits to make changes across multiple files directly from a single Copilot Chat prompt. Copilot Edits has the following modes:

  • Edit mode lets Copilot make controlled edits to multiple files.
  • Agent mode lets Copilot autonomously accomplish a set task.

Edit mode

Edit mode is only available in Visual Studio Code and JetBrains IDEs.

Use edit mode when you want more granular control over the edits that Copilot proposes. In edit mode, you choose which files Copilot can make changes to, provide context to Copilot with each iteration, and decide whether or not to accept the suggested edits after each turn.

Edit mode is best suited to use cases where:

  • You want to make a quick, specific update to a defined set of files.
  • You want full control over the number of LLM requests Copilot uses.

Using edit mode

  1. To start an edit session, click Copilot in the menu bar, then select Open GitHub Copilot Chat.
  2. At the top of the chat panel, click Copilot Edits.
  3. Add relevant files to the working set to indicate to GitHub Copilot which files you want to work on. You can add all open files by clicking Add all open files or individually search for single files.
  4. Submit a prompt. In response to your prompt, Copilot Edits determines which files in your working set to change and adds a short description of the change.
  5. Review the changes and Accept or Discard the edits for each file.

Agent mode

Use agent mode when you have a specific task in mind and want to enable Copilot to autonomously edit your code. In agent mode, Copilot determines which files to make changes to, offers code changes and terminal commands to complete the task, and iterates to remediate issues until the original task is complete.

Agent mode is best suited to use cases where:

  • Your task is complex, and involves multiple steps, iterations, and error handling.
  • You want Copilot to determine the necessary steps to take to complete the task.
  • The task requires Copilot to integrate with external applications, such as an MCP server.

Using agent mode

  1. To start an edit session using agent mode, click Copilot in the menu bar, then select Open GitHub Copilot Chat.
  2. At the top of the chat panel, click the Agent tab.
  3. Submit a prompt. In response to your prompt, Copilot streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
  4. Review the changes. If Copilot suggested terminal commands, confirm whether or not Copilot can run them. In response, Copilot iterates and performs additional actions to complete the task in your original prompt.

When you use Copilot agent mode, each prompt you enter counts as one premium request, multiplied by the model’s multiplier. For example, if you're using the included model—which has a multiplier of 0—your prompts won’t consume any premium requests. Copilot may take several follow-up actions to complete your task, but these follow-up actions do not count toward your premium request usage. Only the prompts you enter are billed—tool calls or background steps taken by the agent are not charged.

The total number of premium requests you use depends on how many prompts you enter and which model you select. See Requests in GitHub Copilot.

Sharing feedback

To share feedback about Copilot Chat, you can use the share feedback link in JetBrains.

  1. At the right side of the JetBrains IDE window, click the Copilot Chat icon to open the Copilot Chat window.

    Screenshot of the Copilot Chat icon in the Activity Bar.

  2. At the top of the Copilot Chat window, click the share feedback link.

    Screenshot of the share feedback link in the Copilot Chat window.

Further reading

Prerequisites

If you have access to GitHub Copilot via your organization, you won't be able to use GitHub Copilot Chat if your organization owner has disabled chat. See Managing policies and features for Copilot in your organization.

Submitting prompts

You can ask Copilot Chat to give you code suggestions, explain code, generate unit tests, and suggest code fixes.

  1. To open the chat view, click Editor in the menu bar, then click Copilot then Open Chat. Copilot Chat opens in a new window.

  2. Enter a prompt in the prompt box. For example prompts, see Getting started with prompts for Copilot Chat.

  3. Evaluate Copilot's response, and submit a follow up prompt if needed.

    The response often includes interactive elements. For example, the response may include buttons to copy or insert a code block.

    To see the files that Copilot Chat used to generate the response, click the References link below the response. The references may include a link to a custom instructions file for your repository. This file contains additional information that is automatically added to all of your chat questions to improve the quality of the responses. For more information, see Adding repository custom instructions for GitHub Copilot.

AI models for Copilot Chat

You can change the large language model that Copilot uses to generate responses to chat prompts, including premium models with advanced capabilities. You may find that different models perform better, or provide more useful responses, depending on the type of questions you ask. For more information see Changing the AI model for Copilot Chat.

Using keywords in your prompt

You can use special keywords to help Copilot understand your prompt.

Slash commands

Use slash commands to avoid writing complex prompts for common scenarios. To use a slash command, type / in the chat prompt box, followed by a command.

To see all available slash commands, type / in the chat prompt box. For more information, see GitHub Copilot Chat cheat sheet.

Copilot agent mode

Use agent mode when you have a specific task in mind and want to enable Copilot to autonomously edit your code. In agent mode, Copilot determines which files to make changes to, offers code changes and terminal commands to complete the task, and iterates to remediate issues until the original task is complete.

Agent mode is best suited to use cases where:

  • Your task is complex, and involves multiple steps, iterations, and error handling.
  • You want Copilot to determine the necessary steps to take to complete the task.
  • The task requires Copilot to integrate with external applications, such as an MCP server.

Using agent mode

  1. To open the chat view, click Copilot in the menu bar, then click Open Chat.
  2. At the bottom of the chat panel, select Agent from the mode dropdown.
  3. Optionally, add relevant files to the working set view to indicate to Copilot which files you want to work on.
  4. Submit a prompt. In response to your prompt, Copilot streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
  5. Review the changes. If Copilot suggested terminal commands, confirm whether or not Copilot can run them. In response, Copilot iterates and performs additional actions to complete the task in your original prompt.

When you use Copilot agent mode, each prompt you enter counts as one premium request, multiplied by the model’s multiplier. For example, if you're using the included model—which has a multiplier of 0—your prompts won’t consume any premium requests. Copilot may take several follow-up actions to complete your task, but these follow-up actions do not count toward your premium request usage. Only the prompts you enter are billed—tool calls or background steps taken by the agent are not charged.

The total number of premium requests you use depends on how many prompts you enter and which model you select. See Requests in GitHub Copilot.

File references

By default, Copilot Chat will reference the file that you have open or the code that you have selected. To attach a specific file as reference, click in the chat prompt box.

Chat management

You can open a conversation thread for each Xcode IDE to keep discussions organized across different contexts. You can also revisit previous conversations and reference past suggestions through the chat history.

Sharing feedback

To indicate whether a response was helpful, use or that appear next to the response.

Further reading

Prerequisites

If you have access to GitHub Copilot via your organization, you won't be able to use GitHub Copilot Chat if your organization owner has disabled chat. See Managing policies and features for Copilot in your organization.

Submitting prompts

You can ask Copilot Chat to give you code suggestions, explain code, generate unit tests, and suggest code fixes.

  1. To open the Copilot Chat panel, click the Copilot icon () in the status bar at the bottom of Eclipse, then click Open Chat.

  2. Enter a prompt in the prompt box, then press Enter.

    For an introduction to the kinds of prompts you can use, see Getting started with prompts for Copilot Chat.

  3. Evaluate Copilot's response, and make a follow up request if needed.

Using keywords in your prompt

You can use special keywords to help Copilot understand your prompt. For examples, see Getting started with prompts for Copilot Chat.

Slash commands

Use slash commands to avoid writing complex prompts for common scenarios. To use a slash command, type / in the chat prompt box, followed by a command. For example, use /explain to ask Copilot to explain the code in the file currently displayed in the editor.

To see all available slash commands, type / in the chat prompt box.

AI models for Copilot Chat

You can change the large language model that Copilot uses to generate responses to chat prompts, including premium models with advanced capabilities. You may find that different models perform better, or provide more useful responses, depending on the type of questions you ask. For more information see Changing the AI model for Copilot Chat.

Copilot agent mode

Use agent mode when you have a specific task in mind and want to enable Copilot to autonomously edit your code. In agent mode, Copilot determines which files to make changes to, offers code changes and terminal commands to complete the task, and iterates to remediate issues until the original task is complete.

Agent mode is best suited to use cases where:

  • Your task is complex, and involves multiple steps, iterations, and error handling.
  • You want Copilot to determine the necessary steps to take to complete the task.
  • The task requires Copilot to integrate with external applications, such as an MCP server.

Using agent mode

  1. To open the Copilot Chat panel, click the Copilot icon () in the status bar at the bottom of Eclipse, then click Open Chat.
  2. At the bottom of the chat panel, select Agent from the mode dropdown.
  3. Submit a prompt. In response to your prompt, Copilot streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
  4. Review the changes. If Copilot suggested terminal commands, confirm whether or not Copilot can run them. In response, Copilot iterates and performs additional actions to complete the task in your original prompt.

When you use Copilot agent mode, each prompt you enter counts as one premium request, multiplied by the model’s multiplier. For example, if you're using the included model—which has a multiplier of 0—your prompts won’t consume any premium requests. Copilot may take several follow-up actions to complete your task, but these follow-up actions do not count toward your premium request usage. Only the prompts you enter are billed—tool calls or background steps taken by the agent are not charged.

The total number of premium requests you use depends on how many prompts you enter and which model you select. See Requests in GitHub Copilot.

Further reading

吐司是什么意思 出气臭是什么原因 人体最大器官是什么 经常流鼻血是什么原因引起的 高回声是什么意思
谷氨酰转移酶高是什么原因 胎膜是什么 知柏地黄丸适合什么人吃 舌头热灼是什么原因 荷尔蒙什么意思
纯牛奶什么时候喝最好 震字五行属什么 梦见摘枣吃枣是什么意思 塔罗是什么意思 国药准字是什么意思
难入睡是什么原因 2012年是什么命 五花八门是指什么生肖 胃食管反流吃什么中成药最好 营业执照什么时候年审
天使轮是什么意思hcv7jop6ns0r.cn 破鞋是什么意思啊hcv8jop8ns6r.cn 霍金得的是什么病hcv8jop7ns1r.cn 一个口一个巴念什么字hcv8jop1ns3r.cn 刘强东属什么生肖hcv9jop5ns1r.cn
什么鱼最好养不容易死hcv8jop7ns2r.cn 手上起倒刺是缺什么hcv8jop2ns6r.cn 小孩经常流鼻血是什么原因hcv9jop0ns5r.cn 金风送爽是什么意思hcv9jop7ns0r.cn 手起皮是什么原因hcv9jop4ns9r.cn
什么是清宫hcv8jop7ns5r.cn 中年人喝什么奶粉好hcv9jop2ns2r.cn 梦见怀孕的女人是什么意思jasonfriends.com 经常抠鼻子有什么危害hcv9jop1ns7r.cn 额头疼是什么原因hcv9jop0ns3r.cn
头很容易出汗什么原因hcv9jop3ns1r.cn 吃六味地黄丸有什么好处hcv9jop6ns1r.cn 词牌名什么意思hcv8jop4ns5r.cn 蓝色配什么裤子hcv9jop4ns9r.cn 苗字五行属什么hcv9jop3ns5r.cn
百度