With Real-Time Collaboration, you and your classmates can use the CodeHS IDE to work together on the same coding activity live and in real time!

Gif showing multiple students editing a Sandbox program together

Start a Real-Time Collaboration

To start a collaboration:

  1. Go to the Sandbox program you'd like to collaborate on
  2. Click Share, then choose Collaborate
  3. Copy the link and send to to anyone who you'd like to collaborate with
  4. Remember to save as you work!
Gif showing user clicking share, collaborate, and copying their collaboration link

When your collaborator opens the link, they'll be able to code with you on your program:

Image showing multiple users collaborating in program

What if the Project Owner closes their window?

Only the person who started the program can save changes to the code, and no changes can be saved if the owner of the program is not working on it.

If the owner of the program closes their CodeHS window or logs out, their icon will disappear and anyone else working on the project will see this message:

Error message warning users that their changes will not save because the project owner has stopped collaborating

Forking a Program

If you'd like to make a copy of a program to work on in your own Sandbox, click Fork:

Fork a program by choosing fork in the upper right corner of the code editor

Help with Real-Time Collaboration

  • Use the newest version of the IDE for the best Collaborate Experience:
  • When using the new IDE, different collaborators can work on different files at the same time! (With the old IDE, collaborators can only edit and view the file that the host is viewing)
  • Only the host is able to create, rename, or delete files. The host can only rename or delete files that are not being edited by another collaborator.

Video Demo

Still have questions? Contact our team at hello@codehs.com to learn more!

Did this answer your question?