journal article·2019-10-31Open access

CoVSCode: A Novel Real-Time Collaborative Programming Environment for Lightweight IDE

Hongfei Fan, Kun Li, Xiangzhen Li, Tianyou Song, Wenzhe Zhang, Yang Shi, Bowen Du

Applied Sciences· Volume 9· Issue 21

Abstract

Real-time collaborative programming is an emerging approach that supports a team of programmers to view and edit shared source code at the same time. Each programmer can edit any part of the source code, and changes become instantly visible at other collaborating sites. With a broad range of application scenarios and benefits, real-time collaborative programming has attracted increasing interest from academia and industry. Lightweight integrated development environments (lightweight IDEs) have rapidly grown in popularity in the recent years, but there are serious problems and limitations with existing real-time collaboration support for lightweight IDEs. In this study, we contribute a novel real-time collaborative programming environment named CoVSCode that supports unconstrained and flexible real-time collaboration based on Visual Studio Code, one of the most popular and widely used lightweight IDEs. We present design objectives and rationales, the workflow and functional design from collaborating programmers’ perspectives, major technical issues and solutions, and prototype implementation, as well as a set of experimental evaluations that have demonstrated the technical feasibility and good performance of the prototype system. All approaches, techniques and solutions derived in this work are generic, which can also be applied in building real-time collaborative programming environments for other lightweight IDEs.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Usability and User Interface Design · Advanced Software Engineering Methodologies · Software Engineering Techniques and Practices

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Software Engineering, Tongji University, Shanghai 201804, China

Department of Computer Science, University of Warwick, Coventry CV4 7AL, UK

Funding

National Natural Science Foundation of China · Shanghai Sailing Program · National Key Research and Development Program of China · National Critical Science and Technology Infrastructure Program · Fundamental Research Funds for the Central Universities

References (41)

