Skip to content

Commit 7428690

Browse files
author
bamurtaugh
committed
Updates
1 parent 9d7b7b7 commit 7428690

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

blogs/2025/next-edit-suggestions.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@ Suggestions may span a single symbol, an entire line, or multiple lines, dependi
4444
## Example scenarios
4545
Copilot NES is an expert companion as you make changes that may cascade throughout your file or project. The following are a few examples where NES shines.
4646

47-
**Refactoring:** Rename a variable once in a file, and Copilot NES will suggest to update it everywhere else.
47+
**Changing intent:** Copilot NES suggests changes that match a change in intent. For example, changing a class from `point` to `point3d` will add a `z` variable to the class definition and its distance calculation.
4848
<!-- TODO: Add image -->
4949

50-
**Correcting mistakes:** Copilot NES helps with mistakes like typos. It can also help with more challenging mistakes in logic, like if a statement should've used `AND` instead of `OR`.
50+
**Adding new variables or logic:** Copilot NES helps you use new code you just added. This may be a small change, like calling a new method parameter in the actual method. It could also be more complex: if you added a new command to your VS Code extension's `extension.ts`, when you open `package.json`, NES may suggest adding that command as well.
51+
52+
**Refactoring:** Rename a variable once in a file, and Copilot NES will suggest to update it everywhere else.
5153
<!-- TODO: Add image -->
5254

53-
**Changing intent:** Copilot NES suggests changes that match a change in intent. For example, changing a function `moveCursorUp` to `moveCursorDown` should adjust all the code logically.
55+
**Correcting mistakes:** Copilot NES helps with mistakes like typos. It can also help with more challenging mistakes in logic, like if a statement should've used `AND` instead of `OR`.
5456
<!-- TODO: Add image -->
5557

5658
## Share your feedback

docs/copilot/ai-powered-suggestions.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,24 +94,24 @@ You can hover over the arrow to explore the edit suggestion menu, which includes
9494

9595
<!-- TODO: Polish entire section, add maybe an image per example -->
9696

97+
**Changing intent**
98+
99+
* **Copilot suggests changes to the rest of your code that match a new change in intent.** For example, changing a class from `point` to `point3d` will add a `z` variable to the class definition and its distance calculation.
100+
101+
**Adding new variables or logic**
102+
103+
* **Add an argument, variable, or function**. Copilot NES helps you use new code you just added. This may be a small change, like calling a new method parameter in the actual method. It could also be more complex: if you added a new command to your VS Code extension's `extension.ts`, when you open `package.json`, NES may suggest adding that command as well.
104+
97105
**Refactoring**
98106

99107
* **Rename a variable once in a file, and Copilot will suggest to update it everywhere else.** If you use a new naming pattern (like renaming a variable `index1` to `indexArr1`), Copilot suggests to rename subsequent variables similarly (like updating `index2` to `indexArr2`).
100108
* **Matching code style**. After copy-pasting some code, Copilot will suggest how to adjust it to match the current code where the paste happened.
101109

102-
**Adding new variables or arguments**
103-
104-
* **Add an argument to a function or a new variable to a class**. Copilot suggests to use those additions as appropriate, such as calling the varaible in the function, or in an upcoming `if` or `switch` statement.
105-
106110
**Correcting mistakes**
107111

108112
* **Copilot helps with 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`.
109113
* **Copilot can also help with mistakes in logic**, like where a statement should've had `<` instead of `<=`, or an `OR` statement that should've been an `AND`.
110114

111-
**Changing intent**
112-
113-
* **Copilot suggests changes to the rest of your code that match a new change in intent.** For instance, changing a function `moveCursorUp` to `moveCursorDown` should adjust all the code logically.
114-
115115
## Tips & tricks
116116

117117
### Context

0 commit comments

Comments
 (0)