ace-rails-ap 4.2 → 4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ace/rails/version.rb +1 -1
- data/update.sh +1 -1
- data/vendor/assets/javascripts/ace/ace.js +661 -160
- data/vendor/assets/javascripts/ace/ext-beautify.js +1 -0
- data/vendor/assets/javascripts/ace/ext-emmet.js +314 -218
- data/vendor/assets/javascripts/ace/ext-keybinding_menu.js +37 -32
- data/vendor/assets/javascripts/ace/ext-language_tools.js +362 -225
- data/vendor/assets/javascripts/ace/ext-linking.js +1 -1
- data/vendor/assets/javascripts/ace/ext-modelist.js +6 -2
- data/vendor/assets/javascripts/ace/ext-options.js +45 -34
- data/vendor/assets/javascripts/ace/ext-prompt.js +2764 -0
- data/vendor/assets/javascripts/ace/ext-rtl.js +1 -3
- data/vendor/assets/javascripts/ace/ext-settings_menu.js +49 -38
- data/vendor/assets/javascripts/ace/ext-statusbar.js +2 -2
- data/vendor/assets/javascripts/ace/ext-whitespace.js +4 -0
- data/vendor/assets/javascripts/ace/keybinding-emacs.js +1 -0
- data/vendor/assets/javascripts/ace/keybinding-vim.js +296 -66
- data/vendor/assets/javascripts/ace/mode-aql.js +102 -0
- data/vendor/assets/javascripts/ace/mode-autohotkey.js +3 -1
- data/vendor/assets/javascripts/ace/mode-cirru.js +2 -2
- data/vendor/assets/javascripts/ace/mode-crystal.js +642 -0
- data/vendor/assets/javascripts/ace/mode-csound_document.js +42 -29
- data/vendor/assets/javascripts/ace/mode-csound_orchestra.js +35 -25
- data/vendor/assets/javascripts/ace/mode-csound_score.js +29 -21
- data/vendor/assets/javascripts/ace/mode-fsharp.js +2 -2
- data/vendor/assets/javascripts/ace/mode-gherkin.js +0 -2
- data/vendor/assets/javascripts/ace/mode-gobstones.js +252 -94
- data/vendor/assets/javascripts/ace/mode-io.js +1 -7
- data/vendor/assets/javascripts/ace/mode-jade.js +1 -1
- data/vendor/assets/javascripts/ace/mode-lua.js +30 -10
- data/vendor/assets/javascripts/ace/mode-luapage.js +30 -10
- data/vendor/assets/javascripts/ace/mode-lucene.js +77 -9
- data/vendor/assets/javascripts/ace/mode-markdown.js +2 -1
- data/vendor/assets/javascripts/ace/mode-mask.js +1 -1
- data/vendor/assets/javascripts/ace/mode-nginx.js +298 -0
- data/vendor/assets/javascripts/ace/mode-nim.js +363 -0
- data/vendor/assets/javascripts/ace/mode-pascal.js +84 -66
- data/vendor/assets/javascripts/ace/mode-php.js +1 -1
- data/vendor/assets/javascripts/ace/mode-php_laravel_blade.js +1 -1
- data/vendor/assets/javascripts/ace/mode-puppet.js +3 -3
- data/vendor/assets/javascripts/ace/mode-slim.js +2 -1
- data/vendor/assets/javascripts/ace/mode-tcl.js +3 -0
- data/vendor/assets/javascripts/ace/mode-terraform.js +4 -4
- data/vendor/assets/javascripts/ace/mode-yaml.js +44 -13
- data/vendor/assets/javascripts/ace/mode-zeek.js +539 -0
- data/vendor/assets/javascripts/ace/snippets/abap.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/abc.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/actionscript.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/ada.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/apache_conf.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/apex.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/applescript.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/aql.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/asciidoc.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/asl.js +13 -0
- data/vendor/assets/javascripts/ace/snippets/assembly_x86.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/autohotkey.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/batchfile.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/bro.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/c9search.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/c_cpp.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/cirru.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/clojure.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/cobol.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/coffee.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/coldfusion.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/crystal.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/csharp.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/csound_document.js +24 -0
- data/vendor/assets/javascripts/ace/snippets/csound_orchestra.js +61 -0
- data/vendor/assets/javascripts/ace/snippets/csound_score.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/csp.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/css.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/curly.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/d.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/dart.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/diff.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/django.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/dockerfile.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/dot.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/drools.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/edifact.js +254 -0
- data/vendor/assets/javascripts/ace/snippets/eiffel.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/ejs.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/elixir.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/elm.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/erlang.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/forth.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/fortran.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/fsharp.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/fsl.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/ftl.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/gcode.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/gherkin.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/gitignore.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/glsl.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/gobstones.js +1701 -24
- data/vendor/assets/javascripts/ace/snippets/golang.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/graphqlschema.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/groovy.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/haml.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/handlebars.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/haskell.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/haskell_cabal.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/haxe.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/hjson.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/html.js +36 -2
- data/vendor/assets/javascripts/ace/snippets/html_elixir.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/html_ruby.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/ini.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/io.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/jack.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/jade.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/java.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/javascript.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/json.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/jsoniq.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/jsp.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/jssm.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/jsx.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/julia.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/kotlin.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/latex.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/less.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/liquid.js +890 -2
- data/vendor/assets/javascripts/ace/snippets/lisp.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/livescript.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/logiql.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/logtalk.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/lsl.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/lua.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/luapage.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/lucene.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/makefile.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/markdown.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/mask.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/matlab.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/maze.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/mel.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/mixal.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/mushcode.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/mysql.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/nginx.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/nim.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/nix.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/nsis.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/objectivec.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/ocaml.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/pascal.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/perl.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/perl6.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/pgsql.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/php.js +49 -36
- data/vendor/assets/javascripts/ace/snippets/php_laravel_blade.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/pig.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/plain_text.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/powershell.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/praat.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/prolog.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/properties.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/protobuf.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/puppet.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/python.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/r.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/razor.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/rdoc.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/red.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/redshift.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/rhtml.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/rst.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/ruby.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/rust.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/sass.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/scad.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/scala.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/scheme.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/scss.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/sh.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/sjs.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/slim.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/smarty.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/snippets.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/soy_template.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/space.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/sparql.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/sql.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/sqlserver.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/stylus.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/svg.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/swift.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/tcl.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/terraform.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/tex.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/text.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/textile.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/toml.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/tsx.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/turtle.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/twig.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/typescript.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/vala.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/vbscript.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/velocity.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/verilog.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/vhdl.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/visualforce.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/wollok.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/xml.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/xquery.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/yaml.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/zeek.js +14 -0
- data/vendor/assets/javascripts/ace/worker-coffee.js +2 -2
- data/vendor/assets/javascripts/ace/worker-css.js +9 -3
- data/vendor/assets/javascripts/ace/worker-html.js +2 -2
- data/vendor/assets/javascripts/ace/worker-javascript.js +2 -2
- data/vendor/assets/javascripts/ace/worker-json.js +2 -2
- data/vendor/assets/javascripts/ace/worker-lua.js +2 -2
- data/vendor/assets/javascripts/ace/worker-php.js +4 -4
- data/vendor/assets/javascripts/ace/worker-xml.js +2 -2
- data/vendor/assets/javascripts/ace/worker-xquery.js +2 -2
- metadata +34 -16
- data/vendor/assets/javascripts/ace/ext-chromevox.js +0 -540
- data/vendor/assets/javascripts/ace/ext-old_ie.js +0 -502
- data/vendor/assets/javascripts/ace/mode-bash.js +0 -247
- data/vendor/assets/javascripts/ace/mode-lean.js +0 -281
- data/vendor/assets/javascripts/ace/mode-live_script.js +0 -481
- data/vendor/assets/javascripts/ace/mode-mips_assembler.js +0 -235
- data/vendor/assets/javascripts/ace/mode-mipsassembler.js +0 -196
- data/vendor/assets/javascripts/ace/mode-swig.js +0 -1099
- data/vendor/assets/javascripts/ace/snippets/lean.js +0 -7
- data/vendor/assets/javascripts/ace/snippets/live_script.js +0 -7
- data/vendor/assets/javascripts/ace/snippets/mips_assembler.js +0 -7
- data/vendor/assets/javascripts/ace/snippets/mipsassembler.js +0 -7
- data/vendor/assets/javascripts/ace/snippets/swig.js +0 -7
@@ -4,4 +4,11 @@ define("ace/snippets/curly",["require","exports","module"], function(require, ex
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "curly";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/curly"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|
@@ -4,4 +4,11 @@ define("ace/snippets/d",["require","exports","module"], function(require, export
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "d";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/d"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|
@@ -87,4 +87,11 @@ snippet tryf\n\
|
|
87
87
|
";
|
88
88
|
exports.scope = "dart";
|
89
89
|
|
90
|
-
});
|
90
|
+
}); (function() {
|
91
|
+
window.require(["ace/snippets/dart"], function(m) {
|
92
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
93
|
+
module.exports = m;
|
94
|
+
}
|
95
|
+
});
|
96
|
+
})();
|
97
|
+
|
@@ -15,4 +15,11 @@ snippet header DEP-3 style header\n\
|
|
15
15
|
";
|
16
16
|
exports.scope = "diff";
|
17
17
|
|
18
|
-
});
|
18
|
+
}); (function() {
|
19
|
+
window.require(["ace/snippets/diff"], function(m) {
|
20
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
21
|
+
module.exports = m;
|
22
|
+
}
|
23
|
+
});
|
24
|
+
})();
|
25
|
+
|
@@ -112,4 +112,11 @@ snippet r2r\n\
|
|
112
112
|
";
|
113
113
|
exports.scope = "django";
|
114
114
|
|
115
|
-
});
|
115
|
+
}); (function() {
|
116
|
+
window.require(["ace/snippets/django"], function(m) {
|
117
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
118
|
+
module.exports = m;
|
119
|
+
}
|
120
|
+
});
|
121
|
+
})();
|
122
|
+
|
@@ -4,4 +4,11 @@ define("ace/snippets/dockerfile",["require","exports","module"], function(requir
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "dockerfile";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/dockerfile"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|
@@ -4,4 +4,11 @@ define("ace/snippets/dot",["require","exports","module"], function(require, expo
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "dot";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/dot"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|
@@ -23,4 +23,11 @@ snippet declare\n\
|
|
23
23
|
";
|
24
24
|
exports.scope = "drools";
|
25
25
|
|
26
|
-
});
|
26
|
+
}); (function() {
|
27
|
+
window.require(["ace/snippets/drools"], function(m) {
|
28
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
29
|
+
module.exports = m;
|
30
|
+
}
|
31
|
+
});
|
32
|
+
})();
|
33
|
+
|
@@ -0,0 +1,254 @@
|
|
1
|
+
define("ace/snippets/edifact",["require","exports","module"], function(require, exports, module) {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
exports.snippetText = "## Access Modifiers\n\
|
5
|
+
snippet u\n\
|
6
|
+
UN\n\
|
7
|
+
snippet un\n\
|
8
|
+
UNB\n\
|
9
|
+
snippet pr\n\
|
10
|
+
private\n\
|
11
|
+
##\n\
|
12
|
+
## Annotations\n\
|
13
|
+
snippet before\n\
|
14
|
+
@Before\n\
|
15
|
+
static void ${1:intercept}(${2:args}) { ${3} }\n\
|
16
|
+
snippet mm\n\
|
17
|
+
@ManyToMany\n\
|
18
|
+
${1}\n\
|
19
|
+
snippet mo\n\
|
20
|
+
@ManyToOne\n\
|
21
|
+
${1}\n\
|
22
|
+
snippet om\n\
|
23
|
+
@OneToMany${1:(cascade=CascadeType.ALL)}\n\
|
24
|
+
${2}\n\
|
25
|
+
snippet oo\n\
|
26
|
+
@OneToOne\n\
|
27
|
+
${1}\n\
|
28
|
+
##\n\
|
29
|
+
## Basic Java packages and import\n\
|
30
|
+
snippet im\n\
|
31
|
+
import\n\
|
32
|
+
snippet j.b\n\
|
33
|
+
java.beans.\n\
|
34
|
+
snippet j.i\n\
|
35
|
+
java.io.\n\
|
36
|
+
snippet j.m\n\
|
37
|
+
java.math.\n\
|
38
|
+
snippet j.n\n\
|
39
|
+
java.net.\n\
|
40
|
+
snippet j.u\n\
|
41
|
+
java.util.\n\
|
42
|
+
##\n\
|
43
|
+
## Class\n\
|
44
|
+
snippet cl\n\
|
45
|
+
class ${1:`Filename(\"\", \"untitled\")`} ${2}\n\
|
46
|
+
snippet in\n\
|
47
|
+
interface ${1:`Filename(\"\", \"untitled\")`} ${2:extends Parent}${3}\n\
|
48
|
+
snippet tc\n\
|
49
|
+
public class ${1:`Filename()`} extends ${2:TestCase}\n\
|
50
|
+
##\n\
|
51
|
+
## Class Enhancements\n\
|
52
|
+
snippet ext\n\
|
53
|
+
extends \n\
|
54
|
+
snippet imp\n\
|
55
|
+
implements\n\
|
56
|
+
##\n\
|
57
|
+
## Comments\n\
|
58
|
+
snippet /*\n\
|
59
|
+
/*\n\
|
60
|
+
* ${1}\n\
|
61
|
+
*/\n\
|
62
|
+
##\n\
|
63
|
+
## Constants\n\
|
64
|
+
snippet co\n\
|
65
|
+
static public final ${1:String} ${2:var} = ${3};${4}\n\
|
66
|
+
snippet cos\n\
|
67
|
+
static public final String ${1:var} = \"${2}\";${3}\n\
|
68
|
+
##\n\
|
69
|
+
## Control Statements\n\
|
70
|
+
snippet case\n\
|
71
|
+
case ${1}:\n\
|
72
|
+
${2}\n\
|
73
|
+
snippet def\n\
|
74
|
+
default:\n\
|
75
|
+
${2}\n\
|
76
|
+
snippet el\n\
|
77
|
+
else\n\
|
78
|
+
snippet elif\n\
|
79
|
+
else if (${1}) ${2}\n\
|
80
|
+
snippet if\n\
|
81
|
+
if (${1}) ${2}\n\
|
82
|
+
snippet sw\n\
|
83
|
+
switch (${1}) {\n\
|
84
|
+
${2}\n\
|
85
|
+
}\n\
|
86
|
+
##\n\
|
87
|
+
## Create a Method\n\
|
88
|
+
snippet m\n\
|
89
|
+
${1:void} ${2:method}(${3}) ${4:throws }${5}\n\
|
90
|
+
##\n\
|
91
|
+
## Create a Variable\n\
|
92
|
+
snippet v\n\
|
93
|
+
${1:String} ${2:var}${3: = null}${4};${5}\n\
|
94
|
+
##\n\
|
95
|
+
## Enhancements to Methods, variables, classes, etc.\n\
|
96
|
+
snippet ab\n\
|
97
|
+
abstract\n\
|
98
|
+
snippet fi\n\
|
99
|
+
final\n\
|
100
|
+
snippet st\n\
|
101
|
+
static\n\
|
102
|
+
snippet sy\n\
|
103
|
+
synchronized\n\
|
104
|
+
##\n\
|
105
|
+
## Error Methods\n\
|
106
|
+
snippet err\n\
|
107
|
+
System.err.print(\"${1:Message}\");\n\
|
108
|
+
snippet errf\n\
|
109
|
+
System.err.printf(\"${1:Message}\", ${2:exception});\n\
|
110
|
+
snippet errln\n\
|
111
|
+
System.err.println(\"${1:Message}\");\n\
|
112
|
+
##\n\
|
113
|
+
## Exception Handling\n\
|
114
|
+
snippet as\n\
|
115
|
+
assert ${1:test} : \"${2:Failure message}\";${3}\n\
|
116
|
+
snippet ca\n\
|
117
|
+
catch(${1:Exception} ${2:e}) ${3}\n\
|
118
|
+
snippet thr\n\
|
119
|
+
throw\n\
|
120
|
+
snippet ths\n\
|
121
|
+
throws\n\
|
122
|
+
snippet try\n\
|
123
|
+
try {\n\
|
124
|
+
${3}\n\
|
125
|
+
} catch(${1:Exception} ${2:e}) {\n\
|
126
|
+
}\n\
|
127
|
+
snippet tryf\n\
|
128
|
+
try {\n\
|
129
|
+
${3}\n\
|
130
|
+
} catch(${1:Exception} ${2:e}) {\n\
|
131
|
+
} finally {\n\
|
132
|
+
}\n\
|
133
|
+
##\n\
|
134
|
+
## Find Methods\n\
|
135
|
+
snippet findall\n\
|
136
|
+
List<${1:listName}> ${2:items} = ${1}.findAll();${3}\n\
|
137
|
+
snippet findbyid\n\
|
138
|
+
${1:var} ${2:item} = ${1}.findById(${3});${4}\n\
|
139
|
+
##\n\
|
140
|
+
## Javadocs\n\
|
141
|
+
snippet /**\n\
|
142
|
+
/**\n\
|
143
|
+
* ${1}\n\
|
144
|
+
*/\n\
|
145
|
+
snippet @au\n\
|
146
|
+
@author `system(\"grep \\`id -un\\` /etc/passwd | cut -d \\\":\\\" -f5 | cut -d \\\",\\\" -f1\")`\n\
|
147
|
+
snippet @br\n\
|
148
|
+
@brief ${1:Description}\n\
|
149
|
+
snippet @fi\n\
|
150
|
+
@file ${1:`Filename()`}.java\n\
|
151
|
+
snippet @pa\n\
|
152
|
+
@param ${1:param}\n\
|
153
|
+
snippet @re\n\
|
154
|
+
@return ${1:param}\n\
|
155
|
+
##\n\
|
156
|
+
## Logger Methods\n\
|
157
|
+
snippet debug\n\
|
158
|
+
Logger.debug(${1:param});${2}\n\
|
159
|
+
snippet error\n\
|
160
|
+
Logger.error(${1:param});${2}\n\
|
161
|
+
snippet info\n\
|
162
|
+
Logger.info(${1:param});${2}\n\
|
163
|
+
snippet warn\n\
|
164
|
+
Logger.warn(${1:param});${2}\n\
|
165
|
+
##\n\
|
166
|
+
## Loops\n\
|
167
|
+
snippet enfor\n\
|
168
|
+
for (${1} : ${2}) ${3}\n\
|
169
|
+
snippet for\n\
|
170
|
+
for (${1}; ${2}; ${3}) ${4}\n\
|
171
|
+
snippet wh\n\
|
172
|
+
while (${1}) ${2}\n\
|
173
|
+
##\n\
|
174
|
+
## Main method\n\
|
175
|
+
snippet main\n\
|
176
|
+
public static void main (String[] args) {\n\
|
177
|
+
${1:/* code */}\n\
|
178
|
+
}\n\
|
179
|
+
##\n\
|
180
|
+
## Print Methods\n\
|
181
|
+
snippet print\n\
|
182
|
+
System.out.print(\"${1:Message}\");\n\
|
183
|
+
snippet printf\n\
|
184
|
+
System.out.printf(\"${1:Message}\", ${2:args});\n\
|
185
|
+
snippet println\n\
|
186
|
+
System.out.println(${1});\n\
|
187
|
+
##\n\
|
188
|
+
## Render Methods\n\
|
189
|
+
snippet ren\n\
|
190
|
+
render(${1:param});${2}\n\
|
191
|
+
snippet rena\n\
|
192
|
+
renderArgs.put(\"${1}\", ${2});${3}\n\
|
193
|
+
snippet renb\n\
|
194
|
+
renderBinary(${1:param});${2}\n\
|
195
|
+
snippet renj\n\
|
196
|
+
renderJSON(${1:param});${2}\n\
|
197
|
+
snippet renx\n\
|
198
|
+
renderXml(${1:param});${2}\n\
|
199
|
+
##\n\
|
200
|
+
## Setter and Getter Methods\n\
|
201
|
+
snippet set\n\
|
202
|
+
${1:public} void set${3:}(${2:String} ${4:}){\n\
|
203
|
+
this.$4 = $4;\n\
|
204
|
+
}\n\
|
205
|
+
snippet get\n\
|
206
|
+
${1:public} ${2:String} get${3:}(){\n\
|
207
|
+
return this.${4:};\n\
|
208
|
+
}\n\
|
209
|
+
##\n\
|
210
|
+
## Terminate Methods or Loops\n\
|
211
|
+
snippet re\n\
|
212
|
+
return\n\
|
213
|
+
snippet br\n\
|
214
|
+
break;\n\
|
215
|
+
##\n\
|
216
|
+
## Test Methods\n\
|
217
|
+
snippet t\n\
|
218
|
+
public void test${1:Name}() throws Exception {\n\
|
219
|
+
${2}\n\
|
220
|
+
}\n\
|
221
|
+
snippet test\n\
|
222
|
+
@Test\n\
|
223
|
+
public void test${1:Name}() throws Exception {\n\
|
224
|
+
${2}\n\
|
225
|
+
}\n\
|
226
|
+
##\n\
|
227
|
+
## Utils\n\
|
228
|
+
snippet Sc\n\
|
229
|
+
Scanner\n\
|
230
|
+
##\n\
|
231
|
+
## Miscellaneous\n\
|
232
|
+
snippet action\n\
|
233
|
+
public static void ${1:index}(${2:args}) { ${3} }\n\
|
234
|
+
snippet rnf\n\
|
235
|
+
notFound(${1:param});${2}\n\
|
236
|
+
snippet rnfin\n\
|
237
|
+
notFoundIfNull(${1:param});${2}\n\
|
238
|
+
snippet rr\n\
|
239
|
+
redirect(${1:param});${2}\n\
|
240
|
+
snippet ru\n\
|
241
|
+
unauthorized(${1:param});${2}\n\
|
242
|
+
snippet unless\n\
|
243
|
+
(unless=${1:param});${2}\n\
|
244
|
+
";
|
245
|
+
exports.scope = "edifact";
|
246
|
+
|
247
|
+
}); (function() {
|
248
|
+
window.require(["ace/snippets/edifact"], function(m) {
|
249
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
250
|
+
module.exports = m;
|
251
|
+
}
|
252
|
+
});
|
253
|
+
})();
|
254
|
+
|
@@ -4,4 +4,11 @@ define("ace/snippets/eiffel",["require","exports","module"], function(require, e
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "eiffel";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/eiffel"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|
@@ -4,4 +4,11 @@ define("ace/snippets/ejs",["require","exports","module"], function(require, expo
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "ejs";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/ejs"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|
@@ -4,4 +4,11 @@ define("ace/snippets/elixir",["require","exports","module"], function(require, e
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/elixir"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|
@@ -4,4 +4,11 @@ define("ace/snippets/elm",["require","exports","module"], function(require, expo
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "elm";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/elm"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|
@@ -164,4 +164,11 @@ snippet gen_server\n\
|
|
164
164
|
";
|
165
165
|
exports.scope = "erlang";
|
166
166
|
|
167
|
-
});
|
167
|
+
}); (function() {
|
168
|
+
window.require(["ace/snippets/erlang"], function(m) {
|
169
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
170
|
+
module.exports = m;
|
171
|
+
}
|
172
|
+
});
|
173
|
+
})();
|
174
|
+
|
@@ -4,4 +4,11 @@ define("ace/snippets/forth",["require","exports","module"], function(require, ex
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "forth";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/forth"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|
@@ -4,4 +4,11 @@ define("ace/snippets/fortran",["require","exports","module"], function(require,
|
|
4
4
|
exports.snippetText =undefined;
|
5
5
|
exports.scope = "fortran";
|
6
6
|
|
7
|
-
});
|
7
|
+
}); (function() {
|
8
|
+
window.require(["ace/snippets/fortran"], function(m) {
|
9
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
10
|
+
module.exports = m;
|
11
|
+
}
|
12
|
+
});
|
13
|
+
})();
|
14
|
+
|