And if you find that functionality is missing? Just write a plugin and patch it yourself!
- High performance text editor with bundled syntax highlighting support for JS, HTML, CSS and mixed modes.
- Integrated debugger for Node.JS applications which can started, paused and stopped from within the IDE
- Integrated debugger for the Google Chrome browser which can started, paused and stopped from within the IDE
- Local filesystem is exposed through WebDAV to the IDE, which makes it possible to connect to remote workspaces as well
- Highly extensible through the plugin system
- Bundled plugins: browser, clipboard, code (editor), console, debugger, docs, editors, filesystem, html, keybindings, newresource, noderunner, panels, refactor, richtext, save, searchreplace, settings, tree, undo
We are developing on firefox and chrome and this is a development repo, other browsers might be less stable until a proper release.
After a Git checkout of the project or download (see Installation section), the command you need to run the IDE locally is the following:
To start cloud9 and install all submodules you can use the quickstart options for your platform on the console or from your explorer/finder and opens it in your default browser:
Linux and OSX:
Note you'll need a git version 1.7 or higher to use the stock shell script provided.
If you want to start it manually try:
$ node bin/cloud9.js
This runs the IDE with itself set as the workspace. When you open the url
in your browser, it will show the directory structure of the current workspace in a tree. Since none is provided by the startup command above, it will show the IDE directory contents as a default workspace.
You can specify your own workspace as follows:
$ node bin/cloud9.js -w /path/to/your/awesome/workspace
And as a result the tree will display the contents of that directory.
You can specify the ip cloud9 is listening to using:
$ node bin/cloud9.js -l 192.168.2.1
Or specify to listen to all ip's
$ node bin/cloud9.js -l all
To see more usage information and additional command line options use.
$ node bin/cloud9.js -h
Via git (or downloaded tarball):
$ git clone git://github.com/ajaxorg/cloud9.git
$ npm install cloud9
Starting Cloud9 using cloud9.sh or .bat uses nodejs and node-o3-xml binaries that are distributed with Cloud9. We have included binaries for OSX 64 bit Intel (10.5/10.6), 32 and 64 bit Ubuntu and Windows 32 bit. All binaries are based on node 0.2.x latest stable. If you get an error about unable to load o3-xml or an architecture error, you will need to compile nodejs and node-o3-xml yourself and put it in the right directory of cloud9. For information how to compile node, please check www.nodejs.org. You will need to compile and install nodejs before you can compile node-o3-xml.
$ git clone http://github.com/ajaxorg/o3 $ cd o3 $ ./tools/node_modules_build $ cp build/default/o3.node cloud9dir/support/jsdav/support/node-o3-xml/lib/o3-xml/
after this you can start cloud9 manually using node bin/cloud9.js
There is a known V8 bug in the 0.2.x banch of node, which prevents the debugger from working under Linux. To work around this bug the node binary has to be compiled with gcc 4.4:
$ export GCC_VERSION=44 $ configure $ make
Documentation is in the making.
The Cloud9 IDE couldn't be this cool if it weren't for the wildly productive Node.JS community producing so many high quality software. Main projects that we use as building blocks:
- async.js by fjakobs
- jsDAV by mikedeboer
- connect by senchalabs
- socket.io by LearnBoost
- ace by fjakobs
- apf by ajax.org
- and of course Node.JS!
Thanks to all developers and contributors of these projects!
The GPL version 3, read it at http://www.gnu.org/licenses/gpl.txt