mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 19:09:54 +01:00
9db716123d
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; } } ```