Removes references to assistive and immersive chat (#58506)
Co-authored-by: hubwriter <hubwriter@github.com>
This commit is contained in:
@@ -46,7 +46,7 @@ These instructions will change how {% data variables.product.prodname_copilot %}
|
||||
|
||||
## Test it out
|
||||
|
||||
To quickly test out the difference that custom instructions can make, you can use personal custom instructions in {% data variables.copilot.copilot_chat_short %}'s immersive view.
|
||||
To quickly test out the difference that custom instructions can make, you can use personal custom instructions in {% data variables.copilot.copilot_chat_short %}.
|
||||
|
||||
1. First, go to [github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=trial&ref_style=text) and enter this prompt:
|
||||
|
||||
|
||||
@@ -21,27 +21,17 @@ If you've been assigned to work on a project that you're not familiar with—or
|
||||
|
||||
## Working with {% data variables.copilot.copilot_chat_short %}
|
||||
|
||||
Throughout this guide, we'll work on {% data variables.product.prodname_dotcom_the_website %}, using {% data variables.copilot.copilot_chat_short %} in assistive mode, which displays a {% data variables.copilot.copilot_chat_short %} panel over the bottom right corner of your current page on {% data variables.product.prodname_dotcom_the_website %}.
|
||||
Throughout this guide, we'll work with {% data variables.copilot.copilot_chat_short %} on {% data variables.product.prodname_dotcom_the_website %}, which you can find at [github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text).
|
||||
|
||||
You can expand the {% data variables.copilot.copilot_chat_short %} panel, to give more space for displaying {% data variables.product.prodname_copilot_short %}'s responses, by clicking and dragging the edges of the panel.
|
||||
## Attaching a codebase
|
||||
|
||||
## Using the predefined prompts
|
||||
Before {% data variables.copilot.copilot_chat_short %} can help you, you need to attach the codebase you want to explore.
|
||||
|
||||
{% data variables.copilot.copilot_chat_short %} comes with a set of predefined prompts that can help you get started with exploring a codebase. You can use the prompts by clicking a button in the chat panel. The buttons are displayed when you start a new conversation with {% data variables.copilot.copilot_chat_short %}. The selection of prompts varies depending on the currently displayed page on {% data variables.product.prodname_dotcom_the_website %}.
|
||||
1. On {% data variables.product.github %}, navigate to [github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text).
|
||||
1. In the text box, click **{% octicon "plus" aria-label="Add attachments" %} Add repositories, files, and spaces**, then click **Repositories**.
|
||||
1. Search for and select the repository you want to explore.
|
||||
|
||||
1. Open the repository you want to explore on {% data variables.product.prodname_dotcom_the_website %}.
|
||||
1. Click the **Code** tab to display the main page of the repository.
|
||||
1. {% data reusables.copilot.assistive-mode-instructions %}
|
||||
1. Click the **Tell me about this repository** button in the chat panel.
|
||||
|
||||

|
||||
|
||||
> [!TIP]
|
||||
> If this button is not displayed, make sure you are on the main page of the repository and click the plus sign ({% octicon "plus" aria-hidden="true" aria-label="plus" %}) at the top right of the {% data variables.product.prodname_copilot_short %} panel to start a new conversation.
|
||||
|
||||
A predefined prompt is submitted to {% data variables.product.prodname_copilot_short %} and the response is displayed in the chat panel.
|
||||
|
||||
1. Optionally, after reading the response, click the plus sign ({% octicon "plus" aria-hidden="true" aria-label="plus" %}) at the top right of the {% data variables.product.prodname_copilot_short %} panel to start a new conversation, then click **How to get started with this repository**.
|
||||
{% data variables.copilot.copilot_chat_short %} now has access to the code in that repository, and you can start asking questions about it.
|
||||
|
||||
## Example prompts
|
||||
|
||||
@@ -80,13 +70,17 @@ Use {% data variables.product.prodname_copilot_short %} to help you understand t
|
||||
To find out about the files in a directory:
|
||||
|
||||
1. Navigate to the directory on {% data variables.product.prodname_dotcom_the_website %}.
|
||||
1. {% data reusables.copilot.assistive-mode-instructions %}
|
||||
1. In the top right corner of the page, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}.
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} will use the directory contents as context for your question.
|
||||
1. Ask {% data variables.product.prodname_copilot_short %}: `Explain the files in this directory`.
|
||||
|
||||
To find out about a specific file:
|
||||
|
||||
1. Open the file on {% data variables.product.prodname_dotcom_the_website %}.
|
||||
1. {% data reusables.copilot.assistive-mode-instructions %}
|
||||
1. In the top right corner of the page, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}.
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} will use the file contents as context for your question.
|
||||
1. For a small file, ask {% data variables.product.prodname_copilot_short %}: `Explain this file`.
|
||||
1. For a large file, ask: `Explain what this file does. Start with an overview of the purpose of the file. Then, in appropriately headed sections, go through each part of the file and explain what it does in detail.`
|
||||
|
||||
@@ -110,11 +104,13 @@ To find out about a specific line of code:
|
||||
|
||||
Use {% data variables.product.prodname_copilot_short %} to help you understand the purpose of a specific file or symbol in the codebase. A symbol is a named entity in the code, such as a function, class, or variable.
|
||||
|
||||
1. Navigate to a repository on {% data variables.product.github %}.
|
||||
{% data reusables.copilot.open-chat-panel %}
|
||||
1. In the prompt box, click **{% octicon "paperclip" aria-label="Add attachments" %} Attach**, then click **Files, folders, and symbols**.
|
||||
1. Search for and select one or more files, folders, or symbols.
|
||||
1. In the prompt box, type a question and press <kbd>Enter</kbd>.
|
||||
1. On {% data variables.product.github %}, navigate to a repository and open a file.
|
||||
1. At the top of the file, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}.
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} will display the file contents in a split screen as context for your question.
|
||||
|
||||
1. If you want to ask about a specific symbol, highlight the symbol in the file.
|
||||
1. In the prompt box, type a question about the file or highlighted symbol, and press <kbd>Enter</kbd>.
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} replies in the chat panel.
|
||||
|
||||
|
||||
@@ -23,9 +23,10 @@ The quality of {% data variables.copilot.copilot_chat_short %}'s responses may b
|
||||
## Exploring issues and discussions
|
||||
|
||||
1. Navigate to an issue or discussion on {% data variables.product.github %}.
|
||||
{% data reusables.copilot.open-chat-panel %}
|
||||
{% data reusables.copilot.chat-previous-conversation %}
|
||||
1. At the bottom of the {% data variables.product.prodname_copilot_short %} chat panel, in the prompt box, type a question and press <kbd>Enter</kbd>.
|
||||
1. In the top right corner, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}.
|
||||
|
||||
️{% data variables.product.prodname_copilot_short %} will automatically load the content of the issue or discussion as context for your questions.
|
||||
1. In the prompt box, type a question and press <kbd>Enter</kbd>.
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} responds to your request in the panel.
|
||||
|
||||
|
||||
@@ -23,8 +23,9 @@ You can ask {% data variables.product.prodname_copilot_short %} different questi
|
||||
You can ask {% data variables.product.prodname_copilot_short %} to summarize a pull request, or to provide information about the status of a pull request.
|
||||
|
||||
1. On {% data variables.product.github %}, navigate to a pull request in a repository.
|
||||
{% data reusables.copilot.open-chat-panel %}
|
||||
{% data reusables.copilot.chat-previous-conversation %}
|
||||
1. In the top right corner of the page, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}.
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} will use the pull request as context for your question.
|
||||
1. At the bottom of the {% data variables.copilot.copilot_chat_short %} panel, in the prompt box, type a question and press <kbd>Enter</kbd>.
|
||||
|
||||
### Example prompts
|
||||
@@ -41,7 +42,9 @@ You can ask {% data variables.product.prodname_copilot_short %} to explain the c
|
||||
|
||||
1. On {% data variables.product.github %}, navigate to a pull request in a repository.
|
||||
1. Click the **Files changed** tab.
|
||||
1. Click {% octicon "kebab-horizontal" aria-label="Show options" %} at the top right of the file, then click **Ask {% data variables.product.prodname_copilot_short %} about this diff**.
|
||||
1. To the right side of a line in the file you want to ask about, click the {% octicon "triangle-down" aria-hidden="true" aria-label="Show file actions" %} icon, then click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**, and select **Ask about this diff**.
|
||||
|
||||
This opens {% data variables.copilot.copilot_chat_short %} with the file changes indicated as the context of your question.
|
||||
1. Type a question in the prompt box at the bottom of the chat panel and press <kbd>Enter</kbd>.
|
||||
|
||||
### Example prompts
|
||||
@@ -56,9 +59,10 @@ You can ask {% data variables.product.prodname_copilot_short %} to explain speci
|
||||
1. On {% data variables.product.github %}, navigate to a pull request in a repository.
|
||||
1. Click the **Files changed** tab.
|
||||
1. Click the line number for the first line you want to select, then hold down <kbd>Shift</kbd> and click the line number for the last line you want to select.
|
||||
1. Ask {% data variables.product.prodname_copilot_short %} a question, or choose from a list of predefined questions.
|
||||
* _To ask your own question about the selected lines_, to the right of your selection, click the {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %} icon.
|
||||
This displays the {% data variables.copilot.copilot_chat %} panel with the selected lines indicated as the context of your question.
|
||||
1. To the right side of one of the selected lines, click the {% octicon "triangle-down" aria-hidden="true" aria-label="Show file actions" %} icon, then click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**, and select **Ask about this diff**.
|
||||
|
||||
This opens {% data variables.copilot.copilot_chat_short %} with the selected lines indicated as the context of your question.
|
||||
1. Type a question in the prompt box at the bottom of the chat panel and press <kbd>Enter</kbd>.
|
||||
|
||||
### Example prompts
|
||||
|
||||
@@ -70,12 +74,9 @@ You can ask {% data variables.product.prodname_copilot_short %} to explain speci
|
||||
You can ask {% data variables.product.prodname_copilot_short %} to explain why a workflow has failed in a pull request, and provide suggestions for how to fix the issue.
|
||||
|
||||
1. On {% data variables.product.github %}, navigate to a pull request in a repository.
|
||||
1. Scroll to the bottom of the page, then, next to one of the failing checks, click **Details**.
|
||||
{% data reusables.copilot.open-chat-panel %}
|
||||
{% data reusables.copilot.chat-previous-conversation %}
|
||||
1. At the bottom of the {% data variables.copilot.copilot_chat_short %} panel, in the prompt box, ask {% data variables.product.prodname_copilot_short %} why the pull request has failed and press <kbd>Enter</kbd>.
|
||||
1. Scroll to the bottom of the page, then, next to one of the failing checks, click the ellipsis, and then click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} Explain error.**
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} responds with information about why the pull request failed. {% data variables.product.prodname_copilot_short %} may also provide suggestions for how to fix the issue.
|
||||
This opens {% data variables.copilot.copilot_chat_short %} with the workflow failure indicated as the context of your question and a prompt pre-filled in the chat input box. {% data variables.product.prodname_copilot_short %} responds with information about why the pull request failed. {% data variables.product.prodname_copilot_short %} may also provide suggestions for how to fix the issue.
|
||||
|
||||
1. If {% data variables.product.prodname_copilot_short %} has provided steps to fix the issue, you can follow the steps to resolve the problem.
|
||||
|
||||
|
||||
@@ -46,9 +46,9 @@ By default, issues are enabled for new repositories. If you would like to use an
|
||||
|
||||
With the repository set up, you can use {% data variables.product.prodname_copilot_short %} to turn your project vision into a set of actionable issues.
|
||||
|
||||
### Start in the {% data variables.product.prodname_copilot_short %} immersive view
|
||||
### Start in {% data variables.product.prodname_copilot_short %} in {% data variables.product.github %}
|
||||
|
||||
{% data reusables.copilot.immersive-mode-instructions %}
|
||||
{% data reusables.copilot.access-chat-instructions %}
|
||||
1. Using the chat panel, attach the repository for the shopping website. This allows {% data variables.product.prodname_copilot_short %} to access the repository and create issues directly within it.
|
||||
|
||||
### Create an epic issue
|
||||
@@ -57,7 +57,7 @@ With the repository set up, you can use {% data variables.product.prodname_copil
|
||||
```I’m planning to create a shopping website in React and Node.js. The site should allow users to browse products by category, search for items, add products to a cart, and complete checkout. Please help me plan the project by creating issues and breaking it down into epics, features, and tasks.```
|
||||
1. Submit your prompt. {% data variables.product.prodname_copilot_short %} will generate an issue tree, typically with an epic at the top and sub-issues for each main feature or task
|
||||
|
||||

|
||||

|
||||
|
||||
## Navigate the issue tree
|
||||
|
||||
|
||||
@@ -47,11 +47,11 @@ To hit a tight deadline, you're aiming to speed up each stage of the process, fo
|
||||
|
||||
1. When the PM has worked with {% data variables.product.prodname_copilot_short %} to get an overview of the tasks required, they ask {% data variables.product.prodname_copilot_short %} to **create issues** for each part of the work.
|
||||
|
||||
{% data variables.product.prodname_copilot_short %} drafts the issues in immersive view, where the PM can refine them and publish them to the repository.
|
||||
{% data variables.product.prodname_copilot_short %} drafts the issues in `https://github.com/copilot`, where the PM can refine them and publish them to the repository.
|
||||
|
||||
The PM marks some of the issues as nice-to-haves or maintenance. These may be good candidates for {% data variables.copilot.copilot_coding_agent %}.
|
||||
|
||||

|
||||

|
||||
|
||||
1. To help the developer get started quickly, the PM creates a space with **{% data variables.copilot.copilot_spaces %}** at `https://github.com/copilot/spaces`. The PM collects resources like diagrams and references to code files, submits a few test questions, then shares the space with their organization.
|
||||
|
||||
@@ -148,7 +148,7 @@ To integrate agentic AI features effectively into your workstreams, you'll need
|
||||
|
||||
| Feature | More information |
|
||||
| ------- | ---------------- |
|
||||
| Immersive view of {% data variables.copilot.copilot_chat_short %} | [AUTOTITLE](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github#submitting-a-question-to-copilot-chat) |
|
||||
| {% data variables.copilot.copilot_chat_short %} in {% data variables.product.github %} | [AUTOTITLE](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github#submitting-a-question-to-copilot-chat) |
|
||||
| {% data variables.copilot.copilot_spaces %} ({% data variables.release-phases.public_preview %}) | [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces) |
|
||||
| {% data variables.product.prodname_spark %} ({% data variables.release-phases.public_preview %}) | [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-spark) |
|
||||
| {% data variables.copilot.copilot_chat_short %} agent mode | [Use agent mode in VS Code](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode) |
|
||||
|
||||
Reference in New Issue
Block a user