Skip to content

Commit fa013d1

Browse files
committed
new version finalized
1 parent ebe93f9 commit fa013d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1391
-1514
lines changed

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v3.2.0
4+
5+
- Updates for latest software versions
6+
- Updated to latest ColdBox
7+
- Updated to latest BoxLang engines
8+
39
## v3.1.0
410

511
- Updated all skeletons to more ColdBox 7 goodness

completions/ColdBox.sublime-completions

Lines changed: 1153 additions & 1373 deletions
Large diffs are not rendered by default.

messages.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"2.6.0": "changelog.md",
77
"2.7.0": "changelog.md",
88
"3.0.0": "changelog.md",
9-
"3.1.0": "changelog.md"
9+
"3.1.0": "changelog.md",
10+
"3.2.0": "changelog.md"
1011
}

readme.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Get the latest Sublime Text from http://www.sublimetext.com
44

55
## Target Platforms
66

7-
- ColdBox 5.X.X+
8-
- TestBox 4.X.X
7+
- ColdBox 7.X.X+
8+
- TestBox 6.X.X
99

1010
## Features
1111

12-
This bundle includes functionality not only for ColdBox MVC, but also for TestBox BDD/TDD, MockBox, WireBox, CacheBox and LogBox.
12+
This bundle includes functionality not only for ColdBox MVC, but also for TestBox BDD/TDD, WireBox, CacheBox and LogBox.
1313

1414
### Code Insight
1515

@@ -31,6 +31,7 @@ Code completion for all major ColdBox + TestBox functions and scopes:
3131
- `apiResourceHandler` : Creates a ColdBox API Resource Handler
3232
- `cachebox-config ➝` : Creates a new CacheBox.cfc configuration file
3333
- `config ➝` : Creates a new ColdBox.cfc configuration file
34+
- `class ➝` : Creates a new BoxLang class
3435
- `cfc ➝` : Creates a new ColdFusion script CFC
3536
- `bdd ➝` : Creates a TestBox BDD Bundle
3637
- `box ➝` : Creates a `box.json` template
@@ -126,29 +127,23 @@ If you have the [Package Control](http://wbond.net/sublime_packages/package_cont
126127
#### Mac
127128

128129
```bash
129-
$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
130-
$ git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox
130+
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
131+
git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox
131132
```
132133

133134
#### Linux (Ubuntu like distros)
134135

135136
```bash
136-
$ cd ~/.config/sublime-text-2/Packages/
137-
$ git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox
137+
cd ~/.config/sublime-text-3/Packages/
138+
git clone https://github.com/lmajano/cbox-coldbox-sublime.git coldbox
138139
```
139140

140141
#### Windows 7
141142

142-
`Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages"`
143-
144-
#### Windows XP
145-
146-
`Copy the directory to: "C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages"`
143+
`Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 3\Packages"`
147144

148145
## References
149146

150-
- Sublimetext 2 API - http://www.sublimetext.com/docs/2/api_reference.html
151-
- How to create a plugin: http://net.tutsplus.com/tutorials/python-tutorials/how-to-create-a-sublime-text-2-plugin/
152-
- Unoffical (but very good) docs - http://sublimetext.info/docs/en/
147+
- Sublimetext API - https://www.sublimetext.com/docs/api_reference.html
148+
- Unoffical (but very good) docs - https://docs.sublimetext.info/index.html
153149
- ColdFusion Sublime Text bundle - https://github.com/SublimeText/ColdFusion
154-
- MXUnit Sublime Text bundle - https://github.com/mxunit/sublime-text-2-mxunit

skeletons/resource-api-handler.sublime-snippet

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,39 @@ component extends="coldbox.system.RestHandler"{
1919
function index( event, rc, prc ){
2020
event.getResponse()
2121
.setData( {} )
22-
.addMessage( "Calling photos/index" );
22+
.addMessage( "Calling photos/index" )
2323
}
2424
/**
2525
* create
2626
*/
2727
function create( event, rc, prc ){
2828
event.getResponse()
2929
.setData( {} )
30-
.addMessage( "Calling photos/create" );
30+
.addMessage( "Calling photos/create" )
3131
}
3232
/**
3333
* show
3434
*/
3535
function show( event, rc, prc ){
3636
event.getResponse()
3737
.setData( {} )
38-
.addMessage( "Calling photos/show" );
38+
.addMessage( "Calling photos/show" )
3939
}
4040
/**
4141
* update
4242
*/
4343
function update( event, rc, prc ){
4444
event.getResponse()
4545
.setData( {} )
46-
.addMessage( "Calling photos/update" );
46+
.addMessage( "Calling photos/update" )
4747
}
4848
/**
4949
* delete
5050
*/
5151
function delete( event, rc, prc ){
5252
event.getResponse()
5353
.setData( {} )
54-
.addMessage( "Calling photos/delete" );
54+
.addMessage( "Calling photos/delete" )
5555
}
5656
5757
}

skeletons/resthandler.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ component extends="coldbox.system.RestHandler"{
1010
*/
1111
any function index( event, rc, prc ){
1212
event.getResponse()
13-
.setData( "" );
13+
.setData( "" )
1414
}
1515
1616
}

skeletons/test-bdd.sublime-snippet

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ component extends="testbox.system.BaseSpec"{
2525
2626
function run( testResults, testBox ){
2727
// all your suites go here.
28-
describe( "My First Suite", function(){
28+
describe( "My First Suite", () => {
2929
30-
it( "A Spec", function(){
31-
fail( 'implement' );
32-
} );
30+
it( "A Spec", () => {
31+
fail( 'implement' )
32+
} )
3333
34-
} );
34+
} )
3535
}
3636
3737
}
3838
]]></content>
3939
<tabTrigger>bdd</tabTrigger>
4040
<scope>source,text</scope>
4141
<description>TestBox BDD Bundle</description>
42-
</snippet>
42+
</snippet>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<snippet>
2+
<content><![CDATA[
3+
/**
4+
* ${1:index}
5+
*/
6+
class{
7+
8+
/**
9+
* Constructor
10+
*/
11+
function init(){
12+
return this;
13+
}
14+
15+
/**
16+
* Main executable
17+
*/
18+
function main( args: {} ){
19+
println( "Main" )
20+
}
21+
22+
}
23+
]]></content>
24+
<tabTrigger>class</tabTrigger>
25+
<scope>source,text</scope>
26+
<description>BoxLang Class</description>
27+
</snippet>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<snippet>
2+
<content><![CDATA[
3+
/**
4+
* ${1:index}
5+
*/
6+
function ${1:}(){
7+
8+
}
9+
]]></content>
10+
<tabTrigger>function</tabTrigger>
11+
<scope>source,text</scope>
12+
<description>Function</description>
13+
</snippet>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<snippet>
2+
<content><![CDATA[
3+
@inject( "${2}" )
4+
property name="${1}";
5+
]]></content>
6+
<tabTrigger>inject</tabTrigger>
7+
<scope>source,text</scope>
8+
<description>Property Injection</description>
9+
</snippet>

0 commit comments

Comments
 (0)