一句话:指出 IDE 代码补全受限于单 token 的语法或 NLP 方法,并提出 CodeFill 以应对其不足。
代码补全是 IDE 的核心功能,但现有自动补全器要么基于语法、要么基于 NLP,且均局限于单 token 补全。基于语法的补全在动态类型语言环境中受限;基于 NLP 的补全器则难以理解编程语言语义与开发者的代码上下文。作者提出 CodeFill(标题),旨在克服上述两类方法的缺陷。所提供的摘要仅阐述了问题背景,未给出具体方法、实现或评估结果,因此无法概述其技术路线与实验结论。
Code completion is an essential feature of IDEs, yet current auto-completers are restricted to either grammar-based or NLP-based single token completions. Both approaches have significant drawbacks: grammar-based autocompletion is restricted in dynamically-typed language environments, whereas NLP-based autocompleters struggle to understand the semantics of the programming language and the developer's code context.