Supporting Web-Based API Searches in the IDE Using Signatures
Nick C. Bradley, Thomas Fritz, Reid Holmes
Abstract
Developers frequently use the web to locate API examples that help them solve their programming tasks. While sites like Stack Overflow (SO) contain API examples embedded within their textual descriptions, developers cannot access this API knowledge directly. Instead they need to search for and browse results to select relevant SO posts and then read through individual posts to figure out which answers contain information about the APIs that are relevant to their task. This paper introduces an approach, called Scout, that automatically analyzes search results to extract API signature information. These signatures are used to group and rank examples and allow for a unique API-based presentation that reduces the amount of information the developer needs to consider when looking for API information on the web. This succinct representation enables Scout to be integrated fully within an IDE panel so that developers can search and view API examples without losing context on their development task. Scout also uses this integration to automatically augment queries with contextual information that tailors the developer's queries, and ranks the results according to the developer's needs. In an experiment with 40 developers, we found that Scout reduces the number of queries developers need to perform by 19% and allows them to solve almost half their tasks directly from the API-based representation, reducing the number of complete SO posts viewed by approximately 64%.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 83cb5c1d-ca04-4549-8b1f-0d8cdb4d39b5Builds on5
- When the Tab Comes Due: Challenges in the Cost Structure of Browser Tab UsageJoseph Chee Chang, Nathan Hahn, Yongsung Kim, Julina Coupland et al.CHI 2021 · 24 citations
- Recommending stack overflow posts for fixing runtime exceptions using failure scenario matchingSonal Mahajan, Negarsadat Abolhassani, Mukul R. PrasadFSE 2020 · 21 citations
- Characterizing search activities on stack overflowJiakun Liu, Sebastian Baltes, Christoph Treude, David Lo et al.FSE 2021 · 16 citations
- Supporting Software Developers' Focused Work on Window-Based DesktopsJan Pilzer, Raphael Rosenast, André N. Meyer, Elaine M. Huang et al.CHI 2020 · 8 citations
- Do you really code? Designing and Evaluating Screening Questions for Online Surveys with ProgrammersAnastasia Danilova, Alena Naiakshina, Stefan Horstmann, Matthew SmithICSE 2021 · 5 citations
Related papers
- Digging for fold: synthesis-aided API discovery for HaskellMichael B. James, Zheng Guo, Ziteng Wang, Shivani Doshi et al.OOPSLA 2020 · 19 citations
- Generating Concept based API Element Comparison Using a Knowledge GraphYang Liu, Mingwei Liu, Xin Peng, Christoph Treude et al.ASE 2020 · 28 citations
- Improving API Knowledge Discovery with ML: A Case Study of Comparable API MethodsDaye Nam, Brad A. Myers, Bogdan Vasilescu, Vincent J. HellendoornICSE 2023 · 6 citations
- An Analysis of the Costs and Benefits of Autocomplete in IDEsShaokang Jiang, Michael CoblenzFSE 2024 · 5 citations
- ScrAPIr: Making Web Data APIs Accessible to End UsersTarfah Alrashed, Jumana Almahmoud, Amy X. Zhang, David R. KargerCHI 2020 · 16 citations
