feat(SublimeText2.WebPackages): cache packages
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
after ->
|
||||
$1
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>after</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.coffee</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>After</description>
|
||||
</snippet>
|
@@ -0,0 +1,12 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
afterEach ->
|
||||
$1
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>afte</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.coffee</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>After Each</description>
|
||||
</snippet>
|
@@ -0,0 +1,12 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
before ->
|
||||
$1
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>bef</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.coffee</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>Before</description>
|
||||
</snippet>
|
@@ -0,0 +1,12 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
beforeEach ->
|
||||
$1
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>befe</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.coffee</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>Before Each</description>
|
||||
</snippet>
|
@@ -0,0 +1,12 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
describe "${1:suite}", ->
|
||||
$2
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>des</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.coffee</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>Describe</description>
|
||||
</snippet>
|
@@ -0,0 +1,12 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
it "${1:expectation}", ->
|
||||
$2
|
||||
]]></content>
|
||||
<!-- Optional: Tab trigger to activate the snippet -->
|
||||
<tabTrigger>it</tabTrigger>
|
||||
<!-- Optional: Scope the tab trigger will be active in -->
|
||||
<scope>source.coffee</scope>
|
||||
<!-- Optional: Description to show in the menu -->
|
||||
<description>It</description>
|
||||
</snippet>
|
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"scope": "source.coffee",
|
||||
"version": "0.10",
|
||||
"completions":
|
||||
[
|
||||
{ "trigger": "assert", "contents": "assert ${1:expression}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.fail", "contents": "assert.fail ${1:actual}, ${2:expected}${3:, \"${4:[message]}\", ${5:[operator]}}$0"},
|
||||
{ "trigger": "assert.ok", "contents": "assert.ok ${1:object}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.equal", "contents": "assert.equal ${1:actual}, ${2:expected}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.notEqual", "contents": "assert.notEqual ${1:actual}, ${2:expected}${3:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.strictEqual", "contents": "assert.strictEqual ${1:actual}, ${2:expected}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.notStrictEqual", "contents": "assert.notStrictEqual ${1:actual}, ${2:expected}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.deepEqual", "contents": "assert.deepEqual ${1:actual}, ${2:expected}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.notDeepEqual", "contents": "assert.notDeepEqual ${1:actual}, ${2:expected}${3:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isTrue", "contents": "assert.isTrue ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isFalse", "contents": "assert.isFalse ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isNull", "contents": "assert.isNull ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isNotNull", "contents": "assert.isNotNull ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isUndefined", "contents": "assert.isUndefined ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isDefined", "contents": "assert.isDefined ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isFunction", "contents": "assert.isFunction ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isNotFunction", "contents": "assert.isNotFunction ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isObject", "contents": "assert.isObject ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isNotObject", "contents": "assert.isNotObject ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isArray", "contents": "assert.isArray ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isNotArray", "contents": "assert.isNotArray ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isString", "contents": "assert.isString ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isNotString", "contents": "assert.isNotString ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isNumber", "contents": "assert.isNumber ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isNotNumber", "contents": "assert.isNotNumber ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isBoolean", "contents": "assert.isBoolean ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.isNotBoolean", "contents": "assert.isNotBoolean ${1:value}${2:, \"${3:[message]}\"}$0"},
|
||||
{ "trigger": "assert.typeOf", "contents": "assert.typeOf ${1:value}, ${2:name}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.notTypeOf", "contents": "assert.notTypeOf ${1:value}, ${2:name}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.instanceOf", "contents": "assert.instanceOf ${1:object}, ${2:constructor}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.notInstanceOf", "contents": "assert.notInstanceOf ${1:object}, ${2:constructor}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.include", "contents": "assert.include ${1:haystack}, ${2:needle}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.match", "contents": "assert.match ${1:value}, ${2:regexp}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.notMatch", "contents": "assert.notMatch ${1:value}, ${2:regexp}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.property", "contents": "assert.property ${1:object}, ${2:property}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.notProperty", "contents": "assert.notProperty ${1:object}, ${2:property}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.deepProperty", "contents": "assert.deepProperty ${1:object}, ${2:property}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.notDeepProperty", "contents": "assert.notDeepProperty ${1:object}, ${2:property}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.propertyVal", "contents": "assert.notDeepProperty ${1:object}, ${2:property}, ${3:value}${4:, \"${5:[message]}\"}$0"},
|
||||
{ "trigger": "assert.propertyNotVal", "contents": "assert.propertyNotVal ${1:object}, ${2:property} ${3:value}${4:, \"${5:[message]}\"}$0"},
|
||||
{ "trigger": "assert.deepPropertyVal", "contents": "assert.deepPropertyVal ${1:object}, ${2:property} ${3:value}${4:, \"${5:[message]}\"}$0"},
|
||||
{ "trigger": "assert.deepPropertyNotVal", "contents": "assert.deepPropertyNotVal ${1:object}, ${2:property}, ${3:value}${4:, \"${5:[message]}\"}$0"},
|
||||
{ "trigger": "assert.lengthOf", "contents": "assert.lengthOf ${1:object}, ${2:length}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.throws", "contents": "assert.throws ${1:function}, ${2:constructor/regexp}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.doesNotThrow", "contents": "assert.doesNotThrow ${1:function}, ${2:constructor/regexp}${3:, \"${4:[message]}\"}$0"},
|
||||
{ "trigger": "assert.operator", "contents": "assert.operator ${1:val1}, ${2:operator}, ${3:val2}${4:, \"${5:[message]}\"}$0"},
|
||||
{ "trigger": "assert.closeTo", "contents": "assert.closeTo ${1:actual}, ${2:expected}, ${3:delta}${4:, \"${5:[message]}\"}$0" }
|
||||
]
|
||||
}
|
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"scope": "source.coffee",
|
||||
"version": "0.10",
|
||||
"completions":
|
||||
[
|
||||
{ "trigger": "expect", "contents": "expect(${1:value}).to.$0" },
|
||||
{ "trigger": "expect.to.be.a", "contents": "expect(${1:value}).to.be.a \"${2:type}\"$0" },
|
||||
{ "trigger": "expect.to.be.an", "contents": "expect(${1:value}).to.be.an \"${2:type}\"$0" },
|
||||
{ "trigger": "expect.to.be.an.instanceof", "contents": "expect(${1:value}).to.be.an.instanceof ${2:object}$0" },
|
||||
{ "trigger": "expect.to.include", "contents": "expect(${1:value}).to.include ${2:value}$0" },
|
||||
{ "trigger": "expect.to.contain", "contents": "expect(${1:value}).to.contain \"${2:string}\"$0" },
|
||||
{ "trigger": "expect.to.include.keys", "contents": "expect(${1:value}).to.include.keys \"${2:string}\"$0" },
|
||||
{ "trigger": "expect.to.be.ok", "contents": "expect(${1:value}).to.be.ok$0" },
|
||||
{ "trigger": "expect.to.not.be.ok", "contents": "expect(${1:value}).to.not.be.ok$0" },
|
||||
{ "trigger": "expect.to.be.true", "contents": "expect(${1:value}).to.be.true$0" },
|
||||
{ "trigger": "expect.to.not.be.true", "contents": "expect(${1:value}).to.not.be.true$0" },
|
||||
{ "trigger": "expect.to.be.false", "contents": "expect(${1:value}).to.be.false$0" },
|
||||
{ "trigger": "expect.to.not.be.false", "contents": "expect(${1:value}).to.not.be.false$0" },
|
||||
{ "trigger": "expect.to.be.null", "contents": "expect(${1:value}).to.be.null$0" },
|
||||
{ "trigger": "expect.to.not.be.null", "contents": "expect(${1:value}).to.not.be.null$0" },
|
||||
{ "trigger": "expect.to.be.undefined", "contents": "expect(${1:value}).to.be.undefined$0" },
|
||||
{ "trigger": "expect.to.not.be.undefined", "contents": "expect(${1:value}).to.not.be.undefined$0" },
|
||||
{ "trigger": "expect.to.exist", "contents": "expect(${1:value}).to.exist$0" },
|
||||
{ "trigger": "expect.to.not.exist", "contents": "expect(${1:value}).to.not.exist$0" },
|
||||
{ "trigger": "expect.to.be.empty", "contents": "expect(${1:value}).to.be.empty$0" },
|
||||
{ "trigger": "expect.to.not.be.empty", "contents": "expect(${1:value}).to.not.be.empty$0" },
|
||||
{ "trigger": "expect.to.be.arguments", "contents": "expect(${1:value}).to.be.arguments ${2:value}$0" },
|
||||
{ "trigger": "expect.to.equal", "contents": "expect(${1:value}).to.equal ${2:value}$0" },
|
||||
{ "trigger": "expect.to.not.equal", "contents": "expect(${1:value}).to.not.equal ${2:value}$0" },
|
||||
{ "trigger": "expect.to.eql", "contents": "expect(${1:value}).to.eql ${2:value}$0" },
|
||||
{ "trigger": "expect.to.not.eql", "contents": "expect(${1:value}).to.not.eql ${2:value}$0" },
|
||||
{ "trigger": "expect.to.be.above", "contents": "expect(${1:value}).to.be.above ${2:value}$0" },
|
||||
{ "trigger": "expect.to.have.length.above", "contents": "expect(${1:value}).to.have.length.above ${2:value}$0" },
|
||||
{ "trigger": "expect.to.be.at.least", "contents": "expect(${1:value}).to.be.at.least ${2:value}$0" },
|
||||
{ "trigger": "expect.to.be.below", "contents": "expect(${1:value}).to.be.below ${2:value}$0" },
|
||||
{ "trigger": "expect.to.be.at.most", "contents": "expect(${1:value}).to.be.at.most ${2:value}$0" },
|
||||
{ "trigger": "expect.to.have.length.of.at.most", "contents": "expect(${1:value}).to.have.length.of.at.most ${2:value}$0" },
|
||||
{ "trigger": "expect.to.be.within", "contents": "expect(${1:value}).to.be.within ${2:start}, ${3:finish}$0" },
|
||||
{ "trigger": "expect.to.have.length.within", "contents": "expect(${1:value}).to.have.length.within ${2:start}, ${3:finish}$0" },
|
||||
{ "trigger": "expect.to.have.property", "contents": "expect(${1:value}).to.have.property \"${2:value}\"$0" },
|
||||
{ "trigger": "expect.to.have.deep.property", "contents": "expect(${1:value}).to.have.deep.property \"${2:value}\"$0" },
|
||||
{ "trigger": "expect.to.have.ownProperty", "contents": "expect(${1:value}).to.have.ownProperty \"${2:value}\"$0" },
|
||||
{ "trigger": "expect.to.have.length", "contents": "expect(${1:value}).to.have.length ${2:value}$0" },
|
||||
{ "trigger": "expect.to.have.length.above", "contents": "expect(${1:value}).to.have.length.above ${2:value}$0" },
|
||||
{ "trigger": "expect.to.have.length.below", "contents": "expect(${1:value}).to.have.length.below ${2:value}$0" },
|
||||
{ "trigger": "expect.to.have.length.within", "contents": "expect(${1:value}).to.have.length.within ${2:start}, ${3:finish}$0" },
|
||||
{ "trigger": "expect.to.match", "contents": "expect(${1:value}).to.match /${2:regex}/$0" },
|
||||
{ "trigger": "expect.to.have.string", "contents": "expect(${1:value}).to.have.string \"${2:string}\"$0" },
|
||||
{ "trigger": "expect.to.have.keys", "contents": "expect(${1:value}).to.have.keys \"${2:string}\"$0" },
|
||||
{ "trigger": "expect.to.throw", "contents": "expect(${1:value}).to.throw ${2:error}$0" },
|
||||
{ "trigger": "expect.to.not.throw", "contents": "expect(${1:value}).to.not.throw ${2:error}$0" },
|
||||
{ "trigger": "expect.to.respondTo", "contents": "expect(${1:value}).to.respondTo ${2:string}$0" },
|
||||
{ "trigger": "expect.to.satisfy", "contents": "expect(${1:value}).to.satisfy ${2:function}$0" },
|
||||
{ "trigger": "expect.to.be.closeTo", "contents": "expect(${1:value}).to.be.closeTo ${2:expected}, ${3:delta}$0" }
|
||||
]
|
||||
}
|
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"scope": "source.coffee",
|
||||
"version": "0.10",
|
||||
"completions":
|
||||
[
|
||||
{ "trigger": "should", "contents": "should.$0" },
|
||||
{ "trigger": "should.be.a", "contents": "should.be.a \"${1:type}\"$0" },
|
||||
{ "trigger": "should.be.an", "contents": "should.be.an \"${1:type}\"$0" },
|
||||
{ "trigger": "should.be.an.instanceof", "contents": "should.be.an.instanceof ${1:object}$0" },
|
||||
{ "trigger": "should.include", "contents": "should.include ${1:value}$0" },
|
||||
{ "trigger": "should.contain", "contents": "should.contain \"${1:string}\"$0" },
|
||||
{ "trigger": "should.include.keys", "contents": "should.include.keys \"${1:string}\"$0" },
|
||||
{ "trigger": "should.be.ok", "contents": "should.be.ok$0" },
|
||||
{ "trigger": "should.not.be.ok", "contents": "should.not.be.ok$0" },
|
||||
{ "trigger": "should.be.true", "contents": "should.be.true$0" },
|
||||
{ "trigger": "should.not.be.true", "contents": "should.not.be.true$0" },
|
||||
{ "trigger": "should.be.false", "contents": "should.be.false$0" },
|
||||
{ "trigger": "should.not.be.false", "contents": "should.not.be.false$0" },
|
||||
{ "trigger": "should.be.null", "contents": "should.be.null$0" },
|
||||
{ "trigger": "should.not.be.null", "contents": "should.not.be.null$0" },
|
||||
{ "trigger": "should.be.undefined", "contents": "should.be.undefined$0" },
|
||||
{ "trigger": "should.not.be.undefined", "contents": "should.not.be.undefined$0" },
|
||||
{ "trigger": "should.exist", "contents": "should.exist$0" },
|
||||
{ "trigger": "should.not.exist", "contents": "should.not.exist$0" },
|
||||
{ "trigger": "should.be.empty", "contents": "should.be.empty$0" },
|
||||
{ "trigger": "should.not.be.empty", "contents": "should.not.be.empty$0" },
|
||||
{ "trigger": "should.be.arguments", "contents": "should.be.arguments ${1:value}$0" },
|
||||
{ "trigger": "should.equal", "contents": "should.equal ${1:value}$0" },
|
||||
{ "trigger": "should.not.equal", "contents": "should.not.equal ${1:value}$0" },
|
||||
{ "trigger": "should.eql", "contents": "should.eql ${1:value}$0" },
|
||||
{ "trigger": "should.not.eql", "contents": "should.not.eql ${1:value}$0" },
|
||||
{ "trigger": "should.be.above", "contents": "should.be.above ${1:value}$0" },
|
||||
{ "trigger": "should.have.length.above", "contents": "should.have.length.above ${1:value}$0" },
|
||||
{ "trigger": "should.be.at.least", "contents": "should.be.at.least ${1:value}$0" },
|
||||
{ "trigger": "should.be.below", "contents": "should.be.below ${1:value}$0" },
|
||||
{ "trigger": "should.be.at.most", "contents": "should.be.at.most ${1:value}$0" },
|
||||
{ "trigger": "should.have.length.of.at.most", "contents": "should.have.length.of.at.most ${1:value}$0" },
|
||||
{ "trigger": "should.be.within", "contents": "should.be.within ${1:start}, ${2:finish}$0" },
|
||||
{ "trigger": "should.have.length.within", "contents": "should.have.length.within ${1:start}, ${2:finish}$0" },
|
||||
{ "trigger": "should.have.property", "contents": "should.have.property \"${1:value}\"$0" },
|
||||
{ "trigger": "should.have.deep.property", "contents": "should.have.deep.property \"${1:value}\"$0" },
|
||||
{ "trigger": "should.have.ownProperty", "contents": "should.have.ownProperty \"${1:value}\"$0" },
|
||||
{ "trigger": "should.have.length", "contents": "should.have.length ${1:value}$0" },
|
||||
{ "trigger": "should.have.length.above", "contents": "should.have.length.above ${1:value}$0" },
|
||||
{ "trigger": "should.have.length.below", "contents": "should.have.length.below ${1:value}$0" },
|
||||
{ "trigger": "should.have.length.within", "contents": "should.have.length.within ${1:start}, ${2:finish}$0" },
|
||||
{ "trigger": "should.match", "contents": "should.match /${1:regex}/$0" },
|
||||
{ "trigger": "should.have.string", "contents": "should.have.string \"${1:string}\"$0" },
|
||||
{ "trigger": "should.have.keys", "contents": "should.have.keys \"${1:string}\"$0" },
|
||||
{ "trigger": "should.throw", "contents": "should.throw ${1:error}$0" },
|
||||
{ "trigger": "should.not.throw", "contents": "should.not.throw ${1:error}$0" },
|
||||
{ "trigger": "should.respondTo", "contents": "should.respondTo ${1:string}$0" },
|
||||
{ "trigger": "should.satisfy", "contents": "should.satisfy ${1:function}$0" },
|
||||
{ "trigger": "should.be.closeTo", "contents": "should.be.closeTo ${1:expected}, ${2:delta}$0" }
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user