Type-Directed Completion of Partial Expressions for API Discovery

72 views · Published 17 August 2016 · 1:01:25 · Indexed 28 October 2026

Channel: Microsoft Research · 2016 · Science & Technology

Watch on YouTube

Exploring unfamiliar APIs is often difficult and time-consuming as well as being a distraction from the flow of writing code. Part of the problem is due to inconsistent intuitions on naming of methods and the namespace hierarchy of the API. We propose a novel tool to allow users to easily perform type-directed searches of available APIs as an intuitive extension of existing IDE code completion interfaces. We also explore using type-directed search for finding methods and properties and for filling in method arguments. We present evidence that this tool would be significantly more effective than existing code completion at showing a user the method call they intended to make.       (Joint work with Dan Grossman, Sumit Gulwani, and Tom Ball)

More from this channel