[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-639351-105":59,"doc-detail-639351-en":129},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":122,"head_meta":124,"extra_data":126,"updated_unix":128},105,"en","using-an-llm-to-help-with-code-understanding-promising-in-ide-prompt-less-interaction","Using an LLM to Help With Code Understanding - Promising In-IDE Prompt-less Interaction","","Understanding code is challenging, especially in new and complex development environments where documentation is sparse or hard to navigate. The study investigates an IDE plugin that provides LLM-based conversational support for code understanding. It uses GPT-3.5-turbo with prompt-less requests to explain code, APIs, key domain terms, and usage examples, plus open-ended contextual prompts. A user study with 32 participants shows improved task completion over web search, and analyzes differing benefits for students versus professionals.",{"@graph":69,"@context":121},[70,84,104],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/using-an-llm-to-help-with-code-understanding-promising-in-ide-prompt-less-interaction/639351/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":98,"encodingFormat":97,"isAccessibleForFree":99,"interactionStatistic":100},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/using-an-llm-to-help-with-code-understanding-promising-in-ide-prompt-less-interaction/639351.png","ImageObject",300,407,{"name":92,"@type":93},"dawugda","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-22",true,{"@type":101,"interactionType":102,"userInteractionCount":4},"InteractionCounter",{"@type":103},"ViewAction",{"@type":105,"mainEntity":106},"FAQPage",[107,113,117],{"name":108,"@type":109,"acceptedAnswer":110},"What problem does the study address in code understanding?","Question",{"text":111,"@type":112},"Understanding code is difficult because needed information is scattered across sources and often poorly documented, especially for novices and unfamiliar APIs.","Answer",{"name":114,"@type":109,"acceptedAnswer":115},"How does the IDE tool interact with the LLM?",{"text":116,"@type":112},"The plugin provides prompt-less, high-level requests to an LLM to explain highlighted code, APIs, key terms, and give usage examples, while also supporting open-ended prompts contextualized to the current program.",{"name":118,"@type":109,"acceptedAnswer":119},"What evidence supports the effectiveness of the approach?",{"text":120,"@type":112},"A user study with 32 participants confirms that using the plugin helps with task completion more than web search, and the paper analyzes how usage and perceived usefulness differ between students and professionals.","https://schema.org",{"og:url":83,"og:type":123,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":125,"canonical":83},"index,follow",{"doc_id":127,"site_id":62},639351,1792703238,{"code":4,"msg":5,"data":130},{"doc_id":127,"user_id":131,"nickname":92,"user_avatar":132,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":4,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":138,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":128,"read_time":143},3985747870947,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Using an LLM to Help With Code Understanding  \nDaye Nam Carnegie Mellon University  \nU.S.A.  \n[dayen@cs.cmu.edu](dayen@cs.cmu.edu)  \nAndrew Macvean Google, Inc.  \nU.S.A.  \n[amacvean@google.com](amacvean@google.com)  \nVincent Hellendoorn Carnegie Mellon University  \nU.S.A. [vhellend@andrew.cmu.edu](vhellend@andrew.cmu.edu)  \nBogdan Vasilescu Carnegie Mellon University  \nU.S.A.  \n[vasilescu@cmu.edu](vasilescu@cmu.edu)  \nBrad Myers Carnegie Mellon University  \nU.S.A.  \n[bam@cs.cmu.edu](bam@cs.cmu.edu)  \narXiv :2307 .08 177v 3 [ cs . SE] 16 Jan 2024  \nABSTRACT  \nUnderstanding code is challenging, especially when working in new and complex development environments. Code comments and documentation can help, but are typically scarce or hard to navigate. Large language models (LLMs) are revolutionizing the process of writing code. Can they do the same for helping understand it? In this study, we provide a first investigation of an LLM-based conversational UI built directly in the IDE that is geared towards code understanding. Our IDE plugin queries OpenAI’s GPT-3.5-turbo model with four high-level requests without the user having to write explicit prompts: to explain a highlighted section of code, provide details of API calls used in the code, explain key domainspecific terms, and provide usage examples for an API. The plugin also allows for open-ended prompts, which are automatically contextualized to the LLM with the program being edited. We evaluate this system in a user study with 32 participants, which confirms that using our plugin can aid task completion more than web search. We additionally provide a thorough analysis of the ways developers use, and perceive the usefulness of, our system, among others finding that the usage and benefits differ between students and professionals. We conclude that in-IDE prompt-less interaction with LLMs is a promising future direction for tool builders.  \nACM Reference Format:  \nDaye Nam, Andrew Macvean, Vincent Hellendoorn, Bogdan Vasilescu, and Brad Myers. 2024. Using an LLM to Help With Code Understanding. In 2024 IEEE/ACM 46th International Conference on Software Engineering (ICSE’24), April 14–20, 2024, Lisbon, Portugal. ACM, New York, NY, USA, 13 pages. [https://doi.org/10.1145/3597503.3639187](https://doi.org/10.1145/3597503.3639187)  \n1 INTRODUCTION  \nBuilding and maintaining software systems requires a deep understanding of a codebase. Consequently, developers spend a significant amount of time searching and foraging for the information they need and organizing and digesting the information they  \nPermission to make digital or hard copies of part or all ofthis work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the owner/author(s) .  \nICSE ’24, April 14–20, 2024, Lisbon, Portugal © 2024 Copyright held by the owner/author(s) .  \nACM ISBN 979-8-4007-0217-4/24/04 .  \n[https://doi.org/10.1145/3597503.3639187](https://doi.org/10.1145/3597503.3639187)  \nfind [30, 31, 34, 44, 48, 57] . Understanding code, however, is a challenging task; developers need to assimilate a large amount of information about the semantics of the code, the intricacies of the APIs used, and the relevant domain-specific concepts. Such information is often scattered across multiple sources, making it challenging for developers, especially novices or those working with unfamiliar APIs, to locate what they need. Furthermore, much of the relevant information is inadequately documented or spread across different formats and mediums, where it often becomes outdated.  \nWith the growing popularity of large language model (LLM) based code generation tools [26, 54, 67], the need for information support for code understanding is arguably growing even higher. These tools can ","cbCailCKX6FlQNiu","https://ap.wps.com/l/cbCailCKX6FlQNiu","pdf",2670540,13,"English","# Abstract\n# Introduction","[{\"question\":\"What problem does the study address in code understanding?\",\"answer\":\"Understanding code is difficult because needed information is scattered across sources and often poorly documented, especially for novices and unfamiliar APIs.\"},{\"question\":\"How does the IDE tool interact with the LLM?\",\"answer\":\"The plugin provides prompt-less, high-level requests to an LLM to explain highlighted code, APIs, key terms, and give usage examples, while also supporting open-ended prompts contextualized to the current program.\"},{\"question\":\"What evidence supports the effectiveness of the approach?\",\"answer\":\"A user study with 32 participants confirms that using the plugin helps with task completion more than web search, and the paper analyzes how usage and perceived usefulness differ between students and professionals.\"}]","Using an LLM to Help With Code Understanding - Promising In-IDE Prompt-less Interaction | PDF",33]