{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]}},"next":{"description":"","pages":[]},"title":"Cloud9 Bundle","type":"basic","slug":"cloud9-bundle","excerpt":"","body":"Conceptually similar to the TextMate Bundle, a Cloud9 Bundle is a collection of resources that can be packed into a plugin for distribution to fellow coders. The following resources can be included in a Cloud9 Bundle.\n[block:html]\n{\n  \"html\": \"<table>\\n  <tr><th>Runners</th><td>Small JSON file defining how to run a particular type of source file.</td></tr>\\n  <tr><th>Builders</th><td>Small JSON file defining how to build a particular type of source file.</td></tr>\\n  <tr><th>Keymaps</th><td>JSON file that sets custom key bindings.</td></tr>\\n  <tr><th>Snippets</th><td>A structure file that defines new snippets for a language mode.</td></tr>\\n  <tr><th>Modes</th><td>Syntax highlighting, folding rules and behaviors for a language.</td></tr>\\n  <tr><th>Outline</th><td>Small JSON file describing the parse rules that make up the outline view for a mode.</td></tr>\\n  <tr><th>Themes</th><td>A css file describing the syntax highlighting colors.</td></tr>\\n  <tr><th>Templates</th><td>A definition of new file templates.</td></tr>\\n</table>\"\n}\n[/block]\nTo add a resource to your plugin create a directory and give it the name of the resource type you are adding in all lower case.\n\n```\ncd myplugin\nmkdir themes\ncd themes\n```\n\nThen add your resource to that directory. Note that each resource has its own format and meta data. See the individual guides for more information.\n\n- [Runners](doc:bundle-runners) \n- [Builders](doc:bundle-builders) \n- [Keymaps](doc:keymaps) \n- [Snippets](doc:snippets) \n- [Modes](doc:modes) \n- [Outline](doc:outline) \n- [Themes](doc:themes)\n- [Templates](doc:templates)","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"551f3c0450a0fc210057968e","user":"54cfa8e1a8a4fd0d00b7fd1d","project":"54d53c7b23010a0d001aca0c","githubsync":"","__v":13,"category":{"sync":{"isSync":false,"url":""},"pages":["551df5bfa77fec1700f6f296","551df5c9fa7f722d00db21f0","551df5dfa77fec1700f6f298","551df5eca7e98017009e3ede","551df5f4a77fec1700f6f29a","551df5fdfa7f722d00db21f3","551df609a7e98017009e3ee0","551f3c0450a0fc210057968e","552836448962f339009a67ab"],"title":"Cloud9 Bundle","slug":"cloud9-bundle","order":3,"from_sync":false,"reference":false,"_id":"551df586e52a0b23000c62b6","__v":9,"createdAt":"2015-04-03T02:05:58.352Z","project":"54d53c7b23010a0d001aca0c","version":"54d5635532d98b0d00384afb"},"createdAt":"2015-04-04T01:19:00.243Z","version":{"version":"0.1","version_clean":"0.1.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["54d5635632d98b0d00384afc","54d5635632d98b0d00384afd","54d5635632d98b0d00384afe","54d5635632d98b0d00384aff","54d5635632d98b0d00384b00","54d5635632d98b0d00384b01","54d5635632d98b0d00384b02","54d652097e05890d006f153e","54dd1315ca1e5219007e9daa","54e21e2b22de1c230094b147","54e68e62a43fe13500db3879","54fa1d3fe7a0ba2f00306309","551c453a23a1ee190034d19a","551df586e52a0b23000c62b6","551f39be6886f8230055f02a","55a6720751457325000e4d97"],"_id":"54d5635532d98b0d00384afb","project":"54d53c7b23010a0d001aca0c","__v":10,"createdAt":"2015-02-07T00:59:01.934Z","forked_from":"54d53c7c23010a0d001aca0f","releaseDate":"2015-02-07T00:59:01.934Z"},"parentDoc":null}
Conceptually similar to the TextMate Bundle, a Cloud9 Bundle is a collection of resources that can be packed into a plugin for distribution to fellow coders. The following resources can be included in a Cloud9 Bundle. [block:html] { "html": "<table>\n <tr><th>Runners</th><td>Small JSON file defining how to run a particular type of source file.</td></tr>\n <tr><th>Builders</th><td>Small JSON file defining how to build a particular type of source file.</td></tr>\n <tr><th>Keymaps</th><td>JSON file that sets custom key bindings.</td></tr>\n <tr><th>Snippets</th><td>A structure file that defines new snippets for a language mode.</td></tr>\n <tr><th>Modes</th><td>Syntax highlighting, folding rules and behaviors for a language.</td></tr>\n <tr><th>Outline</th><td>Small JSON file describing the parse rules that make up the outline view for a mode.</td></tr>\n <tr><th>Themes</th><td>A css file describing the syntax highlighting colors.</td></tr>\n <tr><th>Templates</th><td>A definition of new file templates.</td></tr>\n</table>" } [/block] To add a resource to your plugin create a directory and give it the name of the resource type you are adding in all lower case. ``` cd myplugin mkdir themes cd themes ``` Then add your resource to that directory. Note that each resource has its own format and meta data. See the individual guides for more information. - [Runners](doc:bundle-runners) - [Builders](doc:bundle-builders) - [Keymaps](doc:keymaps) - [Snippets](doc:snippets) - [Modes](doc:modes) - [Outline](doc:outline) - [Themes](doc:themes) - [Templates](doc:templates)