Skip to content

Commit f7de401

Browse files
committed
Update quickstart for 1.96
1 parent 9434d2b commit f7de401

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

docs/copilot/getting-started.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,30 +126,34 @@ As you're working in a new codebase, or exploring a new programming language, yo
126126

127127
## Make edits across multiple files with Copilot Edits (preview)
128128

129-
Larger code changes might involve making edits to multiple files. With Copilot Edits, you can get AI-powered suggestions inline in the editor, across multiple files in your workspace.
129+
Larger code changes might involve making edits to multiple files. With Copilot Edits, you can get AI-powered suggestions inline in the editor, across multiple files in your workspace. Instead of applying individual code blocks, Copilot Edits makes edits across your workspace.
130130

131131
Let's use Copilot Edits to return the contents of an HTML file in a web server response.
132132
133133
1. Select **Open Copilot Edits** from the Command Center Copilot menu or press `kb(workbench.action.chat.openEditSession)`.
134134
135135
![Screenshot showing the Copilot menu in the Command Center, highlighting the Open Edit Session item](images/copilot-edits/copilot-command-center-open-edit-session.png)
136136
137-
1. The Copilot Edits view is opened. Notice that the `server.ts` file is added to the *Working Set*.
137+
1. The Copilot Edits view is opened. Notice that the `server.ts` file is added to the *working set*.
138138
139-
The Working Set contains the files that can be modified by Copilot Edits. If the file is not added, use **Add Files...* to add the file to the Working Set.
139+
The working set contains the files that can be modified by Copilot Edits. If the file is not added, use **Add Files...* to add the file to the working set.
140140
141-
![Screenshot of the Copilot Edits view, showing the Working Set with the `server.ts` file.](./images/getting-started/copilot-edits-working-set.png)
141+
![Screenshot of the Copilot Edits view, showing the working set with the `server.ts` file.](./images/getting-started/copilot-edits-working-set.png)
142142
143143
1. Enter *Return a static html page as the home page and implement it.* in the chat input field and press `kbstyle(Enter)` to start a new edit session.
144144
145-
Notice that Copilot Edits updates the `server.ts` file to return a static HTML page in the web server response. It also adds a new file `index.html` to the workspace.
145+
Notice that Copilot Edits makes multiple edits: it updates the `server.ts` file to return a static HTML page, and it also adds a new file `index.html`.
146146
147147
![Screenshot of VS Code editor, showing the Copilot Edits response for returning a static HTML page in the web server response.](./images/getting-started/copilot-edits-html-response.png)
148148
149149
1. If you're happy with the results, select **Accept** to apply all suggested changes.
150150

151151
![Screenshot of the Copilot Edits view, highlighting the Accept button to apply the changes.](./images/getting-started/copilot-edits-accept.png)
152152

153+
You can also navigate between the different edited files and accept/discard them by using the editor overlay controls.
154+
155+
![Screenshot of the Copilot Edits view, highlighting editor overlay controls to navigate between edits and accept or discard them.](./images/getting-started/copilot-edits-overlay-controls.png)
156+
153157
## Fix coding errors with Copilot
154158

155159
Aside from inline completions and chat conversations, GitHub Copilot is available in different places and throughout your developer flow in VS Code. You might notice the presence of Copilot functionality through the *sparkle* icon in the VS Code user interface.
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)