Get the latest Sublime Text from http://www.sublimetext.com
- ColdBox 7.X.X+
- TestBox 6.X.X
This bundle includes functionality not only for ColdBox MVC, but also for TestBox BDD/TDD, 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 Handler
- cachebox-config ➝: Creates a new CacheBox.cfc configuration file
- config ➝: Creates a new ColdBox.cfc configuration file
- class ➝: Creates a new BoxLang class
- cfc ➝: Creates a new ColdFusion script CFC
- bdd ➝: Creates a TestBox BDD Bundle
- box ➝: Creates a- box.jsontemplate
- function ➝: Creates a new ColdFusion script function
- handler ➝: Creates a ColdBox Event Handler
- inject ➝: Creates a new property with an- injectannotation for WireBox
- interceptor ➝: Creates a ColdBox Interceptor
- model ➝: Creates a model object
- point ➝: Creates a new interception point method
- property ➝: Creates a new ColdFusion script property
- routes ➝: Creates a new routing file
- resthandler ➝: Creates a ColdBox Rest Handler
- resourcehandler: Creates a ColdBox Resource Handler
- unit ➝: Creates a TestBox TDD xUnit Bundle
- action ➝: Creates a handler action
- around: Creates an aroundHandler() implicit action
- onerror ➝: Creates an onError() implicit action
- onhttp ➝: Creates an onInvalidHTTPMethod() implict action
- onma ➝: Creates an onMissingAction() implicit action
- postaction ➝: Creates a postXXX() implicit action
- post ➝: Creates a postHandler() implicit action
- preaction ➝: Creates a preXXX() implicit action
- pre ➝: Creates a preHandler() implicit action
- active ➝: Creates a ColdBox Active Entity
- entity ➝: Creates an ORM Entity
- ormservice ➝: Creates a Base ORM service
- virtualservice ➝: Creates a virtual entity service
- o2m: Creates a one-to-many property definition
- m2o: Creates a many-to-one property definition
- m2m: Creates a many-to-many property definition
- assert: An- assert()method
- afterAll ➝: An- afterAll()BDD life-cycle method
- aftereach ➝: An- afterEach()BDD closure
- afterTests ➝: An- afterTests()xUnit life-cycle method
- aroundEach ➝: An- aroundEach()BDD closure
- bdd ➝: Creates a new BDD Test Bundle CFC
- beforeAll ➝: An- beforeAll()BDD life-cycle method
- beforeeach ➝: A- beforeEach()BDD closure
- beforeTests ➝: An- beforeTests()xUnit life-cycle method
- console ➝: TestBox send some output to the console
- debug ➝: Writes up a non-duplicate- debug()call
- debugduplicate ➝: Writes up a- debug()call with duplicate
- describe ➝: A- describesuite
- describeFull ➝: A- describesuite with all arguments
- expect ➝: Starts an expectation DSL with a- toBe()addition
- expectAll ➝: Starts a collection expectation DSL with a- toBe()addition
- expectFalse ➝: Does a false expectation expression
- expectTrue ➝: Does a true expectation expression
- expectToThrow ➝: Starts an expectation that throws an exception
- feature, featureFull ➝: Starts a- feature()block
- given, givenFull ➝: Starts a- given()block
- it ➝: A test spec
- itFull ➝: A test spec with all arguments
- setup ➝: An- setup()xUnit life-cycle method
- story, storyFull ➝: Starts a- story()block
- teardown ➝: An- teardown()xUnit life-cycle method
- then, thenFull ➝: Starts a- then()block
- unit ➝: Creates a new xUnit Test Bundle CFC
- when, whenFull ➝: Starts a- when()block
- integration ➝: Creates a top down integration BDD test case
- interceptorTest ➝: Creates an Interceptor test case
- modelTest ➝: Creates a model test case
- testaction ➝: Creates an integration spec case for an event action
- aspect ➝: Creates a WireBox AOP Aspect object
- binder ➝: Creates a basic WireBox configuration binder
- inject ➝: WireBox property injection
- provider ➝: Creates a WireBox provider method
- setter ➝: 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\ 3/Packages/
git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldboxcd ~/.config/sublime-text-3/Packages/
git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldboxCopy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 3\Packages"
- Sublimetext API - https://www.sublimetext.com/docs/api_reference.html
- Unoffical (but very good) docs - https://docs.sublimetext.info/index.html
- ColdFusion Sublime Text bundle - https://github.com/SublimeText/ColdFusion