ColdBox Platform
ColdBox Platform Sublime IDE Package
Details
Installs
- Total 3K
- Win 2K
- Mac 861
- Linux 303
Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
A ColdBox Platform Bundle for Sublime Text 3+
Get the latest Sublime Text from http://www.sublimetext.com
Target Platforms
- ColdBox 5.X.X+
- TestBox 4.X.X
Features
This bundle includes functionality not only for ColdBox MVC, but also for TestBox BDD/TDD, MockBox, WireBox, CacheBox and LogBox.
Code Insight
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”
Code Skeleton Snippets
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 abox.json
templatefunction ➝
: Creates a new ColdFusion script functionhandler ➝
: Creates a ColdBox Event Handlerinject ➝
: Creates a new property with aninject
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 Bundle
Handler Code Snippets
action ➝
: 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 action
ORM Code Snippets
active ➝
: 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 definition
TestBox Snippets
assert
: Anassert()
methodafterAll ➝
: AnafterAll()
BDD life-cycle methodaftereach ➝
: AnafterEach()
BDD closureafterTests ➝
: AnafterTests()
xUnit life-cycle methodaroundEach ➝
: AnaroundEach()
BDD closurebdd ➝
: Creates a new BDD Test Bundle CFCbeforeAll ➝
: AnbeforeAll()
BDD life-cycle methodbeforeeach ➝
: AbeforeEach()
BDD closurebeforeTests ➝
: AnbeforeTests()
xUnit life-cycle methodconsole ➝
: TestBox send some output to the consoledebug ➝
: Writes up a non-duplicatedebug()
calldebugduplicate ➝
: Writes up adebug()
call with duplicatedescribe ➝
: Adescribe
suitedescribeFull ➝
: Adescribe
suite with all argumentsexpect ➝
: Starts an expectation DSL with atoBe()
additionexpectAll ➝
: Starts a collection expectation DSL with atoBe()
additionexpectFalse ➝
: Does a false expectation expressionexpectTrue ➝
: Does a true expectation expressionexpectToThrow ➝
: Starts an expectation that throws an exceptionfeature, featureFull ➝
: Starts afeature()
blockgiven, givenFull ➝
: Starts agiven()
blockit ➝
: A test specitFull ➝
: A test spec with all argumentssetup ➝
: Ansetup()
xUnit life-cycle methodstory, storyFull ➝
: Starts astory()
blockteardown ➝
: Anteardown()
xUnit life-cycle methodthen, thenFull ➝
: Starts athen()
blockunit ➝
: Creates a new xUnit Test Bundle CFCwhen, whenFull ➝
: Starts awhen()
block
ColdBox Testing Snippets
integration ➝
: 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 action
WireBox Code Snippets
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
Installation Instructions
With Package Control
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.
Without Package Control
Mac
$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox
Linux (Ubuntu like distros)
$ cd ~/.config/sublime-text-2/Packages/
$ git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox
Windows 7
Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages"
Windows XP
Copy the directory to: "C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages"
References
- 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