Understanding How Programmers Can Use Annotations on Documentation
Amber Horvath, Michael Xieyang Liu, River Hendriksen, Connor Shannon, Emma Paterson, Kazi Jawad, Andrew Macvean, Brad A. Myers
Abstract
Modern software development requires developers to find and effectively utilize new APIs and their documentation, but documentation has many well-known issues. Despite this, developers eventually overcome these issues but have no way of sharing what they learned. We investigate sharing this documentation-specific information through annotations, which have advantages over developer forums as the information is contextualized, not disruptive, and is short, thus easy to author. Developers can also author annotations to support their own comprehension. In order to support the documentation usage behaviors we found, we built the Adamite annotation tool, which provides features such as multiple anchors, annotation types, and pinning. In our user study, we found that developers are able to create annotations that are useful to themselves and are able to utilize annotations created by other developers when learning a new API, with readers of the annotations completing 67% more of the task, on average, than the baseline.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f7e4e973-e8c0-46d2-ab6c-274969e15ef4Cited by top-tier papers9
- "What It Wants Me To Say": Bridging the Abstraction Gap Between End-User Programmers and Code-Generating Large Language ModelsMichael Xieyang Liu, Advait Sarkar, Carina Negreanu, Benjamin G. Zorn et al.CHI 2023 · 114 citations
- Wigglite: Low-cost Information Collection and TriageMichael Xieyang Liu, Andrew Kuznetsov, Yongsung Kim, Joseph Chee Chang et al.UIST 2022 · 62 citations
- Selenite: Scaffolding Online Sensemaking with Comprehensive Overviews Elicited from Large Language ModelsMichael Xieyang Liu, Tongshuang Wu, Tianying Chen, Franklin Mingzhe Li et al.CHI 2024 · 44 citations
- Ivie: Lightweight Anchored Explanations of Just-Generated CodeLitao Yan, Alyssa Hwang, Zhiyuan Wu, Andrew HeadCHI 2024 · 40 citations
- Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming SupportKevin Pu, Daniel Lazaro, Ian Arawjo, Haijun Xia et al.CHI 2025 · 31 citations
Builds on1
Related papers
- Using Annotations for Sensemaking About CodeAmber Horvath, Brad A. Myers, Andrew Macvean, Imtiaz RahmanUIST 2022 · 24 citations
- Demystify official API usage directives with crowdsourced API misuse scenarios, erroneous code examples and patchesXiaoxue Ren, Jiamou Sun, Zhenchang Xing, Xin Xia et al.ICSE 2020 · 28 citations
- An Analysis of the Costs and Benefits of Autocomplete in IDEsShaokang Jiang, Michael CoblenzFSE 2024 · 5 citations
- Honeysuckle: Annotation-Guided Code Generation of In-App Privacy NoticesTianshi Li, Elijah B. Neundorfer, Yuvraj Agarwal, Jason I. HongUbiComp 2021 · 18 citations
- When APIs are intentionally bypassed: an exploratory study of API workaroundsMaxime Lamothe, Weiyi ShangICSE 2020 · 14 citations