Show source-provided references
1. Fan, H., Sun, C., and Shen, H. (2012, January 27–31). ATCoPE: Any-time collaborative programming environment for seamless integration of real-time and non-real-time teamwork in software development. Proceedings of the 17th ACM International Conference on Supporting Group Work—Group’12, Sanibel Island, FL, USA.10.1145/2389176.2389194 ↗
2. (2019, October 28). Git. Available online: https://git-scm.com.
3. Fan, H., and Sun, C. (2012, January 23–25). Achieving integrated consistency maintenance and awareness in real-time collaborative programming environments: The CoEclipse approach. Proceedings of the 2012 IEEE 16th International Conference on Computer Supported Cooperative Work in Design (CSCWD), Wuhan, China.10.1109/CSCWD.2012.6221803 ↗
4. Goldman, M., Little, G., and Miller, R.C. (2011, January 21). Collabode: Collaborative coding in the browser. Proceedings of the 4th International Workshop on Cooperative and Human Aspects of Software Engineering—CHASE’11, Waikiki, HI, USA.10.1145/1984642.1984658 ↗
5. Goldman, M., Little, G., and Miller, R.C. (2011, January 16–19). Real-time collaborative coding in a web IDE. Proceedings of the 24th Annual ACM Symposium on User Interface Software and Technology—UIST’11, Santa Barbara, CA, USA.10.1145/2047196.2047215 ↗
6. Lautamäki, J., Nieminen, A., Koskinen, J., Aho, T., Mikkonen, T., and Englund, M. (2012, January 11–15). CoRED: Browser-based Collaborative Real-time Editor for Java web applications. Proceedings of the ACM 2012 Conference on Computer Supported Cooperative Work—CSCW’12, Seattle, WA, USA.10.1145/2145204.2145399 ↗
7. Feldman, M.S. (2014). CodeSync: A Collaborative Coding Environment for Novice Web Developers, Wellesley College.
8. Guo, P.J., White, J., and Zanelatto, R. (2015, January 18–22). Codechella: Multi-user program visualizations for real-time tutoring and collaborative learning. Proceedings of the 2015 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC), Atlanta, GA, USA.10.1109/VLHCC.2015.7357201 ↗
9. CodeR: Real-time Code Editor Application for Collaborative Programming10.1016/j.procs.2015.07.531 ↗
10. Rantala, M.R.J. (2015). Real-Time Collaborative Coding-Technical and Group Work Challenges. [Master’s Thesis, Tampere University].
11. Chen, Y., Lee, S.W., Xie, Y., Yang, Y., Lasecki, W.S., and Oney, S. (2017, January 6–11). Codeon: On-Demand Software Development Assistance. Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems—CHI’17, Denver, CO, USA.10.1145/3025453.3025972 ↗
12. Deng, X. (2017). Group Collaboration with App Inventor. [Master’s Thesis, Massachusetts Institute of Technology].
13. Fan, H., Gao, J., Zhu, H., Liu, Q., Shi, Y., and Sun, C. (2017, January 22–23). Balancing Conflict Prevention and Concurrent Work in Real-Time Collaborative Programming. Proceedings of the 12th Chinese Conference on Computer Supported Cooperative Work and Social Computing—ChineseCSCW’17, Chongqing, China.10.1145/3127404.3127447 ↗
14. Warner, J., and Guo, P.J. (2017, January 6–11). CodePilot: Scaffolding End-to-End Collaborative Software Development for Novice Programmers. Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems-CHI’17, Denver, CO, USA.10.1145/3025453.3025876 ↗
15. Zhang, J. (2018). An Investigation of Technology Design Features for Supporting Real-Time Collaborative Programming in an Educational Environment. [Master’s Thesis, Pennsylvania State University].
16. (2019, October 28). Sublime Text. Available online: https://www.sublimetext.com.
17. (2019, October 28). Atom. Available online: https://atom.io.
18. (2019, October 28). Visual Studio Code. Available online: https://code.visualstudio.com.
19. (2019, August 22). Stack Overflow Developer Survey Results 2019. Available online: https://insights.stackoverflow.com/survey/2019.
20. Sun, C., and Ellis, C. (1998, January 14–18). Operational transformation in real-time group editors: Issues, algorithms, and achievements. Proceedings of the 1998 ACM Conference on Computer Supported Cooperative Work—CSCW’98, Seattle, WA, USA.10.1145/289444.289469 ↗
21. Achieving convergence, causality preservation, and intention preservation in real-time cooperative editing systems10.1145/274444.274447 ↗
22. Transparent adaptation of single-user applications for multi-user real-time collaboration10.1145/1188816.1188821 ↗
23. Context-Based Operational Transformation in Distributed Collaborative Editing Systems10.1109/TPDS.2008.240 ↗
24. Xu, Y., Sun, C., and Li, M. (2014, January 15–19). Achieving Convergence in Operational Transformation: Conditions, Mechanisms and Systems. Proceedings of the 17th ACM Conference on Computer Supported Cooperative Work Social Computing—CSCW’14, Baltimore, MD, USA.10.1145/2531602.2531629 ↗
25. Sun, C. (2019, August 22). OT FAQ: Operational Transformation Frequently Asked Questions and Answers. Available online: https://www.ntu.edu.sg/home/czsun/projects/otfaq/.
26. Sun, C. (2017, January 26–28). Reflections on cOllaborative Editing Research: From Academic Curiosity to Real-World Application. Proceedings of the 2017 IEEE 21st International Conference on Computer Supported Cooperative Work in Design (CSCWD), Wellington, New Zealand.10.1109/CSCWD.2017.8066663 ↗
27. Xia, S., Sun, D., Sun, C., Chen, D., and Shen, H. (2004, January 6–10). Leveraging Single-User Applications for Multi-User Collaboration: The Coword Approach. Proceedings of the 2004 ACM Conference on Computer Supported Cooperative Work—CSCW’04, Chicago, IL, USA.10.1145/1031607.1031635 ↗
28. Shen, H., Sun, C., and Zhou, S. (August, January 30). Leveraging Single-user OpenOffice Writer for Collaboration by Transparent Adaptation. Proceedings of the Eighth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing (SNPD 2007), Qingdao, China.10.1109/SNPD.2007.492 ↗
29. Agustina, A., Liu, F., Xia, S., Shen, H., and Sun, C. (2008, January 8–12). CoMaya: Incorporating Advanced Collaboration Capabilities Into 3d Digital Media Design Tools. Proceedings of the ACM 2008 Conference on Computer Supported Cooperative Work—CSCW’08, San Diego, CA, USA.10.1145/1460563.1460566 ↗
30. Achieving Transparent and Real-time Collaboration in Co-AutoCAD Application
31. Cho, B., Ng, A., and Sun, C. (2017, January 26–28). CoVim: Incorporating Real-Time Collaboration Capabilities Into Comprehensive Text Editors. Proceedings of the 2017 IEEE 21st International Conference on Computer Supported Cooperative Work in Design (CSCWD), Wellington, New Zealand.10.1109/CSCWD.2017.8066693 ↗
32. CoWebDraw: A real-time collaborative graphical editing system supporting multi-clients based on HTML510.1007/s11042-017-5242-4 ↗
33. (2019, October 28). Codox Wave. Available online: https://www.codox.io.
34. (2019, October 28). Visual Studio Live Share. Available online: https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare.
35. (2019, October 28). Teletype for Atom. Available online: https://teletype.atom.io.
36. (2019, October 28). Visual Studio Code: Programming Languages. Available online: https://code.visualstudio.com/docs/languages/overview.
37. (2019, August 18). Visual Studio Code Extension API. Available online: https://code.visualstudio.com/api.
38. (2019, October 28). VS Code API. Available online: https://code.visualstudio.com/api/references/vscode-api.
39. Agustina, A., Sun, C., and Xu, D. (2012, January 11–15). Operational Transformation for Dependency Conflict Resolution in Real-Time Collaborative 3D Design Systems. Proceedings of the ACM 2012 Conference on Computer Supported Cooperative Work—CSCW’12, Seattle, WA, USA.10.1145/2145204.2145412 ↗
40. Sun, C., Wen, H., and Fan, H. (2012, January 11–15). Operational Transformation for Orthogonal Conflict Resolution in Real-Time Collaborative 2d Editing Systems. Proceedings of the ACM 2012 Conference on Computer Supported Cooperative Work—CSCW’12, Seattle, WA, USA.10.1145/2145204.2145411 ↗
41. Ng, A., and Sun, C. (2016, January 13–16). Operational Transformation for Real-time Synchronization of Shared Workspace in Cloud Storage. Proceedings of the 19th International Conference on Supporting Group Work-GROUP’16, Sanibel Island, FL, USA.10.1145/2957276.2957278 ↗