Get the latest Sublime Text 2 from http://www.sublimetext.com/2.
Code completion for all major ColdBox functions and scopes:
controller ➝
: "coldbox.system.web.Controller",event ➝
: "coldbox.system.web.context.RequestContext",flash ➝
: "coldbox.system.web.flash.AbstractFlashScope",log ➝
: "coldbox.system.logging.Logger",logbox ➝
: "coldbox.system.logging.LogBox",binder ➝
: "coldbox.system.ioc.config.Binder",wirebox ➝
: "coldbox.system.ioc.Injector",cachebox ➝
: "coldbox.system.cache.CacheFactory"
action ➝
: Creates a handler actiononerror ➝
: Creates an onError() implicit actiononma ➝
: Creates an onMissingAction() implicit actionpostaction ➝
: Creates a postXXX() implicit actionpost ➝
: Creates a postHandler() implicit actionpreaction ➝
: Creates a preXXX() implicit actionpre ➝
: Creates a preHandler() implicit action
active ➝
: Creates a ColdBox Active Entityentity ➝
: Creates an ORM Entityormservice ➝
: Creates a Base ORM servicevirtualservice ➝
: Creates a virtual entity service
handler ➝
: Creates a ColdBox Event Handlerinterceptor ➝
: Creates a ColdBox Interceptorpoint ➝
: Creates a new interception point methodmodel ➝
: Creates a model objectplugin ➝
: Creates a ColdBox pluginconfig ➝
: Creates a new ColdBox.cfc configuration filecachebox-config ➝
: Creates a new CacheBox.cfc configuration fileroutes ➝
: Creates a new routing file
bdd ➝
: Creates a new BDD Test Bundle CFCunit ➝
: Creates a new xUnit Test Bundle CFCdescribe ➝
: Adescribe
suitedescribeFull ➝
: Adescribe
suite with all argumentsit ➝
: A test specitFull ➝
: A test spec with all argumentsexpect ➝
: Starts an expectation DSL with atoBe()
additionexpectFalse ➝
: Does a false expectation expressionexpectTrue ➝
: Does a true expectation expressionexpectToThrow ➝
: Starts an expectation that throws an exceptionafterAll ➝
: AnafterAll()
BDD life-cycle methodbeforeAll ➝
: AnbeforeAll()
BDD life-cycle methodaftereach ➝
: AnafterEach()
BDD closurebeforeeach ➝
: AbeforeEach()
BDD closureafterTests ➝
: AnafterTests()
xUnit life-cycle methodbeforeTests ➝
: AnbeforeTests()
xUnit life-cycle methodteardown ➝
: Anteardown()
xUnit life-cycle methodsetup ➝
: Ansetup()
xUnit life-cycle methoddebug ➝
: Writes up a non-duplicatedebug()
calldebugduplicate ➝
: Writes up adebug()
call with duplicateconsole ➝
: TestBox send some output to the console
handlerTest ➝
: Creates a ColdBox Event Handler test caseintegrationTest ➝
: Creates a top down integration test caseintegrationTestCase ➝
: Creates a test case for an event actioninterceptorTest ➝
: Creates an Interceptor test casemodelTest ➝
: Creates a model test casepluginTest ➝
: Creates a plugin test case
aspect ➝
: Creates a WireBox AOP Aspect objectbinder ➝
: Creates a basic WireBox configuration binderinject ➝
: WireBox property injectionprovider ➝
: Creates a WireBox provider methodsetter ➝
: Creates a WireBox setter injection
If you have the Package Control package installed, you can install ColdBox Platform Bundle from inside Sublime Text itself. Open the Command Palette and select "Package Control: Install Package", then search for ColdBox.
$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox
$ cd ~/.config/sublime-text-2/Packages/
$ git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox
Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages"
Copy the directory to: "C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages"
- Sublimetext 2 API - http://www.sublimetext.com/docs/2/api_reference.html
- How to create a plugin: http://net.tutsplus.com/tutorials/python-tutorials/how-to-create-a-sublime-text-2-plugin/
- Unoffical (but very good) docs - http://sublimetext.info/docs/en/
- ColdFusion Sublime Text bundle - https://github.com/SublimeText/ColdFusion
- MXUnit Sublime Text bundle - https://github.com/mxunit/sublime-text-2-mxunit
- TestBox additions
- Testing additions
- Handler snippet fixes
- Model skeleton fix
- New
config
skeleton for the Configuration File - New
cachebox-config
skeleton for a CacheBox Configuration File - New
routes
skeleton for a routes.cfm template - Completions for ALL ColdBox related functions and major scopes