-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
copilot: Add support for Next Edit Suggestion #44486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It was only supported by the old API of copilot anyways
This comment was marked as spam.
This comment was marked as spam.
…ectly on SSH remotes
HactarCE
pushed a commit
that referenced
this pull request
Dec 17, 2025
This PR introduces support for Next Edit Suggestions while doing away with calling legacy endpoints. In the process we've also removed support for cycling completions, as NES will give us a single prediction, for the most part. Closes #30124 Release Notes: - Zed now supports Copilot's [Next Edit Suggestions](https://code.visualstudio.com/blogs/2025/02/12/next-edit-suggestions).
morgankrey
added a commit
that referenced
this pull request
Dec 22, 2025
## Changes Applied - **docs/src/ai/edit-prediction.md (GitHub Copilot section)**: Added description of Next Edit Suggestions (NES) as the mechanism for providing intelligent, context-aware inline predictions. Removed the deprecated paragraph about cycling through multiple predictions using `editor::NextEditPrediction` and `editor::PreviousEditPrediction`. - **docs/src/ai/edit-prediction.md (Codestral section)**: Updated configuration instructions to use the Settings Editor (AI > Edit Predictions) instead of the Agent Panel settings view. - **docs/src/configuring-zed.md (Edit Predictions)**: Added mention that edit prediction providers can be configured through the Settings Editor under **AI > Edit Predictions**. ## Summary for PR Updated edit prediction documentation to reflect new features: added support for GitHub Copilot's Next Edit Suggestions (NES) which provides single, high-quality suggestions instead of cycling through alternatives, updated Codestral configuration to use the new Settings UI path (AI > Edit Predictions), and added a Settings UI reference to the main configuration documentation. Triggered by: PR #44486 Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
rtfeldman
pushed a commit
that referenced
this pull request
Jan 5, 2026
This PR introduces support for Next Edit Suggestions while doing away with calling legacy endpoints. In the process we've also removed support for cycling completions, as NES will give us a single prediction, for the most part. Closes #30124 Release Notes: - Zed now supports Copilot's [Next Edit Suggestions](https://code.visualstudio.com/blogs/2025/02/12/next-edit-suggestions).
This was referenced Jan 8, 2026
LivioGama
pushed a commit
to LivioGama/zed
that referenced
this pull request
Jan 20, 2026
This PR introduces support for Next Edit Suggestions while doing away with calling legacy endpoints. In the process we've also removed support for cycling completions, as NES will give us a single prediction, for the most part. Closes zed-industries#30124 Release Notes: - Zed now supports Copilot's [Next Edit Suggestions](https://code.visualstudio.com/blogs/2025/02/12/next-edit-suggestions).
LivioGama
pushed a commit
to LivioGama/zed
that referenced
this pull request
Jan 20, 2026
This PR introduces support for Next Edit Suggestions while doing away with calling legacy endpoints. In the process we've also removed support for cycling completions, as NES will give us a single prediction, for the most part. Closes zed-industries#30124 Release Notes: - Zed now supports Copilot's [Next Edit Suggestions](https://code.visualstudio.com/blogs/2025/02/12/next-edit-suggestions).
osiewicz
pushed a commit
that referenced
this pull request
Jan 23, 2026
Adds a new setting to GitHub Copilot to toggle the Next Edit Suggestions feature, it is enabled by default. ## Motivations Due to some current usability issues with this feature, see #46880, and some personal anecdotes of using it, it is currently rough to utilize, so this gives the option to disable it. ## Related - #47071 - #30124 - #44486 ## Release Notes - Adds the ability to disable GitHub Copilot's Next Edit Suggestions feature. ## User Interface  ## Text Example The text example will be adding a `z` variable to a `Point3D` class in TypeScript. ### With Next Edit Suggestions In this example I am able to just press auto-complete (press TAB) 3x. ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: suggested constructor(x: number, y: number , z: number // <-- Next Suggestion ) { this.x = x; this.y = y; this.z = z; // <-- Last Suggestion } } ``` ### Without Next Edit Suggestions ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: the only suggestion constructor(x: number, y: number) { this.x = x; this.y = y; } } ```
github-actions bot
pushed a commit
that referenced
this pull request
Jan 23, 2026
Adds a new setting to GitHub Copilot to toggle the Next Edit Suggestions feature, it is enabled by default. ## Motivations Due to some current usability issues with this feature, see #46880, and some personal anecdotes of using it, it is currently rough to utilize, so this gives the option to disable it. ## Related - #47071 - #30124 - #44486 ## Release Notes - Adds the ability to disable GitHub Copilot's Next Edit Suggestions feature. ## User Interface  ## Text Example The text example will be adding a `z` variable to a `Point3D` class in TypeScript. ### With Next Edit Suggestions In this example I am able to just press auto-complete (press TAB) 3x. ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: suggested constructor(x: number, y: number , z: number // <-- Next Suggestion ) { this.x = x; this.y = y; this.z = z; // <-- Last Suggestion } } ``` ### Without Next Edit Suggestions ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: the only suggestion constructor(x: number, y: number) { this.x = x; this.y = y; } } ```
github-actions bot
pushed a commit
that referenced
this pull request
Jan 23, 2026
Adds a new setting to GitHub Copilot to toggle the Next Edit Suggestions feature, it is enabled by default. ## Motivations Due to some current usability issues with this feature, see #46880, and some personal anecdotes of using it, it is currently rough to utilize, so this gives the option to disable it. ## Related - #47071 - #30124 - #44486 ## Release Notes - Adds the ability to disable GitHub Copilot's Next Edit Suggestions feature. ## User Interface  ## Text Example The text example will be adding a `z` variable to a `Point3D` class in TypeScript. ### With Next Edit Suggestions In this example I am able to just press auto-complete (press TAB) 3x. ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: suggested constructor(x: number, y: number , z: number // <-- Next Suggestion ) { this.x = x; this.y = y; this.z = z; // <-- Last Suggestion } } ``` ### Without Next Edit Suggestions ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: the only suggestion constructor(x: number, y: number) { this.x = x; this.y = y; } } ```
zed-zippy bot
added a commit
that referenced
this pull request
Jan 23, 2026
…erry-pick to stable) (#47482) Cherry-pick of #47438 to stable ---- Adds a new setting to GitHub Copilot to toggle the Next Edit Suggestions feature, it is enabled by default. ## Motivations Due to some current usability issues with this feature, see #46880, and some personal anecdotes of using it, it is currently rough to utilize, so this gives the option to disable it. ## Related - #47071 - #30124 - #44486 ## Release Notes - Adds the ability to disable GitHub Copilot's Next Edit Suggestions feature. ## User Interface  ## Text Example The text example will be adding a `z` variable to a `Point3D` class in TypeScript. ### With Next Edit Suggestions In this example I am able to just press auto-complete (press TAB) 3x. ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: suggested constructor(x: number, y: number , z: number // <-- Next Suggestion ) { this.x = x; this.y = y; this.z = z; // <-- Last Suggestion } } ``` ### Without Next Edit Suggestions ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: the only suggestion constructor(x: number, y: number) { this.x = x; this.y = y; } } ``` Co-authored-by: André Eriksson <andreeriksson444@gmail.com>
zed-zippy bot
added a commit
that referenced
this pull request
Jan 23, 2026
…erry-pick to preview) (#47481) Cherry-pick of #47438 to preview ---- Adds a new setting to GitHub Copilot to toggle the Next Edit Suggestions feature, it is enabled by default. ## Motivations Due to some current usability issues with this feature, see #46880, and some personal anecdotes of using it, it is currently rough to utilize, so this gives the option to disable it. ## Related - #47071 - #30124 - #44486 ## Release Notes - Adds the ability to disable GitHub Copilot's Next Edit Suggestions feature. ## User Interface  ## Text Example The text example will be adding a `z` variable to a `Point3D` class in TypeScript. ### With Next Edit Suggestions In this example I am able to just press auto-complete (press TAB) 3x. ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: suggested constructor(x: number, y: number , z: number // <-- Next Suggestion ) { this.x = x; this.y = y; this.z = z; // <-- Last Suggestion } } ``` ### Without Next Edit Suggestions ```ts class Point3D { x: number; y: number; z: number; // <-- Cursor before z: the only suggestion constructor(x: number, y: number) { this.x = x; this.y = y; } } ``` Co-authored-by: André Eriksson <andreeriksson444@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces support for Next Edit Suggestions while doing away with calling legacy endpoints. In the process we've also removed support for cycling completions, as NES will give us a single prediction, for the most part.
Closes #30124
Release Notes: