# Building Long-Distance Next Edit Suggestions

DevFeed: [Building Long-Distance Next Edit Suggestions](<https://devfeed.tech/articles/building-long-distance-next-edit-suggestions-4045.md>)

Original publisher: [Read original article](<https://code.visualstudio.com/blogs/2026/02/26/long-distance-nes>)

Author: Vikram Duvvur, Gaurav Mittal, Benjamin Simmonds

Published: 2026-02-26T00:00:00Z

Content type: article

Language: en

Sources: [Visual Studio Code - Code Editing. Redefined.](<https://devfeed.tech/sources/visual-studio-code-code-editing-redefined.md>)

Topics: [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [github-copilot](<https://devfeed.tech/tags/github-copilot.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>)

## AI overview

The article describes long-distance next edit suggestions in GitHub Copilot, which predict edits elsewhere in the current file. It uses a dedicated location model to choose where to jump, followed by the existing NES model to generate a local edit.

## Source excerpt

Learn how we extended next edit suggestions to work across your entire file, reducing friction and improving productivity in GitHub Copilot. Read the full article