Enhancing LLM-Based Coding Tools through Native Integration of IDE-Derived Static Context

被引:0
|
作者
Li, Yichen [1 ]
Peng, Yun [1 ]
Huo, Yintong [1 ]
Lyu, Michael R. [1 ]
机构
[1] Chinese Univ Hong Kong, Dept Comp Sci & Engn, Hong Kong, Peoples R China
关键词
Large language model; code generation;
D O I
10.1145/3643795.3648392
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Large Language Models (LLMs) have achieved remarkable success in code completion, as evidenced by their essential roles in developing code assistant services such as Copilot. Being trained on in-file contexts, current LLMs are quite effective in completing code for single source files. However, it is challenging for them to conduct repository-level code completion for large software projects that require cross-file information. Existing research on LLM-based repository-level code completion identifies and integrates crossfile contexts, but it suffers from low accuracy and limited context length of LLMs. In this paper, we argue that Integrated Development Environments (IDEs) can provide direct, accurate and realtime cross-file information for repository-level code completion. We propose IDECoder, a practical framework that leverages IDE native static contexts for cross-context construction and diagnosis results for self-refinement. IDECoder utilizes the rich cross-context information available in IDEs to enhance the capabilities of LLMs of repository-level code completion. We conducted preliminary experiments to validate the performance of IDECoder and observed that this synergy represents a promising trend for future exploration.
引用
收藏
页码:70 / 74
页数:5
相关论文
共 5 条
  • [1] Enhancing Job Recommendation through LLM-Based Generative Adversarial Networks
    Du, Yingpeng
    Luo, Di
    Yan, Rui
    Wang, Xiaopei
    Liu, Hongzhi
    Zhu, Hengshu
    Song, Yang
    Zhang, Jie
    THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 8, 2024, : 8363 - 8371
  • [2] DishAgent: Enhancing Dining Experiences through LLM-Based Smart Dishes
    Xue, Cheng
    Guo, Yijie
    Wang, Ziyi
    Shimizu, Mona
    Jeung, Jihong
    Mi, Haipeng
    PROCEEDINGS OF THE 37TH ANNUAL ACM SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, UIST ADJUNCT 2024, 2024,
  • [3] Enhancing the LLM-Based Robot Manipulation Through Human-Robot Collaboration
    Liu, Haokun
    Zhu, Yaonan
    Kato, Kenji
    Tsukahara, Atsushi
    Kondo, Izumi
    Aoyama, Tadayoshi
    Hasegawa, Yasuhisa
    IEEE ROBOTICS AND AUTOMATION LETTERS, 2024, 9 (08): : 6904 - 6911
  • [4] Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm
    Xie, Yuanzhen
    Jin, Xinzhou
    Xie, Tao
    Lin, Mingxiong
    Chen, Liang
    Yu, Chenyun
    Cheng, Lei
    Zhuo, Chengxiang
    Hu, Bo
    Li, Zang
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: ACL 2024, 2024, : 10796 - 10816
  • [5] Enhancing neuroinduction activity of PLCL-based nerve conduits through native epineurium integration
    Li, Xiao
    Mao, Xiaoyan
    Tao, Meihan
    Liang, Fang
    Tian, Xiaohong
    Fan, Jun
    Wang, Xiaohong
    Yu, Tianhao
    Ao, Qiang
    BIOMATERIALS ADVANCES, 2024, 159