1
|
ace.define("ace/snippets/io",["require","exports","module"], function(require, exports, module) {
|
2
|
"use strict";
|
3
|
|
4
|
exports.snippets = [
|
5
|
{
|
6
|
"content": "assertEquals(${1:expected}, ${2:expr})",
|
7
|
"name": "assertEquals",
|
8
|
"scope": "io",
|
9
|
"tabTrigger": "ae"
|
10
|
},
|
11
|
{
|
12
|
"content": "${1:${2:newValue} := ${3:Object} }clone do(\n\t$0\n)",
|
13
|
"name": "clone do",
|
14
|
"scope": "io",
|
15
|
"tabTrigger": "cdo"
|
16
|
},
|
17
|
{
|
18
|
"content": "docSlot(\"${1:slotName}\", \"${2:documentation}\")",
|
19
|
"name": "docSlot",
|
20
|
"scope": "io",
|
21
|
"tabTrigger": "ds"
|
22
|
},
|
23
|
{
|
24
|
"content": "(${1:header,}\n\t${2:body}\n)$0",
|
25
|
"keyEquivalent": "@(",
|
26
|
"name": "Indented Bracketed Line",
|
27
|
"scope": "io",
|
28
|
"tabTrigger": "("
|
29
|
},
|
30
|
{
|
31
|
"content": "\n\t$0\n",
|
32
|
"keyEquivalent": "\r",
|
33
|
"name": "Special: Return Inside Empty Parenthesis",
|
34
|
"scope": "io meta.empty-parenthesis.io, io meta.comma-parenthesis.io"
|
35
|
},
|
36
|
{
|
37
|
"content": "${1:methodName} := method(${2:args,}\n\t$0\n)",
|
38
|
"name": "method",
|
39
|
"scope": "io",
|
40
|
"tabTrigger": "m"
|
41
|
},
|
42
|
{
|
43
|
"content": "newSlot(\"${1:slotName}\", ${2:defaultValue}, \"${3:docString}\")$0",
|
44
|
"name": "newSlot",
|
45
|
"scope": "io",
|
46
|
"tabTrigger": "ns"
|
47
|
},
|
48
|
{
|
49
|
"content": "${1:name} := Object clone do(\n\t$0\n)",
|
50
|
"name": "Object clone do",
|
51
|
"scope": "io",
|
52
|
"tabTrigger": "ocdo"
|
53
|
},
|
54
|
{
|
55
|
"content": "test${1:SomeFeature} := method(\n\t$0\n)",
|
56
|
"name": "testMethod",
|
57
|
"scope": "io",
|
58
|
"tabTrigger": "ts"
|
59
|
},
|
60
|
{
|
61
|
"content": "${1:Something}Test := ${2:UnitTest} clone do(\n\t$0\n)",
|
62
|
"name": "UnitTest",
|
63
|
"scope": "io",
|
64
|
"tabTrigger": "ut"
|
65
|
}
|
66
|
];
|
67
|
exports.scope = "io";
|
68
|
|
69
|
}); (function() {
|
70
|
ace.require(["ace/snippets/io"], function(m) {
|
71
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
72
|
module.exports = m;
|
73
|
}
|
74
|
});
|
75
|
})();
|
76
|
|