|
2 | 2 | "scope": "meta.name.interpolated.hash - string, source.cfscript - source.sql - text.html.cfm - string - meta - comment, source.cfscript.embedded.cfml - string, source.sql, text", |
3 | 3 | "completions": |
4 | 4 | [ |
5 | | - // Functions for: coldbox.system.Interceptor |
| 5 | + // Functions for: coldbox.Interceptor |
6 | 6 | { "trigger": "appendToBuffer\tfn. (ColdBox Interceptor)", "contents": "appendToBuffer( str=${1:any} )" }, |
7 | 7 | { "trigger": "clearBuffer\tfn. (ColdBox Interceptor)", "contents": "clearBuffer()" }, |
8 | 8 | { "trigger": "getBufferObject\tfn. (ColdBox Interceptor)", "contents": "getBufferObject()" }, |
|
14 | 14 | { "trigger": "setProperties\tfn. (ColdBox Interceptor)", "contents": "setProperties( properties=${1:{}} )" }, |
15 | 15 | { "trigger": "setProperty\tfn. (ColdBox Interceptor)", "contents": "setProperty( property=${1:any}, value=${2:any} )" }, |
16 | 16 | { "trigger": "unregister\tfn. (ColdBox Interceptor)", "contents": "unregister( state=${1:any} )" }, |
17 | | - // END Functions for: coldbox.system.Interceptor |
| 17 | + // END Functions for: coldbox.Interceptor |
18 | 18 |
|
19 | | - // Functions for: coldbox.system.Plugin |
| 19 | + // Functions for: coldbox.Plugin |
20 | 20 | { "trigger": "getpluginAuthor\tfn. (ColdBox Plugin)", "contents": "getpluginAuthor()" }, |
21 | 21 | { "trigger": "getpluginAuthorURL\tfn. (ColdBox Plugin)", "contents": "getpluginAuthorURL()" }, |
22 | 22 | { "trigger": "getPluginDescription\tfn. (ColdBox Plugin)", "contents": "getPluginDescription()" }, |
|
30 | 30 | { "trigger": "setPluginDescription\tfn. (ColdBox Plugin)", "contents": "setPluginDescription( pluginDescription=${1:any} )" }, |
31 | 31 | { "trigger": "setPluginName\tfn. (ColdBox Plugin)", "contents": "setPluginName( pluginName=${1:any} )" }, |
32 | 32 | { "trigger": "setPluginVersion\tfn. (ColdBox Plugin)", "contents": "setPluginVersion( pluginVersion=${1:any} )" }, |
33 | | - // END Functions for: coldbox.system.Plugin |
| 33 | + // END Functions for: coldbox.Plugin |
34 | 34 |
|
35 | | - // Functions for: coldbox.system.EventHandler |
| 35 | + // Functions for: coldbox.EventHandler |
36 | 36 | { "trigger": "_actionExists\tfn. (ColdBox EventHandler)", "contents": "_actionExists( action=${1:any} )" }, |
37 | 37 | { "trigger": "_privateInvoker\tfn. (ColdBox EventHandler)", "contents": "_privateInvoker( method=${1:any}, argCollection=${2:any} )" }, |
38 | | - // END Functions for: coldbox.system.EventHandler |
| 38 | + // END Functions for: coldbox.EventHandler |
| 39 | + |
| 40 | + // Functions for: coldbox.testing.BaseSpec |
| 41 | + { "trigger": "addAssertions\tfn. (ColdBox BaseSpec)", "contents": "addAssertions( assertions=${1:any} )" }, |
| 42 | + { "trigger": "addMatchers\tfn. (ColdBox BaseSpec)", "contents": "addMatchers( matchers=${1:any} )" }, |
| 43 | + { "trigger": "afterEach\tfn. (ColdBox BaseSpec)", "contents": "afterEach( body=${1:any} )" }, |
| 44 | + { "trigger": "assert\tfn. (ColdBox BaseSpec)", "contents": "assert( expression=${1:any}, message=${2:any} )" }, |
| 45 | + { "trigger": "beforeEach\tfn. (ColdBox BaseSpec)", "contents": "beforeEach( body=${1:any} )" }, |
| 46 | + { "trigger": "clearDebugBuffer\tfn. (ColdBox BaseSpec)", "contents": "clearDebugBuffer()" }, |
| 47 | + { "trigger": "closureStub\tfn. (ColdBox BaseSpec)", "contents": "closureStub()" }, |
| 48 | + { "trigger": "console\tfn. (ColdBox BaseSpec)", "contents": "console( var=${1:any}, top=${2:any} )" }, |
| 49 | + { "trigger": "createEmptyMock\tfn. (ColdBox BaseSpec)", "contents": "createEmptyMock( className=\"${1:}\", object=${2:any}, callLogging=${3:true,false} )" }, |
| 50 | + { "trigger": "createMock\tfn. (ColdBox BaseSpec)", "contents": "createMock( className=\"${1:}\", object=${2:any}, clearMethods=${3:true,false} )" }, |
| 51 | + { "trigger": "createStub\tfn. (ColdBox BaseSpec)", "contents": "createStub( callLogging=${1:true,false}, extends=\"${2:}\", implements=\"${3:}\" )" }, |
| 52 | + { "trigger": "debug\tfn. (ColdBox BaseSpec)", "contents": "debug( var=${1:any}, deepCopy=${2:true,false} )" }, |
| 53 | + { "trigger": "describe\tfn. (ColdBox BaseSpec)", "contents": "describe( title=\"${1:}\", body=${2:any}, labels=${3:any}, asyncAll=${4:true,false}, skip=${5:any} )" }, |
| 54 | + { "trigger": "expect\tfn. (ColdBox BaseSpec)", "contents": "expect( actual=${1:any} )" }, |
| 55 | + { "trigger": "expectedException\tfn. (ColdBox BaseSpec)", "contents": "expectedException( type=${1:any}, regex=${2:any} )" }, |
| 56 | + { "trigger": "fail\tfn. (ColdBox BaseSpec)", "contents": "fail( message=${1:any} )" }, |
| 57 | + { "trigger": "getDebugBuffer\tfn. (ColdBox BaseSpec)", "contents": "getDebugBuffer()" }, |
| 58 | + { "trigger": "getMockBox\tfn. (ColdBox BaseSpec)", "contents": "getMockBox( generationPath=\"${1:}\" )" }, |
| 59 | + { "trigger": "isExpectedException\tfn. (ColdBox BaseSpec)", "contents": "isExpectedException( exception=${1:any}, specName=${2:any}, runner=${3:any} )" }, |
| 60 | + { "trigger": "it\tfn. (ColdBox BaseSpec)", "contents": "it( title=\"${1:}\", body=${2:any}, labels=${3:any}, skip=${4:any} )" }, |
| 61 | + { "trigger": "makePublic\tfn. (ColdBox BaseSpec)", "contents": "makePublic( target=${1:any}, method=\"${2:}\", newName=\"${3:}\" )" }, |
| 62 | + { "trigger": "prepareMock\tfn. (ColdBox BaseSpec)", "contents": "prepareMock( object=${1:any}, callLogging=${2:true,false} )" }, |
| 63 | + { "trigger": "print\tfn. (ColdBox BaseSpec)", "contents": "print( message=${1:any} )" }, |
| 64 | + { "trigger": "println\tfn. (ColdBox BaseSpec)", "contents": "println( message=${1:any} )" }, |
| 65 | + { "trigger": "querySim\tfn. (ColdBox BaseSpec)", "contents": "querySim( queryData=${1:any} )" }, |
| 66 | + { "trigger": "runRemote\tfn. (ColdBox BaseSpec)", "contents": "runRemote( testSpecs=\"${1:}\", testSuites=\"${2:}\", debug=${3:true,false}, reporter=\"${4:}\" )" }, |
| 67 | + { "trigger": "runSpec\tfn. (ColdBox BaseSpec)", "contents": "runSpec( spec=${1:any}, suite=${2:any}, testResults=${3:any}, suiteStats=${4:any}, runner=${5:any} )" }, |
| 68 | + { "trigger": "runTest\tfn. (ColdBox BaseSpec)", "contents": "runTest( spec=${1:any}, testResults=${2:any}, suiteStats=${3:any}, runner=${4:any} )" }, |
| 69 | + { "trigger": "xdescribe\tfn. (ColdBox BaseSpec)", "contents": "xdescribe( title=\"${1:}\", body=${2:any}, labels=${3:any}, asyncAll=${4:true,false} )" }, |
| 70 | + { "trigger": "xit\tfn. (ColdBox BaseSpec)", "contents": "xit( title=\"${1:}\", body=${2:any}, labels=${3:any} )" }, |
| 71 | + // END Functions for: coldbox.testing.BaseSpec |
39 | 72 |
|
40 | 73 | // Functions for: coldbox.system.FrameworkSupertype |
41 | 74 | { "trigger": "$abort\tfn. (ColdBox FrameworkSuperType)", "contents": "$abort()" }, |
|
60 | 93 | { "trigger": "getMyPlugin\tfn. (ColdBox FrameworkSuperType)", "contents": "getMyPlugin( plugin=${1:any}, newInstance=${2:any}, module=${3:any}, init=${4:any} )" }, |
61 | 94 | { "trigger": "getNewMail\tfn. (ColdBox FrameworkSuperType)", "contents": "getNewMail()" }, |
62 | 95 | { "trigger": "getPlugin\tfn. (ColdBox FrameworkSuperType)", "contents": "getPlugin( plugin=${1:any}, customPlugin=${2:any}, newInstance=${3:any}, module=${4:any}, init=${5:any} )" }, |
63 | | - { "trigger": "getResource\tfn. (ColdBox FrameworkSuperType)", "contents": "getResource( resource=${1:any}, default=${2:any}, locale=${3:any} )" }, |
| 96 | + { "trigger": "getResource\tfn. (ColdBox FrameworkSuperType)", "contents": "getResource( resource=${1:any}, default=${2:any}, locale=${3:any}, values=${4:any}, bundle=${5:any} )" }, |
64 | 97 | { "trigger": "getSetting\tfn. (ColdBox FrameworkSuperType)", "contents": "getSetting( name=${1:any}, FWSetting=${2:true,false}, defaultValue=${3:any} )" }, |
65 | 98 | { "trigger": "getSettingsBean\tfn. (ColdBox FrameworkSuperType)", "contents": "getSettingsBean( FWSetting=${1:true,false} )" }, |
66 | 99 | { "trigger": "getSettingStructure\tfn. (ColdBox FrameworkSuperType)", "contents": "getSettingStructure( FWSetting=${1:true,false}, DeepCopyFlag=${2:true,false} )" }, |
|
157 | 190 | { "trigger": "binder.getScopeRegistration\tfn. (ColdBox binder)", "contents": "getScopeRegistration()" }, |
158 | 191 | { "trigger": "binder.getStopRecursions\tfn. (ColdBox binder)", "contents": "getStopRecursions()" }, |
159 | 192 | { "trigger": "binder.inCacheBox\tfn. (ColdBox binder)", "contents": "inCacheBox( key=${1:any}, timeout=${2:any}, lastAccessTimeout=${3:any}, provider=${4:any} )" }, |
160 | | - { "trigger": "binder.initArg\tfn. (ColdBox binder)", "contents": "initArg( name=${1:any}, ref=${2:any}, dsl=${3:any}, value=${4:any}, javaCast=${5:any} )" }, |
| 193 | + { "trigger": "binder.initArg\tfn. (ColdBox binder)", "contents": "initArg( name=${1:any}, ref=${2:any}, dsl=${3:any}, value=${4:any}, javaCast=${5:any}, required=${6:any} )" }, |
161 | 194 | { "trigger": "binder.initWith\tfn. (ColdBox binder)", "contents": "initWith()" }, |
162 | 195 | { "trigger": "binder.into\tfn. (ColdBox binder)", "contents": "into( scope=${1:any} )" }, |
163 | 196 | { "trigger": "binder.listener\tfn. (ColdBox binder)", "contents": "listener( class=${1:any}, properties=${2:any}, name=${3:any} )" }, |
164 | 197 | { "trigger": "binder.loadDataDSL\tfn. (ColdBox binder)", "contents": "loadDataDSL( rawDSL=${1:any} )" }, |
165 | 198 | { "trigger": "binder.logBoxConfig\tfn. (ColdBox binder)", "contents": "logBoxConfig( config=${1:any} )" }, |
166 | 199 | { "trigger": "binder.map\tfn. (ColdBox binder)", "contents": "map( alias=${1:any} )" }, |
167 | 200 | { "trigger": "binder.mapAspect\tfn. (ColdBox binder)", "contents": "mapAspect( aspect=${1:any}, autoBinding=${2:true,false} )" }, |
168 | | - { "trigger": "binder.mapDirectory\tfn. (ColdBox binder)", "contents": "mapDirectory( packagePath=${1:any}, include=${2:any}, exclude=${3:any}, influence=${4:any}, filter=${5:any} )" }, |
| 201 | + { "trigger": "binder.mapDirectory\tfn. (ColdBox binder)", "contents": "mapDirectory( packagePath=${1:any}, include=${2:any}, exclude=${3:any}, influence=${4:any}, filter=${5:any}, namespace=${6:any}, prepend=${7:any} )" }, |
169 | 202 | { "trigger": "binder.mapDSL\tfn. (ColdBox binder)", "contents": "mapDSL( namespace=${1:any}, path=${2:any} )" }, |
170 | | - { "trigger": "binder.mapPath\tfn. (ColdBox binder)", "contents": "mapPath( path=${1:any} )" }, |
| 203 | + { "trigger": "binder.mapPath\tfn. (ColdBox binder)", "contents": "mapPath( path=${1:any}, namespace=${2:any}, prepend=${3:any} )" }, |
171 | 204 | { "trigger": "binder.mappingExists\tfn. (ColdBox binder)", "contents": "mappingExists( name=${1:any} )" }, |
172 | 205 | { "trigger": "binder.mapScope\tfn. (ColdBox binder)", "contents": "mapScope( annotation=${1:any}, path=${2:any} )" }, |
173 | 206 | { "trigger": "binder.match\tfn. (ColdBox binder)", "contents": "match()" }, |
|
180 | 213 | { "trigger": "binder.parent\tfn. (ColdBox binder)", "contents": "parent( alias=${1:any} )" }, |
181 | 214 | { "trigger": "binder.parentInjector\tfn. (ColdBox binder)", "contents": "parentInjector( injector=${1:any} )" }, |
182 | 215 | { "trigger": "binder.processMappings\tfn. (ColdBox binder)", "contents": "processMappings()" }, |
183 | | - { "trigger": "binder.property\tfn. (ColdBox binder)", "contents": "property( name=${1:any}, ref=${2:any}, dsl=${3:any}, value=${4:any}, javaCast=${5:any}, scope=${6:any} )" }, |
| 216 | + { "trigger": "binder.property\tfn. (ColdBox binder)", "contents": "property( name=${1:any}, ref=${2:any}, dsl=${3:any}, value=${4:any}, javaCast=${5:any}, scope=${6:any}, required=${7:any} )" }, |
184 | 217 | { "trigger": "binder.propertyExists\tfn. (ColdBox binder)", "contents": "propertyExists( name=${1:any} )" }, |
185 | 218 | { "trigger": "binder.providerMethod\tfn. (ColdBox binder)", "contents": "providerMethod( method=${1:any}, mapping=${2:any} )" }, |
186 | 219 | { "trigger": "binder.removeScanLocations\tfn. (ColdBox binder)", "contents": "removeScanLocations( locations=${1:any} )" }, |
|
319 | 352 | { "trigger": "event.paramValue\tfn. (ColdBox event)", "contents": "paramValue( name=${1:any}, value=${2:any}, private=${3:true,false} )" }, |
320 | 353 | { "trigger": "event.removeEventCacheableEntry\tfn. (ColdBox event)", "contents": "removeEventCacheableEntry()" }, |
321 | 354 | { "trigger": "event.removeValue\tfn. (ColdBox event)", "contents": "removeValue( name=\"${1:}\", private=${2:true,false} )" }, |
322 | | - { "trigger": "event.renderData\tfn. (ColdBox event)", "contents": "renderData( type=\"${1:}\", data=${2:any}, contentType=\"${3:}\", encoding=\"${4:}\", statusCode=${5:numeric}, statusText=\"${6:}\", location=\"${7:}\", jsonCallback=\"${8:}\", jsonQueryFormat=\"${9:}\", jsonAsText=${10:true,false}, xmlColumnList=\"${11:}\", xmlUseCDATA=${12:true,false}, xmlListDelimiter=\"${13:}\", xmlRootName=\"${14:}\", pdfArgs=${15:{}}, formats=${16:any}, formatsView=${17:any} )" }, |
| 355 | + { "trigger": "event.renderData\tfn. (ColdBox event)", "contents": "renderData( type=\"${1:}\", data=${2:any}, contentType=\"${3:}\", encoding=\"${4:}\", statusCode=${5:numeric}, statusText=\"${6:}\", location=\"${7:}\", jsonCallback=\"${8:}\", jsonQueryFormat=\"${9:}\", jsonAsText=${10:true,false}, xmlColumnList=\"${11:}\", xmlUseCDATA=${12:true,false}, xmlListDelimiter=\"${13:}\", xmlRootName=\"${14:}\", pdfArgs=${15:{}}, formats=${16:any}, formatsView=${17:any}, isBinary=${18:true,false} )" }, |
323 | 356 | { "trigger": "event.renderWithFormats\tfn. (ColdBox event)", "contents": "renderWithFormats()" }, |
324 | 357 | { "trigger": "event.setDefaultLayout\tfn. (ColdBox event)", "contents": "setDefaultLayout( DefaultLayout=\"${1:}\" )" }, |
325 | 358 | { "trigger": "event.setDefaultView\tfn. (ColdBox event)", "contents": "setDefaultView( DefaultView=\"${1:}\" )" }, |
|
0 commit comments