RACK: Code Search in the IDE using Crowdsourced Knowledge
Mohammad Masudur Rahman, Chanchal K. Roy, David Lo

TL;DR
RACK is an IDE tool that improves code search by translating natural language queries into API-based searches using crowdsourced knowledge from Stack Overflow, making code retrieval more effective and user-friendly.
Contribution
It introduces a novel approach that automatically mines and translates natural language queries into API-based searches using Stack Overflow data, integrated within the IDE.
Findings
Effective retrieval of relevant code snippets from open-source projects.
Improved code search accuracy with natural language queries.
Seamless integration within the IDE environment.
Abstract
Traditional code search engines often do not perform well with natural language queries since they mostly apply keyword matching. These engines thus require carefully designed queries containing information about programming APIs for code search. Unfortunately, existing studies suggest that preparing an effective query for code search is both challenging and time consuming for the developers. In this paper, we propose a novel code search tool--RACK--that returns relevant source code for a given code search query written in natural language text. The tool first translates the query into a list of relevant API classes by mining keyword-API associations from the crowdsourced knowledge of Stack Overflow, and then applies the reformulated query to GitHub code search API for collecting relevant results. Once a query related to a programming task is submitted, the tool automatically mines…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Open Source Software Innovations · Wikis in Education and Collaboration
