Skip to content

Commit 8de1286

Browse files
committed
Update in docs too
1 parent 9c27c36 commit 8de1286

File tree

10 files changed

+19
-20
lines changed

10 files changed

+19
-20
lines changed

docs/copilot/ai-powered-suggestions.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ The following example shows how to instruct Copilot to create a class in TypeScr
6565

6666
Inline suggestions are great at autocompleting a section of code. But since most coding activity is editing existing code, it's a natural evolution of Copilot code completions to also help with edits, both at the cursor and further away. Edits are often not made in isolation - there's a logical flow of what edits need to be made in different scenarios. Copilot Next Edit Suggestions (aka "Copilot NES") is this evolution.
6767

68-
<video src="./images/inline-suggestions/nes-video-silent.mp4" title="Copilot NES video" controls poster="/assets/blogs/2025/02/05/point3d.png"></video>
69-
<!-- TODO: Update to video with voiceover from Olivia -->
68+
<video src="./images/inline-suggestions/nes-video.mp4" title="Copilot NES video" controls poster="/assets/blogs/2025/02/05/point3d.png"></video>
7069

7170
Based on the edits you're making, Copilot NES both predicts the location of the next edit you'll want to make and what that edit should be. NES helps you stay in the flow, suggesting future changes relevant to your current work, and you can simply `kbstyle(Tab)` to quickly navigate and accept Copilot's suggestions. Suggestions may span a single symbol, an entire line, or multiple lines, depending on the scope of the potential change.
7271

@@ -97,7 +96,7 @@ If an edit suggestion is below the current editor view, the arrow will point dow
9796

9897
* **Copilot helps with simple mistakes like typos.** It'll suggest fixes where letters are missing or swapped, like `cont x = 5` or `conts x = 5`, which should've been `const x = 5`.
9998
![NES fixing a typo from "conts" to "const"](./images/inline-suggestions/nes-typo.gif)
100-
* **Copilot can also help with more challenging mistakes in logic**, like where a statement should've had `<` instead of `<=`:
99+
* **Copilot can also help with more challenging mistakes in logic**, like an inverted ternary expression:
101100
![NES fixing a fibonacci logic mistake](./images/inline-suggestions/nes-fib-logic.gif)
102101
Or a comparison that should've used `&&` instead of `||`:
103102
![NES fixing an if statement mistake](./images/inline-suggestions/nes-de-morgan.gif)
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading
Lines changed: 2 additions & 2 deletions
Loading

docs/copilot/images/inline-suggestions/nes-video-silent.mp4

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:1f7685dce9fe7cfa389fd073c46e862e365af54f7603beb5e9f83b610228c8a1
3+
size 5089301

0 commit comments

Comments
 (0)