I have been doing something similar with my class. I have them create a google doc that is shared and then code using text in that. Copy and paste back and forth is a pain, but possible. I would love to see a google like ability to collaborate as an option. Don't make it a default though, or students will be "sharing" all their neighbor's work. Maybe a teacher setting to allow and not allow would work.