Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Next Edit Suggestions in VS Code

Of all the recent AI-powered suggestion features pushed to VS Code by Microsoft over the last few years, the Next Edit Suggestions that rolled out in the last update have been the most obnoxious, suddenly taking up a huge amount of screen real estate and suggesting lines of code that are identical, different by a single letter, or that I would never want to make.

How can I disable them?

like image 529
Hashim Aziz Avatar asked Nov 01 '25 14:11

Hashim Aziz


2 Answers

Using the settings JSON:

  • Open the settings pane via command palette: "Open User Settings (JSON)"
  • Add a line: "github.copilot.nextEditSuggestions.enabled": false,

Using the Settings GUI:

  • Open the settings pane via command palette: "Open User Settings"
  • Type: "next edit suggestions"
  • Uncheck the checkbox "GitHub › Copilot › Next Edit Suggestions: Enabled"

enter image description here

like image 82
Cornelius Roemer Avatar answered Nov 03 '25 20:11

Cornelius Roemer


Disabling Next Edit Suggestions can be slightly counter-intuitive. The next time a Next Edit Suggestion appears, right-click on the button that appears to the left side of it and click on Settings to go its NES-specific settings. Look for the setting Github Copilot > Next Edit Suggestions > Enabled - this may already be unchecked even if the setting is enabled. Check the field once, then uncheck it, then close and reopen VS Code - you shouldn't see any of these particular suggestions again.

like image 25
Hashim Aziz Avatar answered Nov 03 '25 20:11

Hashim Aziz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!