docs/ide-extensions/autocomplete/next-edit.mdx
Next Edit is an advanced AI-powered code prediction feature that anticipates what changes you'll make next in your code. Unlike traditional autocomplete that reacts to your typing, Next Edit proactively analyzes your recent edits and coding patterns to suggest entire code modifications before you even start typing.
Think of it as having an AI pair programmer that understands your coding flow and suggests the logical next step in your development process.
Next Edit activates automatically when:
**Next Edit**: Predicts entire code modifications across multiple lines
**Next Edit**: Displays diff overlays showing before/after changes, while also displaying ghost text if the change is purely additive.
<Accordion title="Timing">
**Autocomplete**: Reactive - responds to what you're currently typing
**Next Edit**: Proactive - anticipates what you'll do next
</Accordion>
**Next Edit**: Analyzes recent edit patterns and broader code context
Next Edit requires:
Next Edit requires AI models specifically trained for code prediction:
Continue automatically enables Next Edit when:
Next Edit represents Continue's vision for proactive AI coding assistance that anticipates developer needs rather than just reacting to input. As this feature evolves, it will become a powerful tool for accelerating development workflows and reducing repetitive coding tasks.