Browse Prior Art Database

Method and System for Voice-based Real-Time and Dynamically Suggested Similar Code Blocks while Programming

IP.com Disclosure Number: IPCOM000243285D
Publication Date: 2015-Sep-18
Document File: 3 page(s) / 71K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed are a method and system that enable software programmers, while coding, to speak or type search entries for online code-related materials. The system filters the search results by the programmer’s typing code block area in order to further improve the quality of the similar codes.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 01 of 3

Method and System for Voice-based Real-Time and Dynamically Suggested Similar Code Blocks while Programming

Software developers must quickly produce code in order to match the fast-paced software development lifecycle. Additionally, software developers must self-learn from similar codes. Programmers commonly search for similar codes every time problems are faced, which is inefficient. In addition, the results are highly dependent on the searching skills.

Current solutions use two mechanisms to avoid repeatedly typing common code blocks. The first mechanism is a user-defined combination of keystrokes. The user-defined combination of keystrokes needs programmers to remember many combinations and the user-defined code blocks cannot cover all scenarios. The second mechanism is pop-up typing hints presented in Integrated Development Environments (IDEs). The popup-hints only for auto-complete and typing-look-ahead, which are not code blocks.

A method or system is needed to prevent software developers from repeatedly typing common code blocks while allowing developers to quickly learn from the existing similar codes.

The novel contribution is a method and system that enables the programmers , while coding, to speak or type search entries for online code-related materials (e.g., code repositories, code manuals, code tutorials, stack overflow, etc.). The system filters the search results by the programmer's typing code block area in order to further improve the quality of the similar codes .

Figure: Workflow

1


Page 02 of 3

As illustrated in the workflow figure,...