2c41df6060672e75b4ab09e4a5d43049.js 2.1 KB

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