An Efficient and Adaptive Next Edit Suggestion Framework with Zero Human Instructions in IDEs

Xinfang Chen, Siyang Xiao, Xianying Zhu, Junhong Xie, Ming Liang +4 more
8/4/2025
cs.SEcs.LG

No confident code implementation found for this paper.

Abstract

Code editing, including modifying, refactoring, and maintaining existing code, is the most frequent task in software development and has garnered significant attention from AI-powered tools. However, existing solutions that translate explicit natural language instructions into code edits face critical limitations, such as heavy reliance on human instruction input and high latency, which hinder their effective integration into a developer's workflow. We observe that developers' habitual behaviors and coding objectives are often reflected in their historical editing patterns, making this data key to addressing existing limitations. To leverage these insights, we propose NES (Next Edit Suggestion), an LLM-driven code editing framework that delivers an instruction-free and low-latency experience. Built on a dual-model architecture and trained with our high-quality SFT and DAPO datasets, NES enhances productivity by understanding developer intent while optimizing inference to minimize latency. NES is a scalable, industry-ready solution with a continuous Tab key interaction workflow, seamlessly adopted by a FinTech company with over 20,000 developers. Evaluations on real-world datasets show NES achieves 75.6% and 81.6% accuracy in two tasks of predicting next edit locations, alongside 91.36% ES and 27.7% EMR for intent-aligned edits, outperforming SOTA models. Our open-sourced SFT and DAPO datasets have been demonstrated to enhance the performance of open-source CodeLLMs. The demonstration of NES is available at https://youtu.be/yGoyYOe6fbY.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2025efficient,
  title  = {An Efficient and Adaptive Next Edit Suggestion Framework with Zero Human Instructions in IDEs},
  author = {Xinfang Chen and Siyang Xiao and Xianying Zhu and Junhong Xie and Ming Liang and Dajun Chen and Wei Jiang and Yong Li and Peng Di},
  year   = {2025},
  eprint = {2508.02473},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.02473v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.02473.svg)](https://codeofpaper.com/paper/2508.02473)

Discussion