You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/copilot-next-edit-suggestions.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,22 +76,20 @@ NES helps with repetitive changes, such as updating code syntax to modern C++ us
76
76
77
77
- Match code style. After you paste some code, NES suggests adjustments to match it with the style of the surrounding code.
78
78
79
-
## Hide Next Edit Suggestions (Preview)
79
+
## Hide Next Edit Suggestions
80
80
81
-
If you prefer a quieter editor, you can now hide Next Edit Suggestions (NES) in Visual Studio and review them only when you choose.
81
+
With the August release of Visual Studio 17.14, you can now hide Next Edit Suggestions (NES) in Visual Studio and review them only when you choose. To enable this feature, select **Tools** > **Options** > **GitHub** > **Copilot** > **Copilot Completions** > **Collapse Next Edit Suggestions**.
82
82
83
83
NES will still be triggered by your edits, but when a suggestion is available, only the margin indicator appears in the gutter, pointing to the relevant line. The suggestion itself remains hidden until you choose to view it.
84
84
85
85
:::image type="content" source="media/vs-2022/next-edit-suggestions/next-edit-suggestions-collapse.png" alt-text="Screenshot that shows NES being hidden and only gutter arrow is shown.":::
86
86
87
87
To view a hidden suggestion, click the margin indicator or press the `Tab` key. The suggestion will then be displayed. You can press `Tab` again to accept it or `Esc` to dismiss it. After accepting a suggestion, any related suggestions will automatically appear. Unrelated new suggestions will remain hidden until you choose to view them.
88
88
89
-
For example, in the following video, after changing Point to Point3D, an NES suggestion becomes available but is not shown immediately. The margin indicator and hint bar highlight a suggestion on line 4, which is displayed after clicking the indicator.
89
+
As in the following example, after changing *Point* to *Point3D*, an NES suggestion becomes available but is not shown immediately. The margin indicator and hint bar highlight a suggestion on line 4, which is displayed after clicking the indicator.
90
90
91
91
:::image type="content" source="media/vs-2022/next-edit-suggestions/next-edit-suggestions-collapse-mode.gif" alt-text="Animated screenshot showing the NES collapse mode flow.":::
92
92
93
-
To enable this feature, go to **Tools** > **Options** > **GitHub** > **Copilot** > **Copilot Completions** and select **Collapse Next Edit Suggestions**.
0 commit comments