DocumentCode
2250812
Title
Active code completion
Author
Omar, Cyrus ; Yoon, YoungSeok ; LaToza, Thomas D. ; Myers, Brad A.
Author_Institution
Sch. of Comput. Sci., Carnegie Mellon Univ., Pittsburgh, PA, USA
fYear
2011
fDate
18-22 Sept. 2011
Firstpage
261
Lastpage
262
Abstract
In this paper, we propose a complementary technique called active code completion. When the developer invokes the code completion menu, the editor looks for a palette definition associated with the type of the expression being entered. If found, an option to use this palette is added to the code completion menu. When the developer selects this option, source code is not inserted immediately. Instead, the palette definition takes control of the code completion interface. The developer can then interact with this interface to provide parameters and other information related to her intent, and receive immediate feedback about the effect these choices will have on the object´s behavior. When the developer indicates that she is satisfied with these choices, the palette generates code that is inserted at the cursor.
Keywords
graphical user interfaces; source coding; visual programming; active code completion menu; code completion interface; palette definition; receive immediate feedback; source code; Bridges; Context; Java; Software; Software engineering; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Visual Languages and Human-Centric Computing (VL/HCC), 2011 IEEE Symposium on
Conference_Location
Pittsburgh, PA
ISSN
1943-6092
Print_ISBN
978-1-4577-1246-3
Type
conf
DOI
10.1109/VLHCC.2011.6070422
Filename
6070422
Link To Document