# copilot: Add the option to disable Next Edit Suggestions \(\#47438\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9db716123d23ffabb8b2a7ce95d583545ed1bcaa)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9db716123d23ffabb8b2a7ce95d583545ed1bcaa

Requested commit: 9db716123d23ffabb8b2a7ce95d583545ed1bcaa

Commit: 9db716123d23ffabb8b2a7ce95d583545ed1bcaa

Tree: 09a21b044881a2f97aa09e77efbdbb05605f5f16

Author: André Eriksson

Committer: GitHub

## Message

````
copilot: Add the option to disable Next Edit Suggestions (#47438)

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

![image](https://github.com/user-attachments/assets/5a3d7166-68dd-4f5b-a220-0a9bd9282cd5)
## 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;
    }
}
```
````

## Parents

- [30ca3ac44ef8a0497c0806ead7343c3001954669](https://git.cafe/gitcafe/zed/commit/30ca3ac44ef8a0497c0806ead7343c3001954669?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9db716123d23ffabb8b2a7ce95d583545ed1bcaa?format=markdown)
