diff options
author | Paul Duncan <pabs@pablotron.org> | 2017-11-07 20:44:10 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2017-11-07 20:44:10 -0500 |
commit | 074c8ca2a16bc4849e8ecea5a123d4d9a2995898 (patch) | |
tree | ae2597166fb9da56ff34bf8abafc59548bc0cad5 /htdocs/js/ace/snippets/io.js | |
download | mathy-074c8ca2a16bc4849e8ecea5a123d4d9a2995898.tar.bz2 mathy-074c8ca2a16bc4849e8ecea5a123d4d9a2995898.zip |
initial commit
Diffstat (limited to 'htdocs/js/ace/snippets/io.js')
-rw-r--r-- | htdocs/js/ace/snippets/io.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/htdocs/js/ace/snippets/io.js b/htdocs/js/ace/snippets/io.js new file mode 100644 index 0000000..8cf735b --- /dev/null +++ b/htdocs/js/ace/snippets/io.js @@ -0,0 +1 @@ +define("ace/snippets/io",["require","exports","module"],function(e,t,n){"use strict";t.snippets=[{content:"assertEquals(${1:expected}, ${2:expr})",name:"assertEquals",scope:"io",tabTrigger:"ae"},{content:"${1:${2:newValue} := ${3:Object} }clone do(\n $0\n)",name:"clone do",scope:"io",tabTrigger:"cdo"},{content:'docSlot("${1:slotName}", "${2:documentation}")',name:"docSlot",scope:"io",tabTrigger:"ds"},{content:"(${1:header,}\n ${2:body}\n)$0",keyEquivalent:"@(",name:"Indented Bracketed Line",scope:"io",tabTrigger:"("},{content:"\n $0\n",keyEquivalent:"\r",name:"Special: Return Inside Empty Parenthesis",scope:"io meta.empty-parenthesis.io, io meta.comma-parenthesis.io"},{content:"${1:methodName} := method(${2:args,}\n $0\n)",name:"method",scope:"io",tabTrigger:"m"},{content:'newSlot("${1:slotName}", ${2:defaultValue}, "${3:docString}")$0',name:"newSlot",scope:"io",tabTrigger:"ns"},{content:"${1:name} := Object clone do(\n $0\n)",name:"Object clone do",scope:"io",tabTrigger:"ocdo"},{content:"test${1:SomeFeature} := method(\n $0\n)",name:"testMethod",scope:"io",tabTrigger:"ts"},{content:"${1:Something}Test := ${2:UnitTest} clone do(\n $0\n)",name:"UnitTest",scope:"io",tabTrigger:"ut"}],t.scope="io"})
\ No newline at end of file |