Get the latest Sublime Text from http://www.sublimetext.com
This bundle includes functionality not only for ColdBox MVC, but also for TestBox BDD/TDD, MockBox, WireBox, CacheBox and LogBox.
Code completion for all major ColdBox + TestBox functions and scopes:
binder ➝
: "coldbox.system.ioc.config.Binder",cachebox ➝
: "coldbox.system.cache.CacheFactory"controller ➝
: "coldbox.system.web.Controller",event ➝
: "coldbox.system.web.context.RequestContext",flash ➝
: "coldbox.system.web.flash.AbstractFlashScope",html ➝
: "coldbox.system.core.dynamic.HTMLHelper"log ➝
: "coldbox.system.logging.Logger",logbox ➝
: "coldbox.system.logging.LogBox",wirebox ➝
: "coldbox.system.ioc.Injector",$assert
: "testbox.system.Assertion"apiResourceHandler
: Creates a ColdBox API Resource Handlercachebox-config ➝
: Creates a new CacheBox.cfc configuration fileconfig ➝
: Creates a new ColdBox.cfc configuration filecfc ➝
: Creates a new ColdFusion script CFCbdd ➝
: Creates a TestBox BDD Bundlebox ➝
: Creates a box.json
templatefunction ➝
: Creates a new ColdFusion script functionhandler ➝
: Creates a ColdBox Event Handlerinject ➝
: Creates a new property with an inject
annotation for WireBoxinterceptor ➝
: Creates a ColdBox Interceptormodel ➝
: Creates a model objectpoint ➝
: Creates a new interception point methodproperty ➝
: Creates a new ColdFusion script propertyroutes ➝
: Creates a new routing fileresthandler ➝
: Creates a ColdBox Rest Handlerresourcehandler
: Creates a ColdBox Resource Handlerunit ➝
: Creates a TestBox TDD xUnit Bundleaction ➝
: Creates a handler actionaround
: Creates an aroundHandler() implicit actiononerror ➝
: Creates an onError() implicit actiononhttp ➝
: Creates an onInvalidHTTPMethod() implict 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 actionactive ➝
: Creates a ColdBox Active Entityentity ➝
: Creates an ORM Entityormservice ➝
: Creates a Base ORM servicevirtualservice ➝
: Creates a virtual entity serviceo2m
: Creates a one-to-many property definitionm2o
: Creates a many-to-one property definitionm2m
: Creates a many-to-many property definitionassert
: An assert()
methodafterAll ➝
: An afterAll()
BDD life-cycle methodaftereach ➝
: An afterEach()
BDD closureafterTests ➝
: An afterTests()
xUnit life-cycle methodaroundEach ➝
: An aroundEach()
BDD closurebdd ➝
: Creates a new BDD Test Bundle CFCbeforeAll ➝
: An beforeAll()
BDD life-cycle methodbeforeeach ➝
: A beforeEach()
BDD closurebeforeTests ➝
: An beforeTests()
xUnit life-cycle methodconsole ➝
: TestBox send some output to the consoledebug ➝
: Writes up a non-duplicate debug()
calldebugduplicate ➝
: Writes up a debug()
call with duplicatedescribe ➝
: A describe
suitedescribeFull ➝
: A describe
suite with all argumentsexpect ➝
: Starts an expectation DSL with a toBe()
additionexpectAll ➝
: Starts a collection expectation DSL with a toBe()
additionexpectFalse ➝
: Does a false expectation expressionexpectTrue ➝
: Does a true expectation expressionexpectToThrow ➝
: Starts an expectation that throws an exceptionfeature, featureFull ➝
: Starts a feature()
blockgiven, givenFull ➝
: Starts a given()
blockit ➝
: A test specitFull ➝
: A test spec with all argumentssetup ➝
: An setup()
xUnit life-cycle methodstory, storyFull ➝
: Starts a story()
blockteardown ➝
: An teardown()
xUnit life-cycle methodthen, thenFull ➝
: Starts a then()
blockunit ➝
: Creates a new xUnit Test Bundle CFCwhen, whenFull ➝
: Starts a when()
blockintegration ➝
: Creates a top down integration BDD test caseinterceptorTest ➝
: Creates an Interceptor test casemodelTest ➝
: Creates a model test casetestaction ➝
: Creates an integration spec case for an event actionaspect ➝
: Creates a WireBox AOP Aspect objectbinder ➝
: Creates a basic WireBox configuration binderinject ➝
: WireBox property injectionprovider ➝
: Creates a WireBox provider methodsetter ➝
: Creates a WireBox setter injectionIf 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"