IDE
Working together in a project
More than one person can be in a project at the same time. Everyone sees the same code, and changes appear as they are typed.
What everyone sees
You can see each other's cursors, so you know where the other person is working. This is what makes it useful for helping someone: you can point at a line by putting your cursor on it.
The whole project stays in step, not only the file you are looking at:
- The code. Every change, as each person types it.
- The file tree. When someone adds, renames or deletes a file.
- Uploaded files. When someone adds one.
- Libraries. When someone adds or removes one.
- The entry point. If someone changes which file runs.
So a person who joins does not need to be told what changed.
Editing or watching
Each person in a project either edits or watches.
Editing together
Everyone types in the same files. Useful for pair programming and for group work.
Good for building something together, and for helping someone fix a problem.
Watching
The other people follow along, seeing every change and every cursor, without being able to change anything.
Good for a demonstration, where you do not want the class editing your example while you explain it.
You set this when you invite someone, and you can change it later from the project's list of people.
Running the program
Anyone in the project can run it. Output appears for the person who ran it.
If two people run the program at the same time, each run is separate. They do not interfere with each other.
Leaving
Closing the tab is enough. The project keeps everything that was written, and the other people carry on.
The project owner can remove someone from the project at any time.
What next
If you want each person to have their own copy instead of working in one project, share it with the copy option turned on.