Context representation For llm based code generation In visual studio: a systematic review
Authors
Abstract
The rapid proliferation of large language models (LLMs) is creating new opportunities for automated code generation in integrated development environments (IDEs). However, the effectiveness of these systems depends not only on the underlying LLMs but also significantly on how contextual information is represented, selected, and integrated within real-world software development workflows. In this paper, we conduct a systematic review of context representation techniques for LLM-based code generation, with a focus on IDE integration scenarios, particularly the contextual signals available in Visual Studio environments. The study follows the PRISMA methodology and analyzes 51 selected papers from reputable academic sources. Based on the synthesized findings, we propose a multidimensional taxonomy for context-aware code generation and identify key challenges related to context extraction, output reliability, human- machine interaction, and system evaluation. Finally, we outline promising research directions for developing context- aware code generation systems that are both efficient and practical for real-world IDE deployment. Keywords: Context-aware code generation; large language models; integrated development environments; systematic literature review; PRISMA.
Suggested keywords
large language models
integrated development environment
Visual Studio
context representation
context extraction
human-machine interaction
Automatically assigned by OpenAlex ↗ BibTeX
OpenAlex ↗@article{W7213865971,
author = {NGUYEN Thi Dung and DOAN Ngoc Phuong and NGUYEN Thu Phuong and NGUYEN Lan Oanh},
title = {{CONTEXT REPRESENTATION FOR LLM BASED CODE GENERATION IN VISUAL STUDIO: A SYSTEMATIC REVIEW}},
journal = {Vinh University Journal of Science},
year = {2026},
month = {6},
volume = {55},
number = {2A},
pages = {66--79},
doi = {10.56824/vujs.2026019a},
url = {https://doi.org/10.56824/vujs.2026019a}
}
Notes
Bibliographic metadata and author assignments from the institutional academic profile system.