|
| 1 | +# A ColdBox Platform Bundle for Sublime text 2 |
| 2 | + |
| 3 | +Get the latest Sublime Text 2 beta from http://www.sublimetext.com/2. |
| 4 | + |
| 5 | +## Currently supported features |
| 6 | + |
| 7 | +### Handler Code Snippets |
| 8 | + |
| 9 | +- `action ➝` : Creates a handler action |
| 10 | +- `onerror ➝` : Creates an *onError()* implicit action |
| 11 | +- `onma ➝` : Creates an *onMissingAction()* implicit action |
| 12 | +- `postaction ➝` : Creates a *postXXX()* implicit action |
| 13 | +- `post ➝` : Creates a *postHandler()* implicit action |
| 14 | +- `preaction ➝` : Creates a *preXXX()* implicit action |
| 15 | +- `pre ➝` : Creates a *preHandler()* implicit action |
| 16 | + |
| 17 | +### ORM Code Snippets |
| 18 | + |
| 19 | +- `active ➝` : Creates a ColdBox Active Entity |
| 20 | +- `entity ➝` : Creates an ORM Entity |
| 21 | +- `ormservice ➝` : Creates a Base ORM service |
| 22 | +- `virtualservice ➝` : Creates a virtual entity service |
| 23 | + |
| 24 | +### Code Skeleton Snippets |
| 25 | + |
| 26 | +- `handler ➝` : Creates a ColdBox Event Handler |
| 27 | +- `interceptor ➝` : Creates an Interceptor |
| 28 | +- `model ➝` : Creates a model object |
| 29 | +- `plugin ➝` : Creates a plugin |
| 30 | +- `point ➝` : Creates a new interception point method |
| 31 | + |
| 32 | +### Unit-Integration Testing Snippets |
| 33 | + |
| 34 | +- `handlerTest ➝` : Creates a ColdBox Event Handler test case |
| 35 | +- `integrationTest ➝` : Creates a top down integration test case |
| 36 | +- `integrationTestCase ➝` : Creates a test case for an event action |
| 37 | +- `interceptorTest ➝` : Creates an Interceptor test case |
| 38 | +- `modelTest ➝` : Creates a model test case |
| 39 | +- `pluginTest ➝` : Creates a plugin test case |
| 40 | + |
| 41 | +### WireBox Code Snippets |
| 42 | + |
| 43 | +- `aspect ➝` : Creates a WireBox AOP Aspect object |
| 44 | +- `binder ➝` : Creates a basic WireBox configuration binder |
| 45 | +- `inject ➝` : WireBox property injection |
| 46 | +- `provider ➝` : Creates a WireBox provider method |
| 47 | +- `setter ➝` : Creates a WireBox setter injection |
| 48 | + |
| 49 | +## Installation instructions : |
| 50 | + |
| 51 | +### Mac |
| 52 | + |
| 53 | + $ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/ |
| 54 | + $ git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox |
| 55 | + |
| 56 | +### Linux (Ubuntu like distros) |
| 57 | + |
| 58 | + $ cd ~/.config/sublime-text-2/Packages/ |
| 59 | + $ git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox |
| 60 | + |
| 61 | +### Windows 7: |
| 62 | + |
| 63 | + Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages" |
| 64 | + |
| 65 | +### Windows XP: |
| 66 | + |
| 67 | + Copy the directory to: "C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages" |
0 commit comments