Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.augmentcode.com/llms.txt

Use this file to discover all available pages before exploring further.

About Next Edit

Support for this feature will be deprecated on March 31, 2026 for Indie, Standard Max, and Legacy plans. Enterprise plans will continue to be supported. Read more.
Next Edit helps you complete your train of thought by suggesting changes based on your recent work and other context. You can jump to the next edit and quickly accept or reject the suggested change with a single keystroke.

Using Next Edit

When Next Edit has a suggestion available, you will see a gutter icon and a summary of the change in gray at the end of the line. To jump to the next suggestion, press and after reviewing the change, press to accept or to reject. If there are multiple changes, press to accept and go to the next suggestion. By default, Next Edit will briefly highlight which parts of the existing code will change before applying the change and highlighting the new code. Use Undo () and Redo () to manually review the change. You can configure this behavior in your Augment extension settings.

Keyboard Shortcuts

ActionDefault shortcut
Go to next
Go to previous
Accept suggestion
Reject suggestion

Next Edit Indicators And Actions

There are several indicators to let you know Next Edits are available:
  1. Editor Title Icon (Top Right): Changes colors when next edits are available. Click on the icon to open the next edit menu for additional actions like enabling/disabling the feature or accessing settings.
  2. Gutter Icon (Left) - Indicates which lines will be changed by the suggestion and whether it will insert, delete or change code.
  3. Grey Text (Right) - appears on the line with the suggestion on screen with a brief summary of the change and the keybinding to press (typically ).
  1. Hint Box (Bottom Left) - appears when the next suggestion is off screen with brief summary of the change and the keybinding to press (typically ).
The tooltip also presents a few actions as icons:
  • Toggles showing diffs for suggestions in the tooltip.
  • Opens Next Edit settings.

Next Edit Settings

You can configure Next Edit settings in your Augment extension settings. To open Augment extension settings, either navigate to the option through the pencil menu, or open the Augment Commands panel by pressing and select . The settings below can also be edited directly in your settings.json:
SettingDefaultDescription
augment.nextEdit.enableBackgroundSuggestionstrueEnable Next Edit to run in the background and suggest changes in the editor. Disable to turn the feature off.
augment.nextEdit.enableGlobalBackgroundSuggestionsfalseEnable Next Edit to hint changes in files beyond the active editor tab.
augment.nextEdit.enableAutoApplytrueAutomatically apply suggestions when you jump to them.
augment.nextEdit.showDiffInHoverfalseShow a diff of the suggested change in the hover.
augment.nextEdit.highlightSuggestionsInTheEditorfalseHighlight all lines with a suggestion in addition to showing gutter icons and gray hint-text.