HyperSource

Björn Hartmann, Mark Dhillon and Matthew K. Chan

Abstract

Programmers frequently use the Web while writing code: they search for libraries, code examples, tutorials, and documentation. This link between code and visited Web pages remains implicit today. Connecting source code and browsing histories might help programmers maintain con-text, reduce the cost of Web page re-retrieval, and enhance understanding when code is shared. This note introduces HyperSource, an IDE augmentation that associates browsing histories with source code edits. HyperSource comprises a browser extension that logs visited pages; an IDE that tracks user activity and maps pages to code edits; a source document model that tracks visited pages at a character level; and a user interface that enables interaction with these histories. We discuss relevance heuristics and privacy issues inherent in this approach. Informal log analyses and user feedback suggest that our annotation model is promising for code editing and might also apply to other document authoring tasks after refinement.

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

Cite

@inproceedings{hartmann-etal-2011-hypersource,
    title = {{HyperSource}},
    author = {Björn Hartmann and Mark Dhillon and Matthew K. Chan},
    booktitle = {Proceedings of the SIGCHI Conference on Human Factors in Computing Systems},
    isbn = {9781450302289},
    year = {2011},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/1978942.1979263},
    url = {https://doi.org/10.1145/1978942.1979263},
    abstract = {Programmers frequently use the Web while writing code: they search for libraries, code examples, tutorials, and documentation. This link between code and visited Web pages remains implicit today. Connecting source code and browsing histories might help programmers maintain con-text, reduce the cost of Web page re-retrieval, and enhance understanding when code is shared. This note introduces HyperSource, an IDE augmentation that associates browsing histories with source code edits. HyperSource comprises a browser extension that logs visited pages; an IDE that tracks user activity and maps pages to code edits; a source document model that tracks visited pages at a character level; and a user interface that enables interaction with these histories. We discuss relevance heuristics and privacy issues inherent in this approach. Informal log analyses and user feedback suggest that our annotation model is promising for code editing and might also apply to other document authoring tasks after refinement.}
}