Toward Principles for the Design of Navigation Affordances in Code Editors

Austin Z. Henley, Scott D. Fleming and Maria V. Luong

Abstract

Design principles are a key tool for creators of interactive systems; however, a cohesive set of principles has yet to emerge for the design of code editors. In this paper, we conducted a between-subjects empirical study comparing the navigation behaviors of 32 professional LabVIEW programmers using two different code-editor interfaces: the ubiquitous tabbed editor and the experimental Patchworks editor. Our analysis focused on how the programmers arranged and navigated among open information patches (i.e., code modules and program output). Key findings of our study included that Patchworks users made significantly fewer click actions per navigation, juxtaposed patches side by side significantly more, and exhibited significantly fewer navigation mistakes than tabbed-editor users. Based on these findings and more, we propose five general principles for the design of effective navigation affordances in code editors.

Venue
CHI 2017
Volume
Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3025453.3025645
PDF
https://dl.acm.org/doi/pdf/10.1145/3025453.3025645
Anthology ID
2017.chi.191

Cite

@inproceedings{henley-etal-2017-principles,
    title = {{Toward Principles for the Design of Navigation Affordances in Code Editors}},
    author = {Austin Z. Henley and Scott D. Fleming and Maria V. Luong},
    booktitle = {Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450346559},
    year = {2017},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3025453.3025645},
    url = {https://doi.org/10.1145/3025453.3025645},
    abstract = {Design principles are a key tool for creators of interactive systems; however, a cohesive set of principles has yet to emerge for the design of code editors. In this paper, we conducted a between-subjects empirical study comparing the navigation behaviors of 32 professional LabVIEW programmers using two different code-editor interfaces: the ubiquitous tabbed editor and the experimental Patchworks editor. Our analysis focused on how the programmers arranged and navigated among open information patches (i.e., code modules and program output). Key findings of our study included that Patchworks users made significantly fewer click actions per navigation, juxtaposed patches side by side significantly more, and exhibited significantly fewer navigation mistakes than tabbed-editor users. Based on these findings and more, we propose five general principles for the design of effective navigation affordances in code editors.}
}