Labs/Bespin/UserGuide: Difference between revisions

Jump to navigation Jump to search
Line 223: Line 223:
==Collaboration==
==Collaboration==


Not included in this version. It will be available in version 0.3 (See  [[Labs/Bespin/Roadmap|Roadmap]])
Enhanced collaboration is one of the best reasons to do an IDE on the web. It’s possible in a traditional IDE or code editor, but there are lots of features of a web based editor that make it an obvious thing to do on the web.
 
Our new collaboration feature is still fairly new, and like the rest of Bespin, still fairly beta, but we’ve got it working in Firefox, Safari and Chrome right now.
 
===Taking it for a spin===
 
Want a go real quick? Here are the steps:
 
* Sign up or login to Bespin.
* Press CTRL+J/CMD+J to open the command line.
* Type 'follow joewalker' to get someone to share files with. I've shared a project called pubproj globally.
* Type 'project list'. You should see joewalker+pubproj in your list of projects.
* Type 'set collaborate on' to turn on shared editing.
* Open a shared file by typing 'open /joewalker+pubproj/example.txt'.
 
You should then be in a collaborative editing session with the rest of the Internet.
 
Click on the collaboration icon (2 people) in the top right hand corner show you who's editing with you.
 
===How it Works===
 
Collaboration adds 3 or 4 new commands:
 
* follow/unfollow: allow you to decide whose shared projects you want to see in your project navigator. As we evolve Bespin this will become a way to get all sorts of information about the people you are working with
* group: allows you to put the people you are interested in into groups to make it easy to manage sharing
* share: allows you to export your projects read-only or editable to individuals, groups, or to everyone
 
Expressing an interest in someone is as easy as “follow username”. You can then group these users together to make sharing easier. So for me to add Kevin, Ben and Dion to a group, I would do “group add mozlabs Kevin ben dion”. Grouping people like this is totally optional, but it will make maintaining sharing rules a lot easier going forward, when you’re working on a number of projects.
 
Then if you want to share a project in read-only mode, to someone that is following you, you just type: “share add projectname username”. Replace username with groupname to share with one of your defined groups, or with “everyone” to just throw everything wide open. To allow editing you add “edit” to the end. So for ultimate wiki-like promiscuity: “share add projectname everyone edit”.
 
Projects shared to you by people you follow will now show up in your file-explorer, or you can edit them from the command line. Type “load /owner+projectname/path/to/file”.


==Syntax Highlighting==
==Syntax Highlighting==
Confirmed users
295

edits

Navigation menu