a lot of progress on jotted editor
This commit is contained in:
9
BinaryDad.Coding/wwwroot/js/ace/snippets/abap.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/abap.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/abap"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
45
BinaryDad.Coding/wwwroot/js/ace/snippets/abc.js
Normal file
45
BinaryDad.Coding/wwwroot/js/ace/snippets/abc.js
Normal file
@ -0,0 +1,45 @@
|
||||
define("ace/snippets/abc",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "\n\
|
||||
snippet zupfnoter.print\n\
|
||||
%%%%hn.print {\"startpos\": ${1:pos_y}, \"t\":\"${2:title}\", \"v\":[${3:voices}], \"s\":[[${4:syncvoices}1,2]], \"f\":[${5:flowlines}], \"sf\":[${6:subflowlines}], \"j\":[${7:jumplines}]}\n\
|
||||
\n\
|
||||
snippet zupfnoter.note\n\
|
||||
%%%%hn.note {\"pos\": [${1:pos_x},${2:pos_y}], \"text\": \"${3:text}\", \"style\": \"${4:style}\"}\n\
|
||||
\n\
|
||||
snippet zupfnoter.annotation\n\
|
||||
%%%%hn.annotation {\"id\": \"${1:id}\", \"pos\": [${2:pos}], \"text\": \"${3:text}\"}\n\
|
||||
\n\
|
||||
snippet zupfnoter.lyrics\n\
|
||||
%%%%hn.lyrics {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
|
||||
\n\
|
||||
snippet zupfnoter.legend\n\
|
||||
%%%%hn.legend {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
|
||||
\n\
|
||||
\n\
|
||||
\n\
|
||||
snippet zupfnoter.target\n\
|
||||
\"^:${1:target}\"\n\
|
||||
\n\
|
||||
snippet zupfnoter.goto\n\
|
||||
\"^@${1:target}@${2:distance}\"\n\
|
||||
\n\
|
||||
snippet zupfnoter.annotationref\n\
|
||||
\"^#${1:target}\"\n\
|
||||
\n\
|
||||
snippet zupfnoter.annotation\n\
|
||||
\"^!${1:text}@${2:x_offset},${3:y_offset}\"\n\
|
||||
\n\
|
||||
\n\
|
||||
";
|
||||
exports.scope = "abc";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/abc"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
171
BinaryDad.Coding/wwwroot/js/ace/snippets/actionscript.js
Normal file
171
BinaryDad.Coding/wwwroot/js/ace/snippets/actionscript.js
Normal file
@ -0,0 +1,171 @@
|
||||
define("ace/snippets/actionscript",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet main\n\
|
||||
package {\n\
|
||||
import flash.display.*;\n\
|
||||
import flash.Events.*;\n\
|
||||
\n\
|
||||
public class Main extends Sprite {\n\
|
||||
public function Main ( ) {\n\
|
||||
trace(\"start\");\n\
|
||||
stage.scaleMode = StageScaleMode.NO_SCALE;\n\
|
||||
stage.addEventListener(Event.RESIZE, resizeListener);\n\
|
||||
}\n\
|
||||
\n\
|
||||
private function resizeListener (e:Event):void {\n\
|
||||
trace(\"The application window changed size!\");\n\
|
||||
trace(\"New width: \" + stage.stageWidth);\n\
|
||||
trace(\"New height: \" + stage.stageHeight);\n\
|
||||
}\n\
|
||||
\n\
|
||||
}\n\
|
||||
\n\
|
||||
}\n\
|
||||
snippet class\n\
|
||||
${1:public|internal} class ${2:name} ${3:extends } {\n\
|
||||
public function $2 ( ) {\n\
|
||||
(\"start\");\n\
|
||||
}\n\
|
||||
}\n\
|
||||
snippet all\n\
|
||||
package name {\n\
|
||||
\n\
|
||||
${1:public|internal|final} class ${2:name} ${3:extends } {\n\
|
||||
private|public| static const FOO = \"abc\";\n\
|
||||
private|public| static var BAR = \"abc\";\n\
|
||||
\n\
|
||||
// class initializer - no JIT !! one time setup\n\
|
||||
if Cababilities.os == \"Linux|MacOS\" {\n\
|
||||
FOO = \"other\";\n\
|
||||
}\n\
|
||||
\n\
|
||||
// constructor:\n\
|
||||
public function $2 ( ){\n\
|
||||
super2();\n\
|
||||
trace(\"start\");\n\
|
||||
}\n\
|
||||
public function name (a, b...){\n\
|
||||
super.name(..);\n\
|
||||
lable:break\n\
|
||||
}\n\
|
||||
}\n\
|
||||
}\n\
|
||||
\n\
|
||||
function A(){\n\
|
||||
// A can only be accessed within this file\n\
|
||||
}\n\
|
||||
snippet switch\n\
|
||||
switch(${1}){\n\
|
||||
case ${2}:\n\
|
||||
${3}\n\
|
||||
break;\n\
|
||||
default:\n\
|
||||
}\n\
|
||||
snippet case\n\
|
||||
case ${1}:\n\
|
||||
${2}\n\
|
||||
break;\n\
|
||||
snippet package\n\
|
||||
package ${1:package}{\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
snippet wh\n\
|
||||
while ${1:cond}{\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
snippet do\n\
|
||||
do {\n\
|
||||
${2}\n\
|
||||
} while (${1:cond})\n\
|
||||
snippet while\n\
|
||||
while ${1:cond}{\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
snippet for enumerate names\n\
|
||||
for (${1:var} in ${2:object}){\n\
|
||||
${3}\n\
|
||||
}\n\
|
||||
snippet for enumerate values\n\
|
||||
for each (${1:var} in ${2:object}){\n\
|
||||
${3}\n\
|
||||
}\n\
|
||||
snippet get_set\n\
|
||||
function get ${1:name} {\n\
|
||||
return ${2}\n\
|
||||
}\n\
|
||||
function set $1 (newValue) {\n\
|
||||
${3}\n\
|
||||
}\n\
|
||||
snippet interface\n\
|
||||
interface name {\n\
|
||||
function method(${1}):${2:returntype};\n\
|
||||
}\n\
|
||||
snippet try\n\
|
||||
try {\n\
|
||||
${1}\n\
|
||||
} catch (error:ErrorType) {\n\
|
||||
${2}\n\
|
||||
} finally {\n\
|
||||
${3}\n\
|
||||
}\n\
|
||||
# For Loop (same as c.snippet)\n\
|
||||
snippet for for (..) {..}\n\
|
||||
for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {\n\
|
||||
${4:/* code */}\n\
|
||||
}\n\
|
||||
# Custom For Loop\n\
|
||||
snippet forr\n\
|
||||
for (${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) {\n\
|
||||
${5:/* code */}\n\
|
||||
}\n\
|
||||
# If Condition\n\
|
||||
snippet if\n\
|
||||
if (${1:/* condition */}) {\n\
|
||||
${2:/* code */}\n\
|
||||
}\n\
|
||||
snippet el\n\
|
||||
else {\n\
|
||||
${1}\n\
|
||||
}\n\
|
||||
# Ternary conditional\n\
|
||||
snippet t\n\
|
||||
${1:/* condition */} ? ${2:a} : ${3:b}\n\
|
||||
snippet fun\n\
|
||||
function ${1:function_name}(${2})${3}\n\
|
||||
{\n\
|
||||
${4:/* code */}\n\
|
||||
}\n\
|
||||
# FlxSprite (usefull when using the flixel library)\n\
|
||||
snippet FlxSprite\n\
|
||||
package\n\
|
||||
{\n\
|
||||
import org.flixel.*\n\
|
||||
\n\
|
||||
public class ${1:ClassName} extends ${2:FlxSprite}\n\
|
||||
{\n\
|
||||
public function $1(${3: X:Number, Y:Number}):void\n\
|
||||
{\n\
|
||||
super(X,Y);\n\
|
||||
${4: //code...}\n\
|
||||
}\n\
|
||||
\n\
|
||||
override public function update():void\n\
|
||||
{\n\
|
||||
super.update();\n\
|
||||
${5: //code...}\n\
|
||||
}\n\
|
||||
}\n\
|
||||
}\n\
|
||||
\n\
|
||||
";
|
||||
exports.scope = "actionscript";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/actionscript"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/ada.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/ada.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/ada"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/alda.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/alda.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/alda"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/apache_conf.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/apache_conf.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/apache_conf"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/apex.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/apex.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/apex"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/applescript.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/applescript.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/applescript"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/aql.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/aql.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/aql"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/asciidoc.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/asciidoc.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/asciidoc"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/asl.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/asl.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/asl"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/assembly_x86.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/assembly_x86.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/assembly_x86"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/autohotkey.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/autohotkey.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/autohotkey"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/batchfile.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/batchfile.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/batchfile"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/c9search.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/c9search.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/c9search"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
145
BinaryDad.Coding/wwwroot/js/ace/snippets/c_cpp.js
Normal file
145
BinaryDad.Coding/wwwroot/js/ace/snippets/c_cpp.js
Normal file
@ -0,0 +1,145 @@
|
||||
define("ace/snippets/c_cpp",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "## STL Collections\n\
|
||||
# std::array\n\
|
||||
snippet array\n\
|
||||
std::array<${1:T}, ${2:N}> ${3};${4}\n\
|
||||
# std::vector\n\
|
||||
snippet vector\n\
|
||||
std::vector<${1:T}> ${2};${3}\n\
|
||||
# std::deque\n\
|
||||
snippet deque\n\
|
||||
std::deque<${1:T}> ${2};${3}\n\
|
||||
# std::forward_list\n\
|
||||
snippet flist\n\
|
||||
std::forward_list<${1:T}> ${2};${3}\n\
|
||||
# std::list\n\
|
||||
snippet list\n\
|
||||
std::list<${1:T}> ${2};${3}\n\
|
||||
# std::set\n\
|
||||
snippet set\n\
|
||||
std::set<${1:T}> ${2};${3}\n\
|
||||
# std::map\n\
|
||||
snippet map\n\
|
||||
std::map<${1:Key}, ${2:T}> ${3};${4}\n\
|
||||
# std::multiset\n\
|
||||
snippet mset\n\
|
||||
std::multiset<${1:T}> ${2};${3}\n\
|
||||
# std::multimap\n\
|
||||
snippet mmap\n\
|
||||
std::multimap<${1:Key}, ${2:T}> ${3};${4}\n\
|
||||
# std::unordered_set\n\
|
||||
snippet uset\n\
|
||||
std::unordered_set<${1:T}> ${2};${3}\n\
|
||||
# std::unordered_map\n\
|
||||
snippet umap\n\
|
||||
std::unordered_map<${1:Key}, ${2:T}> ${3};${4}\n\
|
||||
# std::unordered_multiset\n\
|
||||
snippet umset\n\
|
||||
std::unordered_multiset<${1:T}> ${2};${3}\n\
|
||||
# std::unordered_multimap\n\
|
||||
snippet ummap\n\
|
||||
std::unordered_multimap<${1:Key}, ${2:T}> ${3};${4}\n\
|
||||
# std::stack\n\
|
||||
snippet stack\n\
|
||||
std::stack<${1:T}> ${2};${3}\n\
|
||||
# std::queue\n\
|
||||
snippet queue\n\
|
||||
std::queue<${1:T}> ${2};${3}\n\
|
||||
# std::priority_queue\n\
|
||||
snippet pqueue\n\
|
||||
std::priority_queue<${1:T}> ${2};${3}\n\
|
||||
##\n\
|
||||
## Access Modifiers\n\
|
||||
# private\n\
|
||||
snippet pri\n\
|
||||
private\n\
|
||||
# protected\n\
|
||||
snippet pro\n\
|
||||
protected\n\
|
||||
# public\n\
|
||||
snippet pub\n\
|
||||
public\n\
|
||||
# friend\n\
|
||||
snippet fr\n\
|
||||
friend\n\
|
||||
# mutable\n\
|
||||
snippet mu\n\
|
||||
mutable\n\
|
||||
## \n\
|
||||
## Class\n\
|
||||
# class\n\
|
||||
snippet cl\n\
|
||||
class ${1:`Filename('$1', 'name')`} \n\
|
||||
{\n\
|
||||
public:\n\
|
||||
$1(${2});\n\
|
||||
~$1();\n\
|
||||
\n\
|
||||
private:\n\
|
||||
${3:/* data */}\n\
|
||||
};\n\
|
||||
# member function implementation\n\
|
||||
snippet mfun\n\
|
||||
${4:void} ${1:`Filename('$1', 'ClassName')`}::${2:memberFunction}(${3}) {\n\
|
||||
${5:/* code */}\n\
|
||||
}\n\
|
||||
# namespace\n\
|
||||
snippet ns\n\
|
||||
namespace ${1:`Filename('', 'my')`} {\n\
|
||||
${2}\n\
|
||||
} /* namespace $1 */\n\
|
||||
##\n\
|
||||
## Input/Output\n\
|
||||
# std::cout\n\
|
||||
snippet cout\n\
|
||||
std::cout << ${1} << std::endl;${2}\n\
|
||||
# std::cin\n\
|
||||
snippet cin\n\
|
||||
std::cin >> ${1};${2}\n\
|
||||
##\n\
|
||||
## Iteration\n\
|
||||
# for i \n\
|
||||
snippet fori\n\
|
||||
for (int ${2:i} = 0; $2 < ${1:count}; $2${3:++}) {\n\
|
||||
${4:/* code */}\n\
|
||||
}${5}\n\
|
||||
\n\
|
||||
# foreach\n\
|
||||
snippet fore\n\
|
||||
for (${1:auto} ${2:i} : ${3:container}) {\n\
|
||||
${4:/* code */}\n\
|
||||
}${5}\n\
|
||||
# iterator\n\
|
||||
snippet iter\n\
|
||||
for (${1:std::vector}<${2:type}>::${3:const_iterator} ${4:i} = ${5:container}.begin(); $4 != $5.end(); ++$4) {\n\
|
||||
${6}\n\
|
||||
}${7}\n\
|
||||
\n\
|
||||
# auto iterator\n\
|
||||
snippet itera\n\
|
||||
for (auto ${1:i} = $1.begin(); $1 != $1.end(); ++$1) {\n\
|
||||
${2:std::cout << *$1 << std::endl;}\n\
|
||||
}${3}\n\
|
||||
##\n\
|
||||
## Lambdas\n\
|
||||
# lamda (one line)\n\
|
||||
snippet ld\n\
|
||||
[${1}](${2}){${3:/* code */}}${4}\n\
|
||||
# lambda (multi-line)\n\
|
||||
snippet lld\n\
|
||||
[${1}](${2}){\n\
|
||||
${3:/* code */}\n\
|
||||
}${4}\n\
|
||||
";
|
||||
exports.scope = "c_cpp";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/c_cpp"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/cirru.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/cirru.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/cirru"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
104
BinaryDad.Coding/wwwroot/js/ace/snippets/clojure.js
Normal file
104
BinaryDad.Coding/wwwroot/js/ace/snippets/clojure.js
Normal file
@ -0,0 +1,104 @@
|
||||
define("ace/snippets/clojure",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet comm\n\
|
||||
(comment\n\
|
||||
${1}\n\
|
||||
)\n\
|
||||
snippet condp\n\
|
||||
(condp ${1:pred} ${2:expr}\n\
|
||||
${3})\n\
|
||||
snippet def\n\
|
||||
(def ${1})\n\
|
||||
snippet defm\n\
|
||||
(defmethod ${1:multifn} \"${2:doc-string}\" ${3:dispatch-val} [${4:args}]\n\
|
||||
${5})\n\
|
||||
snippet defmm\n\
|
||||
(defmulti ${1:name} \"${2:doc-string}\" ${3:dispatch-fn})\n\
|
||||
snippet defma\n\
|
||||
(defmacro ${1:name} \"${2:doc-string}\" ${3:dispatch-fn})\n\
|
||||
snippet defn\n\
|
||||
(defn ${1:name} \"${2:doc-string}\" [${3:arg-list}]\n\
|
||||
${4})\n\
|
||||
snippet defp\n\
|
||||
(defprotocol ${1:name}\n\
|
||||
${2})\n\
|
||||
snippet defr\n\
|
||||
(defrecord ${1:name} [${2:fields}]\n\
|
||||
${3:protocol}\n\
|
||||
${4})\n\
|
||||
snippet deft\n\
|
||||
(deftest ${1:name}\n\
|
||||
(is (= ${2:assertion})))\n\
|
||||
${3})\n\
|
||||
snippet is\n\
|
||||
(is (= ${1} ${2}))\n\
|
||||
snippet defty\n\
|
||||
(deftype ${1:Name} [${2:fields}]\n\
|
||||
${3:Protocol}\n\
|
||||
${4})\n\
|
||||
snippet doseq\n\
|
||||
(doseq [${1:elem} ${2:coll}]\n\
|
||||
${3})\n\
|
||||
snippet fn\n\
|
||||
(fn [${1:arg-list}] ${2})\n\
|
||||
snippet if\n\
|
||||
(if ${1:test-expr}\n\
|
||||
${2:then-expr}\n\
|
||||
${3:else-expr})\n\
|
||||
snippet if-let \n\
|
||||
(if-let [${1:result} ${2:test-expr}]\n\
|
||||
(${3:then-expr} $1)\n\
|
||||
(${4:else-expr}))\n\
|
||||
snippet imp\n\
|
||||
(:import [${1:package}])\n\
|
||||
& {:keys [${1:keys}] :or {${2:defaults}}}\n\
|
||||
snippet let\n\
|
||||
(let [${1:name} ${2:expr}]\n\
|
||||
${3})\n\
|
||||
snippet letfn\n\
|
||||
(letfn [(${1:name) [${2:args}]\n\
|
||||
${3})])\n\
|
||||
snippet map\n\
|
||||
(map ${1:func} ${2:coll})\n\
|
||||
snippet mapl\n\
|
||||
(map #(${1:lambda}) ${2:coll})\n\
|
||||
snippet met\n\
|
||||
(${1:name} [${2:this} ${3:args}]\n\
|
||||
${4})\n\
|
||||
snippet ns\n\
|
||||
(ns ${1:name}\n\
|
||||
${2})\n\
|
||||
snippet dotimes\n\
|
||||
(dotimes [_ 10]\n\
|
||||
(time\n\
|
||||
(dotimes [_ ${1:times}]\n\
|
||||
${2})))\n\
|
||||
snippet pmethod\n\
|
||||
(${1:name} [${2:this} ${3:args}])\n\
|
||||
snippet refer\n\
|
||||
(:refer-clojure :exclude [${1}])\n\
|
||||
snippet require\n\
|
||||
(:require [${1:namespace} :as [${2}]])\n\
|
||||
snippet use\n\
|
||||
(:use [${1:namespace} :only [${2}]])\n\
|
||||
snippet print\n\
|
||||
(println ${1})\n\
|
||||
snippet reduce\n\
|
||||
(reduce ${1:(fn [p n] ${3})} ${2})\n\
|
||||
snippet when\n\
|
||||
(when ${1:test} ${2:body})\n\
|
||||
snippet when-let\n\
|
||||
(when-let [${1:result} ${2:test}]\n\
|
||||
${3:body})\n\
|
||||
";
|
||||
exports.scope = "clojure";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/clojure"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/cobol.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/cobol.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/cobol"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
109
BinaryDad.Coding/wwwroot/js/ace/snippets/coffee.js
Normal file
109
BinaryDad.Coding/wwwroot/js/ace/snippets/coffee.js
Normal file
@ -0,0 +1,109 @@
|
||||
define("ace/snippets/coffee",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# Closure loop\n\
|
||||
snippet forindo\n\
|
||||
for ${1:name} in ${2:array}\n\
|
||||
do ($1) ->\n\
|
||||
${3:// body}\n\
|
||||
# Array comprehension\n\
|
||||
snippet fora\n\
|
||||
for ${1:name} in ${2:array}\n\
|
||||
${3:// body...}\n\
|
||||
# Object comprehension\n\
|
||||
snippet foro\n\
|
||||
for ${1:key}, ${2:value} of ${3:object}\n\
|
||||
${4:// body...}\n\
|
||||
# Range comprehension (inclusive)\n\
|
||||
snippet forr\n\
|
||||
for ${1:name} in [${2:start}..${3:finish}]\n\
|
||||
${4:// body...}\n\
|
||||
snippet forrb\n\
|
||||
for ${1:name} in [${2:start}..${3:finish}] by ${4:step}\n\
|
||||
${5:// body...}\n\
|
||||
# Range comprehension (exclusive)\n\
|
||||
snippet forrex\n\
|
||||
for ${1:name} in [${2:start}...${3:finish}]\n\
|
||||
${4:// body...}\n\
|
||||
snippet forrexb\n\
|
||||
for ${1:name} in [${2:start}...${3:finish}] by ${4:step}\n\
|
||||
${5:// body...}\n\
|
||||
# Function\n\
|
||||
snippet fun\n\
|
||||
(${1:args}) ->\n\
|
||||
${2:// body...}\n\
|
||||
# Function (bound)\n\
|
||||
snippet bfun\n\
|
||||
(${1:args}) =>\n\
|
||||
${2:// body...}\n\
|
||||
# Class\n\
|
||||
snippet cla class ..\n\
|
||||
class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`}\n\
|
||||
${2}\n\
|
||||
snippet cla class .. constructor: ..\n\
|
||||
class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`}\n\
|
||||
constructor: (${2:args}) ->\n\
|
||||
${3}\n\
|
||||
\n\
|
||||
${4}\n\
|
||||
snippet cla class .. extends ..\n\
|
||||
class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`} extends ${2:ParentClass}\n\
|
||||
${3}\n\
|
||||
snippet cla class .. extends .. constructor: ..\n\
|
||||
class ${1:`substitute(Filename(), '\\(_\\|^\\)\\(.\\)', '\\u\\2', 'g')`} extends ${2:ParentClass}\n\
|
||||
constructor: (${3:args}) ->\n\
|
||||
${4}\n\
|
||||
\n\
|
||||
${5}\n\
|
||||
# If\n\
|
||||
snippet if\n\
|
||||
if ${1:condition}\n\
|
||||
${2:// body...}\n\
|
||||
# If __ Else\n\
|
||||
snippet ife\n\
|
||||
if ${1:condition}\n\
|
||||
${2:// body...}\n\
|
||||
else\n\
|
||||
${3:// body...}\n\
|
||||
# Else if\n\
|
||||
snippet elif\n\
|
||||
else if ${1:condition}\n\
|
||||
${2:// body...}\n\
|
||||
# Ternary If\n\
|
||||
snippet ifte\n\
|
||||
if ${1:condition} then ${2:value} else ${3:other}\n\
|
||||
# Unless\n\
|
||||
snippet unl\n\
|
||||
${1:action} unless ${2:condition}\n\
|
||||
# Switch\n\
|
||||
snippet swi\n\
|
||||
switch ${1:object}\n\
|
||||
when ${2:value}\n\
|
||||
${3:// body...}\n\
|
||||
\n\
|
||||
# Log\n\
|
||||
snippet log\n\
|
||||
console.log ${1}\n\
|
||||
# Try __ Catch\n\
|
||||
snippet try\n\
|
||||
try\n\
|
||||
${1}\n\
|
||||
catch ${2:error}\n\
|
||||
${3}\n\
|
||||
# Require\n\
|
||||
snippet req\n\
|
||||
${2:$1} = require '${1:sys}'${3}\n\
|
||||
# Export\n\
|
||||
snippet exp\n\
|
||||
${1:root} = exports ? this\n\
|
||||
";
|
||||
exports.scope = "coffee";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/coffee"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/coldfusion.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/coldfusion.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/coldfusion"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/crystal.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/crystal.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/crystal"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/csharp.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/csharp.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/csharp"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
24
BinaryDad.Coding/wwwroot/js/ace/snippets/csound_document.js
Normal file
24
BinaryDad.Coding/wwwroot/js/ace/snippets/csound_document.js
Normal file
@ -0,0 +1,24 @@
|
||||
define("ace/snippets/csound_document",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# <CsoundSynthesizer>\n\
|
||||
snippet synth\n\
|
||||
<CsoundSynthesizer>\n\
|
||||
<CsInstruments>\n\
|
||||
${1}\n\
|
||||
</CsInstruments>\n\
|
||||
<CsScore>\n\
|
||||
e\n\
|
||||
</CsScore>\n\
|
||||
</CsoundSynthesizer>\n\
|
||||
";
|
||||
exports.scope = "csound_document";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/csound_document"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
61
BinaryDad.Coding/wwwroot/js/ace/snippets/csound_orchestra.js
Normal file
61
BinaryDad.Coding/wwwroot/js/ace/snippets/csound_orchestra.js
Normal file
@ -0,0 +1,61 @@
|
||||
define("ace/snippets/csound_orchestra",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# else\n\
|
||||
snippet else\n\
|
||||
else\n\
|
||||
${1:/* statements */}\n\
|
||||
# elseif\n\
|
||||
snippet elseif\n\
|
||||
elseif ${1:/* condition */} then\n\
|
||||
${2:/* statements */}\n\
|
||||
# if\n\
|
||||
snippet if\n\
|
||||
if ${1:/* condition */} then\n\
|
||||
${2:/* statements */}\n\
|
||||
endif\n\
|
||||
# instrument block\n\
|
||||
snippet instr\n\
|
||||
instr ${1:name}\n\
|
||||
${2:/* statements */}\n\
|
||||
endin\n\
|
||||
# i-time while loop\n\
|
||||
snippet iwhile\n\
|
||||
i${1:Index} = ${2:0}\n\
|
||||
while i${1:Index} < ${3:/* count */} do\n\
|
||||
${4:/* statements */}\n\
|
||||
i${1:Index} += 1\n\
|
||||
od\n\
|
||||
# k-rate while loop\n\
|
||||
snippet kwhile\n\
|
||||
k${1:Index} = ${2:0}\n\
|
||||
while k${1:Index} < ${3:/* count */} do\n\
|
||||
${4:/* statements */}\n\
|
||||
k${1:Index} += 1\n\
|
||||
od\n\
|
||||
# opcode\n\
|
||||
snippet opcode\n\
|
||||
opcode ${1:name}, ${2:/* output types */ 0}, ${3:/* input types */ 0}\n\
|
||||
${4:/* statements */}\n\
|
||||
endop\n\
|
||||
# until loop\n\
|
||||
snippet until\n\
|
||||
until ${1:/* condition */} do\n\
|
||||
${2:/* statements */}\n\
|
||||
od\n\
|
||||
# while loop\n\
|
||||
snippet while\n\
|
||||
while ${1:/* condition */} do\n\
|
||||
${2:/* statements */}\n\
|
||||
od\n\
|
||||
";
|
||||
exports.scope = "csound_orchestra";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/csound_orchestra"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/csound_score.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/csound_score.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/csound_score"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/csp.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/csp.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/csp"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
981
BinaryDad.Coding/wwwroot/js/ace/snippets/css.js
Normal file
981
BinaryDad.Coding/wwwroot/js/ace/snippets/css.js
Normal file
@ -0,0 +1,981 @@
|
||||
define("ace/snippets/css",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet .\n\
|
||||
${1} {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
snippet !\n\
|
||||
!important\n\
|
||||
snippet bdi:m+\n\
|
||||
-moz-border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\n\
|
||||
snippet bdi:m\n\
|
||||
-moz-border-image: ${1};\n\
|
||||
snippet bdrz:m\n\
|
||||
-moz-border-radius: ${1};\n\
|
||||
snippet bxsh:m+\n\
|
||||
-moz-box-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\n\
|
||||
snippet bxsh:m\n\
|
||||
-moz-box-shadow: ${1};\n\
|
||||
snippet bdi:w+\n\
|
||||
-webkit-border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\n\
|
||||
snippet bdi:w\n\
|
||||
-webkit-border-image: ${1};\n\
|
||||
snippet bdrz:w\n\
|
||||
-webkit-border-radius: ${1};\n\
|
||||
snippet bxsh:w+\n\
|
||||
-webkit-box-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\n\
|
||||
snippet bxsh:w\n\
|
||||
-webkit-box-shadow: ${1};\n\
|
||||
snippet @f\n\
|
||||
@font-face {\n\
|
||||
font-family: ${1};\n\
|
||||
src: url(${2});\n\
|
||||
}\n\
|
||||
snippet @i\n\
|
||||
@import url(${1});\n\
|
||||
snippet @m\n\
|
||||
@media ${1:print} {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
snippet bg+\n\
|
||||
background: #${1:FFF} url(${2}) ${3:0} ${4:0} ${5:no-repeat};\n\
|
||||
snippet bga\n\
|
||||
background-attachment: ${1};\n\
|
||||
snippet bga:f\n\
|
||||
background-attachment: fixed;\n\
|
||||
snippet bga:s\n\
|
||||
background-attachment: scroll;\n\
|
||||
snippet bgbk\n\
|
||||
background-break: ${1};\n\
|
||||
snippet bgbk:bb\n\
|
||||
background-break: bounding-box;\n\
|
||||
snippet bgbk:c\n\
|
||||
background-break: continuous;\n\
|
||||
snippet bgbk:eb\n\
|
||||
background-break: each-box;\n\
|
||||
snippet bgcp\n\
|
||||
background-clip: ${1};\n\
|
||||
snippet bgcp:bb\n\
|
||||
background-clip: border-box;\n\
|
||||
snippet bgcp:cb\n\
|
||||
background-clip: content-box;\n\
|
||||
snippet bgcp:nc\n\
|
||||
background-clip: no-clip;\n\
|
||||
snippet bgcp:pb\n\
|
||||
background-clip: padding-box;\n\
|
||||
snippet bgc\n\
|
||||
background-color: #${1:FFF};\n\
|
||||
snippet bgc:t\n\
|
||||
background-color: transparent;\n\
|
||||
snippet bgi\n\
|
||||
background-image: url(${1});\n\
|
||||
snippet bgi:n\n\
|
||||
background-image: none;\n\
|
||||
snippet bgo\n\
|
||||
background-origin: ${1};\n\
|
||||
snippet bgo:bb\n\
|
||||
background-origin: border-box;\n\
|
||||
snippet bgo:cb\n\
|
||||
background-origin: content-box;\n\
|
||||
snippet bgo:pb\n\
|
||||
background-origin: padding-box;\n\
|
||||
snippet bgpx\n\
|
||||
background-position-x: ${1};\n\
|
||||
snippet bgpy\n\
|
||||
background-position-y: ${1};\n\
|
||||
snippet bgp\n\
|
||||
background-position: ${1:0} ${2:0};\n\
|
||||
snippet bgr\n\
|
||||
background-repeat: ${1};\n\
|
||||
snippet bgr:n\n\
|
||||
background-repeat: no-repeat;\n\
|
||||
snippet bgr:x\n\
|
||||
background-repeat: repeat-x;\n\
|
||||
snippet bgr:y\n\
|
||||
background-repeat: repeat-y;\n\
|
||||
snippet bgr:r\n\
|
||||
background-repeat: repeat;\n\
|
||||
snippet bgz\n\
|
||||
background-size: ${1};\n\
|
||||
snippet bgz:a\n\
|
||||
background-size: auto;\n\
|
||||
snippet bgz:ct\n\
|
||||
background-size: contain;\n\
|
||||
snippet bgz:cv\n\
|
||||
background-size: cover;\n\
|
||||
snippet bg\n\
|
||||
background: ${1};\n\
|
||||
snippet bg:ie\n\
|
||||
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='${1}',sizingMethod='${2:crop}');\n\
|
||||
snippet bg:n\n\
|
||||
background: none;\n\
|
||||
snippet bd+\n\
|
||||
border: ${1:1px} ${2:solid} #${3:000};\n\
|
||||
snippet bdb+\n\
|
||||
border-bottom: ${1:1px} ${2:solid} #${3:000};\n\
|
||||
snippet bdbc\n\
|
||||
border-bottom-color: #${1:000};\n\
|
||||
snippet bdbi\n\
|
||||
border-bottom-image: url(${1});\n\
|
||||
snippet bdbi:n\n\
|
||||
border-bottom-image: none;\n\
|
||||
snippet bdbli\n\
|
||||
border-bottom-left-image: url(${1});\n\
|
||||
snippet bdbli:c\n\
|
||||
border-bottom-left-image: continue;\n\
|
||||
snippet bdbli:n\n\
|
||||
border-bottom-left-image: none;\n\
|
||||
snippet bdblrz\n\
|
||||
border-bottom-left-radius: ${1};\n\
|
||||
snippet bdbri\n\
|
||||
border-bottom-right-image: url(${1});\n\
|
||||
snippet bdbri:c\n\
|
||||
border-bottom-right-image: continue;\n\
|
||||
snippet bdbri:n\n\
|
||||
border-bottom-right-image: none;\n\
|
||||
snippet bdbrrz\n\
|
||||
border-bottom-right-radius: ${1};\n\
|
||||
snippet bdbs\n\
|
||||
border-bottom-style: ${1};\n\
|
||||
snippet bdbs:n\n\
|
||||
border-bottom-style: none;\n\
|
||||
snippet bdbw\n\
|
||||
border-bottom-width: ${1};\n\
|
||||
snippet bdb\n\
|
||||
border-bottom: ${1};\n\
|
||||
snippet bdb:n\n\
|
||||
border-bottom: none;\n\
|
||||
snippet bdbk\n\
|
||||
border-break: ${1};\n\
|
||||
snippet bdbk:c\n\
|
||||
border-break: close;\n\
|
||||
snippet bdcl\n\
|
||||
border-collapse: ${1};\n\
|
||||
snippet bdcl:c\n\
|
||||
border-collapse: collapse;\n\
|
||||
snippet bdcl:s\n\
|
||||
border-collapse: separate;\n\
|
||||
snippet bdc\n\
|
||||
border-color: #${1:000};\n\
|
||||
snippet bdci\n\
|
||||
border-corner-image: url(${1});\n\
|
||||
snippet bdci:c\n\
|
||||
border-corner-image: continue;\n\
|
||||
snippet bdci:n\n\
|
||||
border-corner-image: none;\n\
|
||||
snippet bdf\n\
|
||||
border-fit: ${1};\n\
|
||||
snippet bdf:c\n\
|
||||
border-fit: clip;\n\
|
||||
snippet bdf:of\n\
|
||||
border-fit: overwrite;\n\
|
||||
snippet bdf:ow\n\
|
||||
border-fit: overwrite;\n\
|
||||
snippet bdf:r\n\
|
||||
border-fit: repeat;\n\
|
||||
snippet bdf:sc\n\
|
||||
border-fit: scale;\n\
|
||||
snippet bdf:sp\n\
|
||||
border-fit: space;\n\
|
||||
snippet bdf:st\n\
|
||||
border-fit: stretch;\n\
|
||||
snippet bdi\n\
|
||||
border-image: url(${1}) ${2:0} ${3:0} ${4:0} ${5:0} ${6:stretch} ${7:stretch};\n\
|
||||
snippet bdi:n\n\
|
||||
border-image: none;\n\
|
||||
snippet bdl+\n\
|
||||
border-left: ${1:1px} ${2:solid} #${3:000};\n\
|
||||
snippet bdlc\n\
|
||||
border-left-color: #${1:000};\n\
|
||||
snippet bdli\n\
|
||||
border-left-image: url(${1});\n\
|
||||
snippet bdli:n\n\
|
||||
border-left-image: none;\n\
|
||||
snippet bdls\n\
|
||||
border-left-style: ${1};\n\
|
||||
snippet bdls:n\n\
|
||||
border-left-style: none;\n\
|
||||
snippet bdlw\n\
|
||||
border-left-width: ${1};\n\
|
||||
snippet bdl\n\
|
||||
border-left: ${1};\n\
|
||||
snippet bdl:n\n\
|
||||
border-left: none;\n\
|
||||
snippet bdlt\n\
|
||||
border-length: ${1};\n\
|
||||
snippet bdlt:a\n\
|
||||
border-length: auto;\n\
|
||||
snippet bdrz\n\
|
||||
border-radius: ${1};\n\
|
||||
snippet bdr+\n\
|
||||
border-right: ${1:1px} ${2:solid} #${3:000};\n\
|
||||
snippet bdrc\n\
|
||||
border-right-color: #${1:000};\n\
|
||||
snippet bdri\n\
|
||||
border-right-image: url(${1});\n\
|
||||
snippet bdri:n\n\
|
||||
border-right-image: none;\n\
|
||||
snippet bdrs\n\
|
||||
border-right-style: ${1};\n\
|
||||
snippet bdrs:n\n\
|
||||
border-right-style: none;\n\
|
||||
snippet bdrw\n\
|
||||
border-right-width: ${1};\n\
|
||||
snippet bdr\n\
|
||||
border-right: ${1};\n\
|
||||
snippet bdr:n\n\
|
||||
border-right: none;\n\
|
||||
snippet bdsp\n\
|
||||
border-spacing: ${1};\n\
|
||||
snippet bds\n\
|
||||
border-style: ${1};\n\
|
||||
snippet bds:ds\n\
|
||||
border-style: dashed;\n\
|
||||
snippet bds:dtds\n\
|
||||
border-style: dot-dash;\n\
|
||||
snippet bds:dtdtds\n\
|
||||
border-style: dot-dot-dash;\n\
|
||||
snippet bds:dt\n\
|
||||
border-style: dotted;\n\
|
||||
snippet bds:db\n\
|
||||
border-style: double;\n\
|
||||
snippet bds:g\n\
|
||||
border-style: groove;\n\
|
||||
snippet bds:h\n\
|
||||
border-style: hidden;\n\
|
||||
snippet bds:i\n\
|
||||
border-style: inset;\n\
|
||||
snippet bds:n\n\
|
||||
border-style: none;\n\
|
||||
snippet bds:o\n\
|
||||
border-style: outset;\n\
|
||||
snippet bds:r\n\
|
||||
border-style: ridge;\n\
|
||||
snippet bds:s\n\
|
||||
border-style: solid;\n\
|
||||
snippet bds:w\n\
|
||||
border-style: wave;\n\
|
||||
snippet bdt+\n\
|
||||
border-top: ${1:1px} ${2:solid} #${3:000};\n\
|
||||
snippet bdtc\n\
|
||||
border-top-color: #${1:000};\n\
|
||||
snippet bdti\n\
|
||||
border-top-image: url(${1});\n\
|
||||
snippet bdti:n\n\
|
||||
border-top-image: none;\n\
|
||||
snippet bdtli\n\
|
||||
border-top-left-image: url(${1});\n\
|
||||
snippet bdtli:c\n\
|
||||
border-corner-image: continue;\n\
|
||||
snippet bdtli:n\n\
|
||||
border-corner-image: none;\n\
|
||||
snippet bdtlrz\n\
|
||||
border-top-left-radius: ${1};\n\
|
||||
snippet bdtri\n\
|
||||
border-top-right-image: url(${1});\n\
|
||||
snippet bdtri:c\n\
|
||||
border-top-right-image: continue;\n\
|
||||
snippet bdtri:n\n\
|
||||
border-top-right-image: none;\n\
|
||||
snippet bdtrrz\n\
|
||||
border-top-right-radius: ${1};\n\
|
||||
snippet bdts\n\
|
||||
border-top-style: ${1};\n\
|
||||
snippet bdts:n\n\
|
||||
border-top-style: none;\n\
|
||||
snippet bdtw\n\
|
||||
border-top-width: ${1};\n\
|
||||
snippet bdt\n\
|
||||
border-top: ${1};\n\
|
||||
snippet bdt:n\n\
|
||||
border-top: none;\n\
|
||||
snippet bdw\n\
|
||||
border-width: ${1};\n\
|
||||
snippet bd\n\
|
||||
border: ${1};\n\
|
||||
snippet bd:n\n\
|
||||
border: none;\n\
|
||||
snippet b\n\
|
||||
bottom: ${1};\n\
|
||||
snippet b:a\n\
|
||||
bottom: auto;\n\
|
||||
snippet bxsh+\n\
|
||||
box-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\n\
|
||||
snippet bxsh\n\
|
||||
box-shadow: ${1};\n\
|
||||
snippet bxsh:n\n\
|
||||
box-shadow: none;\n\
|
||||
snippet bxz\n\
|
||||
box-sizing: ${1};\n\
|
||||
snippet bxz:bb\n\
|
||||
box-sizing: border-box;\n\
|
||||
snippet bxz:cb\n\
|
||||
box-sizing: content-box;\n\
|
||||
snippet cps\n\
|
||||
caption-side: ${1};\n\
|
||||
snippet cps:b\n\
|
||||
caption-side: bottom;\n\
|
||||
snippet cps:t\n\
|
||||
caption-side: top;\n\
|
||||
snippet cl\n\
|
||||
clear: ${1};\n\
|
||||
snippet cl:b\n\
|
||||
clear: both;\n\
|
||||
snippet cl:l\n\
|
||||
clear: left;\n\
|
||||
snippet cl:n\n\
|
||||
clear: none;\n\
|
||||
snippet cl:r\n\
|
||||
clear: right;\n\
|
||||
snippet cp\n\
|
||||
clip: ${1};\n\
|
||||
snippet cp:a\n\
|
||||
clip: auto;\n\
|
||||
snippet cp:r\n\
|
||||
clip: rect(${1:0} ${2:0} ${3:0} ${4:0});\n\
|
||||
snippet c\n\
|
||||
color: #${1:000};\n\
|
||||
snippet ct\n\
|
||||
content: ${1};\n\
|
||||
snippet ct:a\n\
|
||||
content: attr(${1});\n\
|
||||
snippet ct:cq\n\
|
||||
content: close-quote;\n\
|
||||
snippet ct:c\n\
|
||||
content: counter(${1});\n\
|
||||
snippet ct:cs\n\
|
||||
content: counters(${1});\n\
|
||||
snippet ct:ncq\n\
|
||||
content: no-close-quote;\n\
|
||||
snippet ct:noq\n\
|
||||
content: no-open-quote;\n\
|
||||
snippet ct:n\n\
|
||||
content: normal;\n\
|
||||
snippet ct:oq\n\
|
||||
content: open-quote;\n\
|
||||
snippet coi\n\
|
||||
counter-increment: ${1};\n\
|
||||
snippet cor\n\
|
||||
counter-reset: ${1};\n\
|
||||
snippet cur\n\
|
||||
cursor: ${1};\n\
|
||||
snippet cur:a\n\
|
||||
cursor: auto;\n\
|
||||
snippet cur:c\n\
|
||||
cursor: crosshair;\n\
|
||||
snippet cur:d\n\
|
||||
cursor: default;\n\
|
||||
snippet cur:ha\n\
|
||||
cursor: hand;\n\
|
||||
snippet cur:he\n\
|
||||
cursor: help;\n\
|
||||
snippet cur:m\n\
|
||||
cursor: move;\n\
|
||||
snippet cur:p\n\
|
||||
cursor: pointer;\n\
|
||||
snippet cur:t\n\
|
||||
cursor: text;\n\
|
||||
snippet d\n\
|
||||
display: ${1};\n\
|
||||
snippet d:mib\n\
|
||||
display: -moz-inline-box;\n\
|
||||
snippet d:mis\n\
|
||||
display: -moz-inline-stack;\n\
|
||||
snippet d:b\n\
|
||||
display: block;\n\
|
||||
snippet d:cp\n\
|
||||
display: compact;\n\
|
||||
snippet d:ib\n\
|
||||
display: inline-block;\n\
|
||||
snippet d:itb\n\
|
||||
display: inline-table;\n\
|
||||
snippet d:i\n\
|
||||
display: inline;\n\
|
||||
snippet d:li\n\
|
||||
display: list-item;\n\
|
||||
snippet d:n\n\
|
||||
display: none;\n\
|
||||
snippet d:ri\n\
|
||||
display: run-in;\n\
|
||||
snippet d:tbcp\n\
|
||||
display: table-caption;\n\
|
||||
snippet d:tbc\n\
|
||||
display: table-cell;\n\
|
||||
snippet d:tbclg\n\
|
||||
display: table-column-group;\n\
|
||||
snippet d:tbcl\n\
|
||||
display: table-column;\n\
|
||||
snippet d:tbfg\n\
|
||||
display: table-footer-group;\n\
|
||||
snippet d:tbhg\n\
|
||||
display: table-header-group;\n\
|
||||
snippet d:tbrg\n\
|
||||
display: table-row-group;\n\
|
||||
snippet d:tbr\n\
|
||||
display: table-row;\n\
|
||||
snippet d:tb\n\
|
||||
display: table;\n\
|
||||
snippet ec\n\
|
||||
empty-cells: ${1};\n\
|
||||
snippet ec:h\n\
|
||||
empty-cells: hide;\n\
|
||||
snippet ec:s\n\
|
||||
empty-cells: show;\n\
|
||||
snippet exp\n\
|
||||
expression()\n\
|
||||
snippet fl\n\
|
||||
float: ${1};\n\
|
||||
snippet fl:l\n\
|
||||
float: left;\n\
|
||||
snippet fl:n\n\
|
||||
float: none;\n\
|
||||
snippet fl:r\n\
|
||||
float: right;\n\
|
||||
snippet f+\n\
|
||||
font: ${1:1em} ${2:Arial},${3:sans-serif};\n\
|
||||
snippet fef\n\
|
||||
font-effect: ${1};\n\
|
||||
snippet fef:eb\n\
|
||||
font-effect: emboss;\n\
|
||||
snippet fef:eg\n\
|
||||
font-effect: engrave;\n\
|
||||
snippet fef:n\n\
|
||||
font-effect: none;\n\
|
||||
snippet fef:o\n\
|
||||
font-effect: outline;\n\
|
||||
snippet femp\n\
|
||||
font-emphasize-position: ${1};\n\
|
||||
snippet femp:a\n\
|
||||
font-emphasize-position: after;\n\
|
||||
snippet femp:b\n\
|
||||
font-emphasize-position: before;\n\
|
||||
snippet fems\n\
|
||||
font-emphasize-style: ${1};\n\
|
||||
snippet fems:ac\n\
|
||||
font-emphasize-style: accent;\n\
|
||||
snippet fems:c\n\
|
||||
font-emphasize-style: circle;\n\
|
||||
snippet fems:ds\n\
|
||||
font-emphasize-style: disc;\n\
|
||||
snippet fems:dt\n\
|
||||
font-emphasize-style: dot;\n\
|
||||
snippet fems:n\n\
|
||||
font-emphasize-style: none;\n\
|
||||
snippet fem\n\
|
||||
font-emphasize: ${1};\n\
|
||||
snippet ff\n\
|
||||
font-family: ${1};\n\
|
||||
snippet ff:c\n\
|
||||
font-family: ${1:'Monotype Corsiva','Comic Sans MS'},cursive;\n\
|
||||
snippet ff:f\n\
|
||||
font-family: ${1:Capitals,Impact},fantasy;\n\
|
||||
snippet ff:m\n\
|
||||
font-family: ${1:Monaco,'Courier New'},monospace;\n\
|
||||
snippet ff:ss\n\
|
||||
font-family: ${1:Helvetica,Arial},sans-serif;\n\
|
||||
snippet ff:s\n\
|
||||
font-family: ${1:Georgia,'Times New Roman'},serif;\n\
|
||||
snippet fza\n\
|
||||
font-size-adjust: ${1};\n\
|
||||
snippet fza:n\n\
|
||||
font-size-adjust: none;\n\
|
||||
snippet fz\n\
|
||||
font-size: ${1};\n\
|
||||
snippet fsm\n\
|
||||
font-smooth: ${1};\n\
|
||||
snippet fsm:aw\n\
|
||||
font-smooth: always;\n\
|
||||
snippet fsm:a\n\
|
||||
font-smooth: auto;\n\
|
||||
snippet fsm:n\n\
|
||||
font-smooth: never;\n\
|
||||
snippet fst\n\
|
||||
font-stretch: ${1};\n\
|
||||
snippet fst:c\n\
|
||||
font-stretch: condensed;\n\
|
||||
snippet fst:e\n\
|
||||
font-stretch: expanded;\n\
|
||||
snippet fst:ec\n\
|
||||
font-stretch: extra-condensed;\n\
|
||||
snippet fst:ee\n\
|
||||
font-stretch: extra-expanded;\n\
|
||||
snippet fst:n\n\
|
||||
font-stretch: normal;\n\
|
||||
snippet fst:sc\n\
|
||||
font-stretch: semi-condensed;\n\
|
||||
snippet fst:se\n\
|
||||
font-stretch: semi-expanded;\n\
|
||||
snippet fst:uc\n\
|
||||
font-stretch: ultra-condensed;\n\
|
||||
snippet fst:ue\n\
|
||||
font-stretch: ultra-expanded;\n\
|
||||
snippet fs\n\
|
||||
font-style: ${1};\n\
|
||||
snippet fs:i\n\
|
||||
font-style: italic;\n\
|
||||
snippet fs:n\n\
|
||||
font-style: normal;\n\
|
||||
snippet fs:o\n\
|
||||
font-style: oblique;\n\
|
||||
snippet fv\n\
|
||||
font-variant: ${1};\n\
|
||||
snippet fv:n\n\
|
||||
font-variant: normal;\n\
|
||||
snippet fv:sc\n\
|
||||
font-variant: small-caps;\n\
|
||||
snippet fw\n\
|
||||
font-weight: ${1};\n\
|
||||
snippet fw:b\n\
|
||||
font-weight: bold;\n\
|
||||
snippet fw:br\n\
|
||||
font-weight: bolder;\n\
|
||||
snippet fw:lr\n\
|
||||
font-weight: lighter;\n\
|
||||
snippet fw:n\n\
|
||||
font-weight: normal;\n\
|
||||
snippet f\n\
|
||||
font: ${1};\n\
|
||||
snippet h\n\
|
||||
height: ${1};\n\
|
||||
snippet h:a\n\
|
||||
height: auto;\n\
|
||||
snippet l\n\
|
||||
left: ${1};\n\
|
||||
snippet l:a\n\
|
||||
left: auto;\n\
|
||||
snippet lts\n\
|
||||
letter-spacing: ${1};\n\
|
||||
snippet lh\n\
|
||||
line-height: ${1};\n\
|
||||
snippet lisi\n\
|
||||
list-style-image: url(${1});\n\
|
||||
snippet lisi:n\n\
|
||||
list-style-image: none;\n\
|
||||
snippet lisp\n\
|
||||
list-style-position: ${1};\n\
|
||||
snippet lisp:i\n\
|
||||
list-style-position: inside;\n\
|
||||
snippet lisp:o\n\
|
||||
list-style-position: outside;\n\
|
||||
snippet list\n\
|
||||
list-style-type: ${1};\n\
|
||||
snippet list:c\n\
|
||||
list-style-type: circle;\n\
|
||||
snippet list:dclz\n\
|
||||
list-style-type: decimal-leading-zero;\n\
|
||||
snippet list:dc\n\
|
||||
list-style-type: decimal;\n\
|
||||
snippet list:d\n\
|
||||
list-style-type: disc;\n\
|
||||
snippet list:lr\n\
|
||||
list-style-type: lower-roman;\n\
|
||||
snippet list:n\n\
|
||||
list-style-type: none;\n\
|
||||
snippet list:s\n\
|
||||
list-style-type: square;\n\
|
||||
snippet list:ur\n\
|
||||
list-style-type: upper-roman;\n\
|
||||
snippet lis\n\
|
||||
list-style: ${1};\n\
|
||||
snippet lis:n\n\
|
||||
list-style: none;\n\
|
||||
snippet mb\n\
|
||||
margin-bottom: ${1};\n\
|
||||
snippet mb:a\n\
|
||||
margin-bottom: auto;\n\
|
||||
snippet ml\n\
|
||||
margin-left: ${1};\n\
|
||||
snippet ml:a\n\
|
||||
margin-left: auto;\n\
|
||||
snippet mr\n\
|
||||
margin-right: ${1};\n\
|
||||
snippet mr:a\n\
|
||||
margin-right: auto;\n\
|
||||
snippet mt\n\
|
||||
margin-top: ${1};\n\
|
||||
snippet mt:a\n\
|
||||
margin-top: auto;\n\
|
||||
snippet m\n\
|
||||
margin: ${1};\n\
|
||||
snippet m:4\n\
|
||||
margin: ${1:0} ${2:0} ${3:0} ${4:0};\n\
|
||||
snippet m:3\n\
|
||||
margin: ${1:0} ${2:0} ${3:0};\n\
|
||||
snippet m:2\n\
|
||||
margin: ${1:0} ${2:0};\n\
|
||||
snippet m:0\n\
|
||||
margin: 0;\n\
|
||||
snippet m:a\n\
|
||||
margin: auto;\n\
|
||||
snippet mah\n\
|
||||
max-height: ${1};\n\
|
||||
snippet mah:n\n\
|
||||
max-height: none;\n\
|
||||
snippet maw\n\
|
||||
max-width: ${1};\n\
|
||||
snippet maw:n\n\
|
||||
max-width: none;\n\
|
||||
snippet mih\n\
|
||||
min-height: ${1};\n\
|
||||
snippet miw\n\
|
||||
min-width: ${1};\n\
|
||||
snippet op\n\
|
||||
opacity: ${1};\n\
|
||||
snippet op:ie\n\
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=${1:100});\n\
|
||||
snippet op:ms\n\
|
||||
-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=${1:100})';\n\
|
||||
snippet orp\n\
|
||||
orphans: ${1};\n\
|
||||
snippet o+\n\
|
||||
outline: ${1:1px} ${2:solid} #${3:000};\n\
|
||||
snippet oc\n\
|
||||
outline-color: ${1:#000};\n\
|
||||
snippet oc:i\n\
|
||||
outline-color: invert;\n\
|
||||
snippet oo\n\
|
||||
outline-offset: ${1};\n\
|
||||
snippet os\n\
|
||||
outline-style: ${1};\n\
|
||||
snippet ow\n\
|
||||
outline-width: ${1};\n\
|
||||
snippet o\n\
|
||||
outline: ${1};\n\
|
||||
snippet o:n\n\
|
||||
outline: none;\n\
|
||||
snippet ovs\n\
|
||||
overflow-style: ${1};\n\
|
||||
snippet ovs:a\n\
|
||||
overflow-style: auto;\n\
|
||||
snippet ovs:mq\n\
|
||||
overflow-style: marquee;\n\
|
||||
snippet ovs:mv\n\
|
||||
overflow-style: move;\n\
|
||||
snippet ovs:p\n\
|
||||
overflow-style: panner;\n\
|
||||
snippet ovs:s\n\
|
||||
overflow-style: scrollbar;\n\
|
||||
snippet ovx\n\
|
||||
overflow-x: ${1};\n\
|
||||
snippet ovx:a\n\
|
||||
overflow-x: auto;\n\
|
||||
snippet ovx:h\n\
|
||||
overflow-x: hidden;\n\
|
||||
snippet ovx:s\n\
|
||||
overflow-x: scroll;\n\
|
||||
snippet ovx:v\n\
|
||||
overflow-x: visible;\n\
|
||||
snippet ovy\n\
|
||||
overflow-y: ${1};\n\
|
||||
snippet ovy:a\n\
|
||||
overflow-y: auto;\n\
|
||||
snippet ovy:h\n\
|
||||
overflow-y: hidden;\n\
|
||||
snippet ovy:s\n\
|
||||
overflow-y: scroll;\n\
|
||||
snippet ovy:v\n\
|
||||
overflow-y: visible;\n\
|
||||
snippet ov\n\
|
||||
overflow: ${1};\n\
|
||||
snippet ov:a\n\
|
||||
overflow: auto;\n\
|
||||
snippet ov:h\n\
|
||||
overflow: hidden;\n\
|
||||
snippet ov:s\n\
|
||||
overflow: scroll;\n\
|
||||
snippet ov:v\n\
|
||||
overflow: visible;\n\
|
||||
snippet pb\n\
|
||||
padding-bottom: ${1};\n\
|
||||
snippet pl\n\
|
||||
padding-left: ${1};\n\
|
||||
snippet pr\n\
|
||||
padding-right: ${1};\n\
|
||||
snippet pt\n\
|
||||
padding-top: ${1};\n\
|
||||
snippet p\n\
|
||||
padding: ${1};\n\
|
||||
snippet p:4\n\
|
||||
padding: ${1:0} ${2:0} ${3:0} ${4:0};\n\
|
||||
snippet p:3\n\
|
||||
padding: ${1:0} ${2:0} ${3:0};\n\
|
||||
snippet p:2\n\
|
||||
padding: ${1:0} ${2:0};\n\
|
||||
snippet p:0\n\
|
||||
padding: 0;\n\
|
||||
snippet pgba\n\
|
||||
page-break-after: ${1};\n\
|
||||
snippet pgba:aw\n\
|
||||
page-break-after: always;\n\
|
||||
snippet pgba:a\n\
|
||||
page-break-after: auto;\n\
|
||||
snippet pgba:l\n\
|
||||
page-break-after: left;\n\
|
||||
snippet pgba:r\n\
|
||||
page-break-after: right;\n\
|
||||
snippet pgbb\n\
|
||||
page-break-before: ${1};\n\
|
||||
snippet pgbb:aw\n\
|
||||
page-break-before: always;\n\
|
||||
snippet pgbb:a\n\
|
||||
page-break-before: auto;\n\
|
||||
snippet pgbb:l\n\
|
||||
page-break-before: left;\n\
|
||||
snippet pgbb:r\n\
|
||||
page-break-before: right;\n\
|
||||
snippet pgbi\n\
|
||||
page-break-inside: ${1};\n\
|
||||
snippet pgbi:a\n\
|
||||
page-break-inside: auto;\n\
|
||||
snippet pgbi:av\n\
|
||||
page-break-inside: avoid;\n\
|
||||
snippet pos\n\
|
||||
position: ${1};\n\
|
||||
snippet pos:a\n\
|
||||
position: absolute;\n\
|
||||
snippet pos:f\n\
|
||||
position: fixed;\n\
|
||||
snippet pos:r\n\
|
||||
position: relative;\n\
|
||||
snippet pos:s\n\
|
||||
position: static;\n\
|
||||
snippet q\n\
|
||||
quotes: ${1};\n\
|
||||
snippet q:en\n\
|
||||
quotes: '\\201C' '\\201D' '\\2018' '\\2019';\n\
|
||||
snippet q:n\n\
|
||||
quotes: none;\n\
|
||||
snippet q:ru\n\
|
||||
quotes: '\\00AB' '\\00BB' '\\201E' '\\201C';\n\
|
||||
snippet rz\n\
|
||||
resize: ${1};\n\
|
||||
snippet rz:b\n\
|
||||
resize: both;\n\
|
||||
snippet rz:h\n\
|
||||
resize: horizontal;\n\
|
||||
snippet rz:n\n\
|
||||
resize: none;\n\
|
||||
snippet rz:v\n\
|
||||
resize: vertical;\n\
|
||||
snippet r\n\
|
||||
right: ${1};\n\
|
||||
snippet r:a\n\
|
||||
right: auto;\n\
|
||||
snippet tbl\n\
|
||||
table-layout: ${1};\n\
|
||||
snippet tbl:a\n\
|
||||
table-layout: auto;\n\
|
||||
snippet tbl:f\n\
|
||||
table-layout: fixed;\n\
|
||||
snippet tal\n\
|
||||
text-align-last: ${1};\n\
|
||||
snippet tal:a\n\
|
||||
text-align-last: auto;\n\
|
||||
snippet tal:c\n\
|
||||
text-align-last: center;\n\
|
||||
snippet tal:l\n\
|
||||
text-align-last: left;\n\
|
||||
snippet tal:r\n\
|
||||
text-align-last: right;\n\
|
||||
snippet ta\n\
|
||||
text-align: ${1};\n\
|
||||
snippet ta:c\n\
|
||||
text-align: center;\n\
|
||||
snippet ta:l\n\
|
||||
text-align: left;\n\
|
||||
snippet ta:r\n\
|
||||
text-align: right;\n\
|
||||
snippet td\n\
|
||||
text-decoration: ${1};\n\
|
||||
snippet td:l\n\
|
||||
text-decoration: line-through;\n\
|
||||
snippet td:n\n\
|
||||
text-decoration: none;\n\
|
||||
snippet td:o\n\
|
||||
text-decoration: overline;\n\
|
||||
snippet td:u\n\
|
||||
text-decoration: underline;\n\
|
||||
snippet te\n\
|
||||
text-emphasis: ${1};\n\
|
||||
snippet te:ac\n\
|
||||
text-emphasis: accent;\n\
|
||||
snippet te:a\n\
|
||||
text-emphasis: after;\n\
|
||||
snippet te:b\n\
|
||||
text-emphasis: before;\n\
|
||||
snippet te:c\n\
|
||||
text-emphasis: circle;\n\
|
||||
snippet te:ds\n\
|
||||
text-emphasis: disc;\n\
|
||||
snippet te:dt\n\
|
||||
text-emphasis: dot;\n\
|
||||
snippet te:n\n\
|
||||
text-emphasis: none;\n\
|
||||
snippet th\n\
|
||||
text-height: ${1};\n\
|
||||
snippet th:a\n\
|
||||
text-height: auto;\n\
|
||||
snippet th:f\n\
|
||||
text-height: font-size;\n\
|
||||
snippet th:m\n\
|
||||
text-height: max-size;\n\
|
||||
snippet th:t\n\
|
||||
text-height: text-size;\n\
|
||||
snippet ti\n\
|
||||
text-indent: ${1};\n\
|
||||
snippet ti:-\n\
|
||||
text-indent: -9999px;\n\
|
||||
snippet tj\n\
|
||||
text-justify: ${1};\n\
|
||||
snippet tj:a\n\
|
||||
text-justify: auto;\n\
|
||||
snippet tj:d\n\
|
||||
text-justify: distribute;\n\
|
||||
snippet tj:ic\n\
|
||||
text-justify: inter-cluster;\n\
|
||||
snippet tj:ii\n\
|
||||
text-justify: inter-ideograph;\n\
|
||||
snippet tj:iw\n\
|
||||
text-justify: inter-word;\n\
|
||||
snippet tj:k\n\
|
||||
text-justify: kashida;\n\
|
||||
snippet tj:t\n\
|
||||
text-justify: tibetan;\n\
|
||||
snippet to+\n\
|
||||
text-outline: ${1:0} ${2:0} #${3:000};\n\
|
||||
snippet to\n\
|
||||
text-outline: ${1};\n\
|
||||
snippet to:n\n\
|
||||
text-outline: none;\n\
|
||||
snippet tr\n\
|
||||
text-replace: ${1};\n\
|
||||
snippet tr:n\n\
|
||||
text-replace: none;\n\
|
||||
snippet tsh+\n\
|
||||
text-shadow: ${1:0} ${2:0} ${3:0} #${4:000};\n\
|
||||
snippet tsh\n\
|
||||
text-shadow: ${1};\n\
|
||||
snippet tsh:n\n\
|
||||
text-shadow: none;\n\
|
||||
snippet tt\n\
|
||||
text-transform: ${1};\n\
|
||||
snippet tt:c\n\
|
||||
text-transform: capitalize;\n\
|
||||
snippet tt:l\n\
|
||||
text-transform: lowercase;\n\
|
||||
snippet tt:n\n\
|
||||
text-transform: none;\n\
|
||||
snippet tt:u\n\
|
||||
text-transform: uppercase;\n\
|
||||
snippet tw\n\
|
||||
text-wrap: ${1};\n\
|
||||
snippet tw:no\n\
|
||||
text-wrap: none;\n\
|
||||
snippet tw:n\n\
|
||||
text-wrap: normal;\n\
|
||||
snippet tw:s\n\
|
||||
text-wrap: suppress;\n\
|
||||
snippet tw:u\n\
|
||||
text-wrap: unrestricted;\n\
|
||||
snippet t\n\
|
||||
top: ${1};\n\
|
||||
snippet t:a\n\
|
||||
top: auto;\n\
|
||||
snippet va\n\
|
||||
vertical-align: ${1};\n\
|
||||
snippet va:bl\n\
|
||||
vertical-align: baseline;\n\
|
||||
snippet va:b\n\
|
||||
vertical-align: bottom;\n\
|
||||
snippet va:m\n\
|
||||
vertical-align: middle;\n\
|
||||
snippet va:sub\n\
|
||||
vertical-align: sub;\n\
|
||||
snippet va:sup\n\
|
||||
vertical-align: super;\n\
|
||||
snippet va:tb\n\
|
||||
vertical-align: text-bottom;\n\
|
||||
snippet va:tt\n\
|
||||
vertical-align: text-top;\n\
|
||||
snippet va:t\n\
|
||||
vertical-align: top;\n\
|
||||
snippet v\n\
|
||||
visibility: ${1};\n\
|
||||
snippet v:c\n\
|
||||
visibility: collapse;\n\
|
||||
snippet v:h\n\
|
||||
visibility: hidden;\n\
|
||||
snippet v:v\n\
|
||||
visibility: visible;\n\
|
||||
snippet whsc\n\
|
||||
white-space-collapse: ${1};\n\
|
||||
snippet whsc:ba\n\
|
||||
white-space-collapse: break-all;\n\
|
||||
snippet whsc:bs\n\
|
||||
white-space-collapse: break-strict;\n\
|
||||
snippet whsc:k\n\
|
||||
white-space-collapse: keep-all;\n\
|
||||
snippet whsc:l\n\
|
||||
white-space-collapse: loose;\n\
|
||||
snippet whsc:n\n\
|
||||
white-space-collapse: normal;\n\
|
||||
snippet whs\n\
|
||||
white-space: ${1};\n\
|
||||
snippet whs:n\n\
|
||||
white-space: normal;\n\
|
||||
snippet whs:nw\n\
|
||||
white-space: nowrap;\n\
|
||||
snippet whs:pl\n\
|
||||
white-space: pre-line;\n\
|
||||
snippet whs:pw\n\
|
||||
white-space: pre-wrap;\n\
|
||||
snippet whs:p\n\
|
||||
white-space: pre;\n\
|
||||
snippet wid\n\
|
||||
widows: ${1};\n\
|
||||
snippet w\n\
|
||||
width: ${1};\n\
|
||||
snippet w:a\n\
|
||||
width: auto;\n\
|
||||
snippet wob\n\
|
||||
word-break: ${1};\n\
|
||||
snippet wob:ba\n\
|
||||
word-break: break-all;\n\
|
||||
snippet wob:bs\n\
|
||||
word-break: break-strict;\n\
|
||||
snippet wob:k\n\
|
||||
word-break: keep-all;\n\
|
||||
snippet wob:l\n\
|
||||
word-break: loose;\n\
|
||||
snippet wob:n\n\
|
||||
word-break: normal;\n\
|
||||
snippet wos\n\
|
||||
word-spacing: ${1};\n\
|
||||
snippet wow\n\
|
||||
word-wrap: ${1};\n\
|
||||
snippet wow:no\n\
|
||||
word-wrap: none;\n\
|
||||
snippet wow:n\n\
|
||||
word-wrap: normal;\n\
|
||||
snippet wow:s\n\
|
||||
word-wrap: suppress;\n\
|
||||
snippet wow:u\n\
|
||||
word-wrap: unrestricted;\n\
|
||||
snippet z\n\
|
||||
z-index: ${1};\n\
|
||||
snippet z:a\n\
|
||||
z-index: auto;\n\
|
||||
snippet zoo\n\
|
||||
zoom: 1;\n\
|
||||
";
|
||||
exports.scope = "css";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/css"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/curly.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/curly.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/curly"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/d.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/d.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/d"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
97
BinaryDad.Coding/wwwroot/js/ace/snippets/dart.js
Normal file
97
BinaryDad.Coding/wwwroot/js/ace/snippets/dart.js
Normal file
@ -0,0 +1,97 @@
|
||||
define("ace/snippets/dart",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet lib\n\
|
||||
library ${1};\n\
|
||||
${2}\n\
|
||||
snippet im\n\
|
||||
import '${1}';\n\
|
||||
${2}\n\
|
||||
snippet pa\n\
|
||||
part '${1}';\n\
|
||||
${2}\n\
|
||||
snippet pao\n\
|
||||
part of ${1};\n\
|
||||
${2}\n\
|
||||
snippet main\n\
|
||||
void main() {\n\
|
||||
${1:/* code */}\n\
|
||||
}\n\
|
||||
snippet st\n\
|
||||
static ${1}\n\
|
||||
snippet fi\n\
|
||||
final ${1}\n\
|
||||
snippet re\n\
|
||||
return ${1}\n\
|
||||
snippet br\n\
|
||||
break;\n\
|
||||
snippet th\n\
|
||||
throw ${1}\n\
|
||||
snippet cl\n\
|
||||
class ${1:`Filename(\"\", \"untitled\")`} ${2}\n\
|
||||
snippet imp\n\
|
||||
implements ${1}\n\
|
||||
snippet ext\n\
|
||||
extends ${1}\n\
|
||||
snippet if\n\
|
||||
if (${1:true}) {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
snippet ife\n\
|
||||
if (${1:true}) {\n\
|
||||
${2}\n\
|
||||
} else {\n\
|
||||
${3}\n\
|
||||
}\n\
|
||||
snippet el\n\
|
||||
else\n\
|
||||
snippet sw\n\
|
||||
switch (${1}) {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
snippet cs\n\
|
||||
case ${1}:\n\
|
||||
${2}\n\
|
||||
snippet de\n\
|
||||
default:\n\
|
||||
${1}\n\
|
||||
snippet for\n\
|
||||
for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) {\n\
|
||||
${4:$1[$2]}\n\
|
||||
}\n\
|
||||
snippet fore\n\
|
||||
for (final ${2:item} in ${1:itemList}) {\n\
|
||||
${3:/* code */}\n\
|
||||
}\n\
|
||||
snippet wh\n\
|
||||
while (${1:/* condition */}) {\n\
|
||||
${2:/* code */}\n\
|
||||
}\n\
|
||||
snippet dowh\n\
|
||||
do {\n\
|
||||
${2:/* code */}\n\
|
||||
} while (${1:/* condition */});\n\
|
||||
snippet as\n\
|
||||
assert(${1:/* condition */});\n\
|
||||
snippet try\n\
|
||||
try {\n\
|
||||
${2}\n\
|
||||
} catch (${1:Exception e}) {\n\
|
||||
}\n\
|
||||
snippet tryf\n\
|
||||
try {\n\
|
||||
${2}\n\
|
||||
} catch (${1:Exception e}) {\n\
|
||||
} finally {\n\
|
||||
}\n\
|
||||
";
|
||||
exports.scope = "dart";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/dart"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
25
BinaryDad.Coding/wwwroot/js/ace/snippets/diff.js
Normal file
25
BinaryDad.Coding/wwwroot/js/ace/snippets/diff.js
Normal file
@ -0,0 +1,25 @@
|
||||
define("ace/snippets/diff",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\n\
|
||||
snippet header DEP-3 style header\n\
|
||||
Description: ${1}\n\
|
||||
Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n\
|
||||
Bug: ${4:url in upstream bugtracker}\n\
|
||||
Forwarded: ${5:no|not-needed|url}\n\
|
||||
Author: ${6:`g:snips_author`}\n\
|
||||
Reviewed-by: ${7:name and email}\n\
|
||||
Last-Update: ${8:`strftime(\"%Y-%m-%d\")`}\n\
|
||||
Applied-Upstream: ${9:upstream version|url|commit}\n\
|
||||
\n\
|
||||
";
|
||||
exports.scope = "diff";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/diff"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
122
BinaryDad.Coding/wwwroot/js/ace/snippets/django.js
Normal file
122
BinaryDad.Coding/wwwroot/js/ace/snippets/django.js
Normal file
@ -0,0 +1,122 @@
|
||||
define("ace/snippets/django",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# Model Fields\n\
|
||||
\n\
|
||||
# Note: Optional arguments are using defaults that match what Django will use\n\
|
||||
# as a default, e.g. with max_length fields. Doing this as a form of self\n\
|
||||
# documentation and to make it easy to know whether you should override the\n\
|
||||
# default or not.\n\
|
||||
\n\
|
||||
# Note: Optional arguments that are booleans will use the opposite since you\n\
|
||||
# can either not specify them, or override them, e.g. auto_now_add=False.\n\
|
||||
\n\
|
||||
snippet auto\n\
|
||||
${1:FIELDNAME} = models.AutoField(${2})\n\
|
||||
snippet bool\n\
|
||||
${1:FIELDNAME} = models.BooleanField(${2:default=True})\n\
|
||||
snippet char\n\
|
||||
${1:FIELDNAME} = models.CharField(max_length=${2}${3:, blank=True})\n\
|
||||
snippet comma\n\
|
||||
${1:FIELDNAME} = models.CommaSeparatedIntegerField(max_length=${2}${3:, blank=True})\n\
|
||||
snippet date\n\
|
||||
${1:FIELDNAME} = models.DateField(${2:auto_now_add=True, auto_now=True}${3:, blank=True, null=True})\n\
|
||||
snippet datetime\n\
|
||||
${1:FIELDNAME} = models.DateTimeField(${2:auto_now_add=True, auto_now=True}${3:, blank=True, null=True})\n\
|
||||
snippet decimal\n\
|
||||
${1:FIELDNAME} = models.DecimalField(max_digits=${2}, decimal_places=${3})\n\
|
||||
snippet email\n\
|
||||
${1:FIELDNAME} = models.EmailField(max_length=${2:75}${3:, blank=True})\n\
|
||||
snippet file\n\
|
||||
${1:FIELDNAME} = models.FileField(upload_to=${2:path/for/upload}${3:, max_length=100})\n\
|
||||
snippet filepath\n\
|
||||
${1:FIELDNAME} = models.FilePathField(path=${2:\"/abs/path/to/dir\"}${3:, max_length=100}${4:, match=\"*.ext\"}${5:, recursive=True}${6:, blank=True, })\n\
|
||||
snippet float\n\
|
||||
${1:FIELDNAME} = models.FloatField(${2})\n\
|
||||
snippet image\n\
|
||||
${1:FIELDNAME} = models.ImageField(upload_to=${2:path/for/upload}${3:, height_field=height, width_field=width}${4:, max_length=100})\n\
|
||||
snippet int\n\
|
||||
${1:FIELDNAME} = models.IntegerField(${2})\n\
|
||||
snippet ip\n\
|
||||
${1:FIELDNAME} = models.IPAddressField(${2})\n\
|
||||
snippet nullbool\n\
|
||||
${1:FIELDNAME} = models.NullBooleanField(${2})\n\
|
||||
snippet posint\n\
|
||||
${1:FIELDNAME} = models.PositiveIntegerField(${2})\n\
|
||||
snippet possmallint\n\
|
||||
${1:FIELDNAME} = models.PositiveSmallIntegerField(${2})\n\
|
||||
snippet slug\n\
|
||||
${1:FIELDNAME} = models.SlugField(max_length=${2:50}${3:, blank=True})\n\
|
||||
snippet smallint\n\
|
||||
${1:FIELDNAME} = models.SmallIntegerField(${2})\n\
|
||||
snippet text\n\
|
||||
${1:FIELDNAME} = models.TextField(${2:blank=True})\n\
|
||||
snippet time\n\
|
||||
${1:FIELDNAME} = models.TimeField(${2:auto_now_add=True, auto_now=True}${3:, blank=True, null=True})\n\
|
||||
snippet url\n\
|
||||
${1:FIELDNAME} = models.URLField(${2:verify_exists=False}${3:, max_length=200}${4:, blank=True})\n\
|
||||
snippet xml\n\
|
||||
${1:FIELDNAME} = models.XMLField(schema_path=${2:None}${3:, blank=True})\n\
|
||||
# Relational Fields\n\
|
||||
snippet fk\n\
|
||||
${1:FIELDNAME} = models.ForeignKey(${2:OtherModel}${3:, related_name=''}${4:, limit_choices_to=}${5:, to_field=''})\n\
|
||||
snippet m2m\n\
|
||||
${1:FIELDNAME} = models.ManyToManyField(${2:OtherModel}${3:, related_name=''}${4:, limit_choices_to=}${5:, symmetrical=False}${6:, through=''}${7:, db_table=''})\n\
|
||||
snippet o2o\n\
|
||||
${1:FIELDNAME} = models.OneToOneField(${2:OtherModel}${3:, parent_link=True}${4:, related_name=''}${5:, limit_choices_to=}${6:, to_field=''})\n\
|
||||
\n\
|
||||
# Code Skeletons\n\
|
||||
\n\
|
||||
snippet form\n\
|
||||
class ${1:FormName}(forms.Form):\n\
|
||||
\"\"\"${2:docstring}\"\"\"\n\
|
||||
${3}\n\
|
||||
\n\
|
||||
snippet model\n\
|
||||
class ${1:ModelName}(models.Model):\n\
|
||||
\"\"\"${2:docstring}\"\"\"\n\
|
||||
${3}\n\
|
||||
\n\
|
||||
class Meta:\n\
|
||||
${4}\n\
|
||||
\n\
|
||||
def __unicode__(self):\n\
|
||||
${5}\n\
|
||||
\n\
|
||||
def save(self, force_insert=False, force_update=False):\n\
|
||||
${6}\n\
|
||||
\n\
|
||||
@models.permalink\n\
|
||||
def get_absolute_url(self):\n\
|
||||
return ('${7:view_or_url_name}' ${8})\n\
|
||||
\n\
|
||||
snippet modeladmin\n\
|
||||
class ${1:ModelName}Admin(admin.ModelAdmin):\n\
|
||||
${2}\n\
|
||||
\n\
|
||||
admin.site.register($1, $1Admin)\n\
|
||||
\n\
|
||||
snippet tabularinline\n\
|
||||
class ${1:ModelName}Inline(admin.TabularInline):\n\
|
||||
model = $1\n\
|
||||
\n\
|
||||
snippet stackedinline\n\
|
||||
class ${1:ModelName}Inline(admin.StackedInline):\n\
|
||||
model = $1\n\
|
||||
\n\
|
||||
snippet r2r\n\
|
||||
return render_to_response('${1:template.html}', {\n\
|
||||
${2}\n\
|
||||
}${3:, context_instance=RequestContext(request)}\n\
|
||||
)\n\
|
||||
";
|
||||
exports.scope = "django";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/django"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/dockerfile.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/dockerfile.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/dockerfile"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/dot.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/dot.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/dot"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
33
BinaryDad.Coding/wwwroot/js/ace/snippets/drools.js
Normal file
33
BinaryDad.Coding/wwwroot/js/ace/snippets/drools.js
Normal file
@ -0,0 +1,33 @@
|
||||
define("ace/snippets/drools",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "\n\
|
||||
snippet rule\n\
|
||||
rule \"${1?:rule_name}\"\n\
|
||||
when\n\
|
||||
${2:// when...} \n\
|
||||
then\n\
|
||||
${3:// then...}\n\
|
||||
end\n\
|
||||
\n\
|
||||
snippet query\n\
|
||||
query ${1?:query_name}\n\
|
||||
${2:// find} \n\
|
||||
end\n\
|
||||
\n\
|
||||
snippet declare\n\
|
||||
declare ${1?:type_name}\n\
|
||||
${2:// attributes} \n\
|
||||
end\n\
|
||||
\n\
|
||||
";
|
||||
exports.scope = "drools";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/drools"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
254
BinaryDad.Coding/wwwroot/js/ace/snippets/edifact.js
Normal file
254
BinaryDad.Coding/wwwroot/js/ace/snippets/edifact.js
Normal file
@ -0,0 +1,254 @@
|
||||
define("ace/snippets/edifact",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "## Access Modifiers\n\
|
||||
snippet u\n\
|
||||
UN\n\
|
||||
snippet un\n\
|
||||
UNB\n\
|
||||
snippet pr\n\
|
||||
private\n\
|
||||
##\n\
|
||||
## Annotations\n\
|
||||
snippet before\n\
|
||||
@Before\n\
|
||||
static void ${1:intercept}(${2:args}) { ${3} }\n\
|
||||
snippet mm\n\
|
||||
@ManyToMany\n\
|
||||
${1}\n\
|
||||
snippet mo\n\
|
||||
@ManyToOne\n\
|
||||
${1}\n\
|
||||
snippet om\n\
|
||||
@OneToMany${1:(cascade=CascadeType.ALL)}\n\
|
||||
${2}\n\
|
||||
snippet oo\n\
|
||||
@OneToOne\n\
|
||||
${1}\n\
|
||||
##\n\
|
||||
## Basic Java packages and import\n\
|
||||
snippet im\n\
|
||||
import\n\
|
||||
snippet j.b\n\
|
||||
java.beans.\n\
|
||||
snippet j.i\n\
|
||||
java.io.\n\
|
||||
snippet j.m\n\
|
||||
java.math.\n\
|
||||
snippet j.n\n\
|
||||
java.net.\n\
|
||||
snippet j.u\n\
|
||||
java.util.\n\
|
||||
##\n\
|
||||
## Class\n\
|
||||
snippet cl\n\
|
||||
class ${1:`Filename(\"\", \"untitled\")`} ${2}\n\
|
||||
snippet in\n\
|
||||
interface ${1:`Filename(\"\", \"untitled\")`} ${2:extends Parent}${3}\n\
|
||||
snippet tc\n\
|
||||
public class ${1:`Filename()`} extends ${2:TestCase}\n\
|
||||
##\n\
|
||||
## Class Enhancements\n\
|
||||
snippet ext\n\
|
||||
extends \n\
|
||||
snippet imp\n\
|
||||
implements\n\
|
||||
##\n\
|
||||
## Comments\n\
|
||||
snippet /*\n\
|
||||
/*\n\
|
||||
* ${1}\n\
|
||||
*/\n\
|
||||
##\n\
|
||||
## Constants\n\
|
||||
snippet co\n\
|
||||
static public final ${1:String} ${2:var} = ${3};${4}\n\
|
||||
snippet cos\n\
|
||||
static public final String ${1:var} = \"${2}\";${3}\n\
|
||||
##\n\
|
||||
## Control Statements\n\
|
||||
snippet case\n\
|
||||
case ${1}:\n\
|
||||
${2}\n\
|
||||
snippet def\n\
|
||||
default:\n\
|
||||
${2}\n\
|
||||
snippet el\n\
|
||||
else\n\
|
||||
snippet elif\n\
|
||||
else if (${1}) ${2}\n\
|
||||
snippet if\n\
|
||||
if (${1}) ${2}\n\
|
||||
snippet sw\n\
|
||||
switch (${1}) {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Create a Method\n\
|
||||
snippet m\n\
|
||||
${1:void} ${2:method}(${3}) ${4:throws }${5}\n\
|
||||
##\n\
|
||||
## Create a Variable\n\
|
||||
snippet v\n\
|
||||
${1:String} ${2:var}${3: = null}${4};${5}\n\
|
||||
##\n\
|
||||
## Enhancements to Methods, variables, classes, etc.\n\
|
||||
snippet ab\n\
|
||||
abstract\n\
|
||||
snippet fi\n\
|
||||
final\n\
|
||||
snippet st\n\
|
||||
static\n\
|
||||
snippet sy\n\
|
||||
synchronized\n\
|
||||
##\n\
|
||||
## Error Methods\n\
|
||||
snippet err\n\
|
||||
System.err.print(\"${1:Message}\");\n\
|
||||
snippet errf\n\
|
||||
System.err.printf(\"${1:Message}\", ${2:exception});\n\
|
||||
snippet errln\n\
|
||||
System.err.println(\"${1:Message}\");\n\
|
||||
##\n\
|
||||
## Exception Handling\n\
|
||||
snippet as\n\
|
||||
assert ${1:test} : \"${2:Failure message}\";${3}\n\
|
||||
snippet ca\n\
|
||||
catch(${1:Exception} ${2:e}) ${3}\n\
|
||||
snippet thr\n\
|
||||
throw\n\
|
||||
snippet ths\n\
|
||||
throws\n\
|
||||
snippet try\n\
|
||||
try {\n\
|
||||
${3}\n\
|
||||
} catch(${1:Exception} ${2:e}) {\n\
|
||||
}\n\
|
||||
snippet tryf\n\
|
||||
try {\n\
|
||||
${3}\n\
|
||||
} catch(${1:Exception} ${2:e}) {\n\
|
||||
} finally {\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Find Methods\n\
|
||||
snippet findall\n\
|
||||
List<${1:listName}> ${2:items} = ${1}.findAll();${3}\n\
|
||||
snippet findbyid\n\
|
||||
${1:var} ${2:item} = ${1}.findById(${3});${4}\n\
|
||||
##\n\
|
||||
## Javadocs\n\
|
||||
snippet /**\n\
|
||||
/**\n\
|
||||
* ${1}\n\
|
||||
*/\n\
|
||||
snippet @au\n\
|
||||
@author `system(\"grep \\`id -un\\` /etc/passwd | cut -d \\\":\\\" -f5 | cut -d \\\",\\\" -f1\")`\n\
|
||||
snippet @br\n\
|
||||
@brief ${1:Description}\n\
|
||||
snippet @fi\n\
|
||||
@file ${1:`Filename()`}.java\n\
|
||||
snippet @pa\n\
|
||||
@param ${1:param}\n\
|
||||
snippet @re\n\
|
||||
@return ${1:param}\n\
|
||||
##\n\
|
||||
## Logger Methods\n\
|
||||
snippet debug\n\
|
||||
Logger.debug(${1:param});${2}\n\
|
||||
snippet error\n\
|
||||
Logger.error(${1:param});${2}\n\
|
||||
snippet info\n\
|
||||
Logger.info(${1:param});${2}\n\
|
||||
snippet warn\n\
|
||||
Logger.warn(${1:param});${2}\n\
|
||||
##\n\
|
||||
## Loops\n\
|
||||
snippet enfor\n\
|
||||
for (${1} : ${2}) ${3}\n\
|
||||
snippet for\n\
|
||||
for (${1}; ${2}; ${3}) ${4}\n\
|
||||
snippet wh\n\
|
||||
while (${1}) ${2}\n\
|
||||
##\n\
|
||||
## Main method\n\
|
||||
snippet main\n\
|
||||
public static void main (String[] args) {\n\
|
||||
${1:/* code */}\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Print Methods\n\
|
||||
snippet print\n\
|
||||
System.out.print(\"${1:Message}\");\n\
|
||||
snippet printf\n\
|
||||
System.out.printf(\"${1:Message}\", ${2:args});\n\
|
||||
snippet println\n\
|
||||
System.out.println(${1});\n\
|
||||
##\n\
|
||||
## Render Methods\n\
|
||||
snippet ren\n\
|
||||
render(${1:param});${2}\n\
|
||||
snippet rena\n\
|
||||
renderArgs.put(\"${1}\", ${2});${3}\n\
|
||||
snippet renb\n\
|
||||
renderBinary(${1:param});${2}\n\
|
||||
snippet renj\n\
|
||||
renderJSON(${1:param});${2}\n\
|
||||
snippet renx\n\
|
||||
renderXml(${1:param});${2}\n\
|
||||
##\n\
|
||||
## Setter and Getter Methods\n\
|
||||
snippet set\n\
|
||||
${1:public} void set${3:}(${2:String} ${4:}){\n\
|
||||
this.$4 = $4;\n\
|
||||
}\n\
|
||||
snippet get\n\
|
||||
${1:public} ${2:String} get${3:}(){\n\
|
||||
return this.${4:};\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Terminate Methods or Loops\n\
|
||||
snippet re\n\
|
||||
return\n\
|
||||
snippet br\n\
|
||||
break;\n\
|
||||
##\n\
|
||||
## Test Methods\n\
|
||||
snippet t\n\
|
||||
public void test${1:Name}() throws Exception {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
snippet test\n\
|
||||
@Test\n\
|
||||
public void test${1:Name}() throws Exception {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Utils\n\
|
||||
snippet Sc\n\
|
||||
Scanner\n\
|
||||
##\n\
|
||||
## Miscellaneous\n\
|
||||
snippet action\n\
|
||||
public static void ${1:index}(${2:args}) { ${3} }\n\
|
||||
snippet rnf\n\
|
||||
notFound(${1:param});${2}\n\
|
||||
snippet rnfin\n\
|
||||
notFoundIfNull(${1:param});${2}\n\
|
||||
snippet rr\n\
|
||||
redirect(${1:param});${2}\n\
|
||||
snippet ru\n\
|
||||
unauthorized(${1:param});${2}\n\
|
||||
snippet unless\n\
|
||||
(unless=${1:param});${2}\n\
|
||||
";
|
||||
exports.scope = "edifact";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/edifact"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/eiffel.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/eiffel.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/eiffel"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/ejs.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/ejs.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/ejs"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/elixir.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/elixir.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/elixir"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/elm.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/elm.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/elm"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
174
BinaryDad.Coding/wwwroot/js/ace/snippets/erlang.js
Normal file
174
BinaryDad.Coding/wwwroot/js/ace/snippets/erlang.js
Normal file
@ -0,0 +1,174 @@
|
||||
define("ace/snippets/erlang",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# module and export all\n\
|
||||
snippet mod\n\
|
||||
-module(${1:`Filename('', 'my')`}).\n\
|
||||
\n\
|
||||
-compile([export_all]).\n\
|
||||
\n\
|
||||
start() ->\n\
|
||||
${2}\n\
|
||||
\n\
|
||||
stop() ->\n\
|
||||
ok.\n\
|
||||
# define directive\n\
|
||||
snippet def\n\
|
||||
-define(${1:macro}, ${2:body}).${3}\n\
|
||||
# export directive\n\
|
||||
snippet exp\n\
|
||||
-export([${1:function}/${2:arity}]).\n\
|
||||
# include directive\n\
|
||||
snippet inc\n\
|
||||
-include(\"${1:file}\").${2}\n\
|
||||
# behavior directive\n\
|
||||
snippet beh\n\
|
||||
-behaviour(${1:behaviour}).${2}\n\
|
||||
# if expression\n\
|
||||
snippet if\n\
|
||||
if\n\
|
||||
${1:guard} ->\n\
|
||||
${2:body}\n\
|
||||
end\n\
|
||||
# case expression\n\
|
||||
snippet case\n\
|
||||
case ${1:expression} of\n\
|
||||
${2:pattern} ->\n\
|
||||
${3:body};\n\
|
||||
end\n\
|
||||
# anonymous function\n\
|
||||
snippet fun\n\
|
||||
fun (${1:Parameters}) -> ${2:body} end${3}\n\
|
||||
# try...catch\n\
|
||||
snippet try\n\
|
||||
try\n\
|
||||
${1}\n\
|
||||
catch\n\
|
||||
${2:_:_} -> ${3:got_some_exception}\n\
|
||||
end\n\
|
||||
# record directive\n\
|
||||
snippet rec\n\
|
||||
-record(${1:record}, {\n\
|
||||
${2:field}=${3:value}}).${4}\n\
|
||||
# todo comment\n\
|
||||
snippet todo\n\
|
||||
%% TODO: ${1}\n\
|
||||
## Snippets below (starting with '%') are in EDoc format.\n\
|
||||
## See http://www.erlang.org/doc/apps/edoc/chapter.html#id56887 for more details\n\
|
||||
# doc comment\n\
|
||||
snippet %d\n\
|
||||
%% @doc ${1}\n\
|
||||
# end of doc comment\n\
|
||||
snippet %e\n\
|
||||
%% @end\n\
|
||||
# specification comment\n\
|
||||
snippet %s\n\
|
||||
%% @spec ${1}\n\
|
||||
# private function marker\n\
|
||||
snippet %p\n\
|
||||
%% @private\n\
|
||||
# OTP application\n\
|
||||
snippet application\n\
|
||||
-module(${1:`Filename('', 'my')`}).\n\
|
||||
\n\
|
||||
-behaviour(application).\n\
|
||||
\n\
|
||||
-export([start/2, stop/1]).\n\
|
||||
\n\
|
||||
start(_Type, _StartArgs) ->\n\
|
||||
case ${2:root_supervisor}:start_link() of\n\
|
||||
{ok, Pid} ->\n\
|
||||
{ok, Pid};\n\
|
||||
Other ->\n\
|
||||
{error, Other}\n\
|
||||
end.\n\
|
||||
\n\
|
||||
stop(_State) ->\n\
|
||||
ok. \n\
|
||||
# OTP supervisor\n\
|
||||
snippet supervisor\n\
|
||||
-module(${1:`Filename('', 'my')`}).\n\
|
||||
\n\
|
||||
-behaviour(supervisor).\n\
|
||||
\n\
|
||||
%% API\n\
|
||||
-export([start_link/0]).\n\
|
||||
\n\
|
||||
%% Supervisor callbacks\n\
|
||||
-export([init/1]).\n\
|
||||
\n\
|
||||
-define(SERVER, ?MODULE).\n\
|
||||
\n\
|
||||
start_link() ->\n\
|
||||
supervisor:start_link({local, ?SERVER}, ?MODULE, []).\n\
|
||||
\n\
|
||||
init([]) ->\n\
|
||||
Server = {${2:my_server}, {$2, start_link, []},\n\
|
||||
permanent, 2000, worker, [$2]},\n\
|
||||
Children = [Server],\n\
|
||||
RestartStrategy = {one_for_one, 0, 1},\n\
|
||||
{ok, {RestartStrategy, Children}}.\n\
|
||||
# OTP gen_server\n\
|
||||
snippet gen_server\n\
|
||||
-module(${1:`Filename('', 'my')`}).\n\
|
||||
\n\
|
||||
-behaviour(gen_server).\n\
|
||||
\n\
|
||||
%% API\n\
|
||||
-export([\n\
|
||||
start_link/0\n\
|
||||
]).\n\
|
||||
\n\
|
||||
%% gen_server callbacks\n\
|
||||
-export([init/1, handle_call/3, handle_cast/2, handle_info/2,\n\
|
||||
terminate/2, code_change/3]).\n\
|
||||
\n\
|
||||
-define(SERVER, ?MODULE).\n\
|
||||
\n\
|
||||
-record(state, {}).\n\
|
||||
\n\
|
||||
%%%===================================================================\n\
|
||||
%%% API\n\
|
||||
%%%===================================================================\n\
|
||||
\n\
|
||||
start_link() ->\n\
|
||||
gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).\n\
|
||||
\n\
|
||||
%%%===================================================================\n\
|
||||
%%% gen_server callbacks\n\
|
||||
%%%===================================================================\n\
|
||||
\n\
|
||||
init([]) ->\n\
|
||||
{ok, #state{}}.\n\
|
||||
\n\
|
||||
handle_call(_Request, _From, State) ->\n\
|
||||
Reply = ok,\n\
|
||||
{reply, Reply, State}.\n\
|
||||
\n\
|
||||
handle_cast(_Msg, State) ->\n\
|
||||
{noreply, State}.\n\
|
||||
\n\
|
||||
handle_info(_Info, State) ->\n\
|
||||
{noreply, State}.\n\
|
||||
\n\
|
||||
terminate(_Reason, _State) ->\n\
|
||||
ok.\n\
|
||||
\n\
|
||||
code_change(_OldVsn, State, _Extra) ->\n\
|
||||
{ok, State}.\n\
|
||||
\n\
|
||||
%%%===================================================================\n\
|
||||
%%% Internal functions\n\
|
||||
%%%===================================================================\n\
|
||||
\n\
|
||||
";
|
||||
exports.scope = "erlang";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/erlang"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/forth.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/forth.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/forth"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/fortran.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/fortran.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/fortran"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/fsharp.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/fsharp.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/fsharp"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
14
BinaryDad.Coding/wwwroot/js/ace/snippets/fsl.js
Normal file
14
BinaryDad.Coding/wwwroot/js/ace/snippets/fsl.js
Normal file
@ -0,0 +1,14 @@
|
||||
define("ace/snippets/fsl",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText =undefined;
|
||||
exports.scope = "";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/fsl"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/ftl.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/ftl.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/ftl"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/gcode.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/gcode.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/gcode"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/gherkin.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/gherkin.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/gherkin"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/gitignore.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/gitignore.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/gitignore"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/glsl.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/glsl.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/glsl"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
1718
BinaryDad.Coding/wwwroot/js/ace/snippets/gobstones.js
Normal file
1718
BinaryDad.Coding/wwwroot/js/ace/snippets/gobstones.js
Normal file
File diff suppressed because it is too large
Load Diff
9
BinaryDad.Coding/wwwroot/js/ace/snippets/golang.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/golang.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/golang"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
46
BinaryDad.Coding/wwwroot/js/ace/snippets/graphqlschema.js
Normal file
46
BinaryDad.Coding/wwwroot/js/ace/snippets/graphqlschema.js
Normal file
@ -0,0 +1,46 @@
|
||||
define("ace/snippets/graphqlschema",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# Type Snippet\n\
|
||||
trigger type\n\
|
||||
snippet type\n\
|
||||
type ${1:type_name} {\n\
|
||||
${2:type_siblings}\n\
|
||||
}\n\
|
||||
\n\
|
||||
# Input Snippet\n\
|
||||
trigger input\n\
|
||||
snippet input\n\
|
||||
input ${1:input_name} {\n\
|
||||
${2:input_siblings}\n\
|
||||
}\n\
|
||||
\n\
|
||||
# Interface Snippet\n\
|
||||
trigger interface\n\
|
||||
snippet interface\n\
|
||||
interface ${1:interface_name} {\n\
|
||||
${2:interface_siblings}\n\
|
||||
}\n\
|
||||
\n\
|
||||
# Interface Snippet\n\
|
||||
trigger union\n\
|
||||
snippet union\n\
|
||||
union ${1:union_name} = ${2:type} | ${3: type}\n\
|
||||
\n\
|
||||
# Enum Snippet\n\
|
||||
trigger enum\n\
|
||||
snippet enum\n\
|
||||
enum ${1:enum_name} {\n\
|
||||
${2:enum_siblings}\n\
|
||||
}\n\
|
||||
";
|
||||
exports.scope = "graphqlschema";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/graphqlschema"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/groovy.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/groovy.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/groovy"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
34
BinaryDad.Coding/wwwroot/js/ace/snippets/haml.js
Normal file
34
BinaryDad.Coding/wwwroot/js/ace/snippets/haml.js
Normal file
@ -0,0 +1,34 @@
|
||||
define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet t\n\
|
||||
%table\n\
|
||||
%tr\n\
|
||||
%th\n\
|
||||
${1:headers}\n\
|
||||
%tr\n\
|
||||
%td\n\
|
||||
${2:headers}\n\
|
||||
snippet ul\n\
|
||||
%ul\n\
|
||||
%li\n\
|
||||
${1:item}\n\
|
||||
%li\n\
|
||||
snippet =rp\n\
|
||||
= render :partial => '${1:partial}'\n\
|
||||
snippet =rpl\n\
|
||||
= render :partial => '${1:partial}', :locals => {}\n\
|
||||
snippet =rpc\n\
|
||||
= render :partial => '${1:partial}', :collection => @$1\n\
|
||||
\n\
|
||||
";
|
||||
exports.scope = "haml";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/haml"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/handlebars.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/handlebars.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/handlebars"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
96
BinaryDad.Coding/wwwroot/js/ace/snippets/haskell.js
Normal file
96
BinaryDad.Coding/wwwroot/js/ace/snippets/haskell.js
Normal file
@ -0,0 +1,96 @@
|
||||
define("ace/snippets/haskell",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet lang\n\
|
||||
{-# LANGUAGE ${1:OverloadedStrings} #-}\n\
|
||||
snippet info\n\
|
||||
-- |\n\
|
||||
-- Module : ${1:Module.Namespace}\n\
|
||||
-- Copyright : ${2:Author} ${3:2011-2012}\n\
|
||||
-- License : ${4:BSD3}\n\
|
||||
--\n\
|
||||
-- Maintainer : ${5:email@something.com}\n\
|
||||
-- Stability : ${6:experimental}\n\
|
||||
-- Portability : ${7:unknown}\n\
|
||||
--\n\
|
||||
-- ${8:Description}\n\
|
||||
--\n\
|
||||
snippet import\n\
|
||||
import ${1:Data.Text}\n\
|
||||
snippet import2\n\
|
||||
import ${1:Data.Text} (${2:head})\n\
|
||||
snippet importq\n\
|
||||
import qualified ${1:Data.Text} as ${2:T}\n\
|
||||
snippet inst\n\
|
||||
instance ${1:Monoid} ${2:Type} where\n\
|
||||
${3}\n\
|
||||
snippet type\n\
|
||||
type ${1:Type} = ${2:Type}\n\
|
||||
snippet data\n\
|
||||
data ${1:Type} = ${2:$1} ${3:Int}\n\
|
||||
snippet newtype\n\
|
||||
newtype ${1:Type} = ${2:$1} ${3:Int}\n\
|
||||
snippet class\n\
|
||||
class ${1:Class} a where\n\
|
||||
${2}\n\
|
||||
snippet module\n\
|
||||
module `substitute(substitute(expand('%:r'), '[/\\\\]','.','g'),'^\\%(\\l*\\.\\)\\?','','')` (\n\
|
||||
) where\n\
|
||||
`expand('%') =~ 'Main' ? \"\\n\\nmain = do\\n print \\\"hello world\\\"\" : \"\"`\n\
|
||||
\n\
|
||||
snippet const\n\
|
||||
${1:name} :: ${2:a}\n\
|
||||
$1 = ${3:undefined}\n\
|
||||
snippet fn\n\
|
||||
${1:fn} :: ${2:a} -> ${3:a}\n\
|
||||
$1 ${4} = ${5:undefined}\n\
|
||||
snippet fn2\n\
|
||||
${1:fn} :: ${2:a} -> ${3:a} -> ${4:a}\n\
|
||||
$1 ${5} = ${6:undefined}\n\
|
||||
snippet ap\n\
|
||||
${1:map} ${2:fn} ${3:list}\n\
|
||||
snippet do\n\
|
||||
do\n\
|
||||
\n\
|
||||
snippet λ\n\
|
||||
\\${1:x} -> ${2}\n\
|
||||
snippet \\\n\
|
||||
\\${1:x} -> ${2}\n\
|
||||
snippet <-\n\
|
||||
${1:a} <- ${2:m a}\n\
|
||||
snippet ←\n\
|
||||
${1:a} <- ${2:m a}\n\
|
||||
snippet ->\n\
|
||||
${1:m a} -> ${2:a}\n\
|
||||
snippet →\n\
|
||||
${1:m a} -> ${2:a}\n\
|
||||
snippet tup\n\
|
||||
(${1:a}, ${2:b})\n\
|
||||
snippet tup2\n\
|
||||
(${1:a}, ${2:b}, ${3:c})\n\
|
||||
snippet tup3\n\
|
||||
(${1:a}, ${2:b}, ${3:c}, ${4:d})\n\
|
||||
snippet rec\n\
|
||||
${1:Record} { ${2:recFieldA} = ${3:undefined}\n\
|
||||
, ${4:recFieldB} = ${5:undefined}\n\
|
||||
}\n\
|
||||
snippet case\n\
|
||||
case ${1:something} of\n\
|
||||
${2} -> ${3}\n\
|
||||
snippet let\n\
|
||||
let ${1} = ${2}\n\
|
||||
in ${3}\n\
|
||||
snippet where\n\
|
||||
where\n\
|
||||
${1:fn} = ${2:undefined}\n\
|
||||
";
|
||||
exports.scope = "haskell";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/haskell"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/haskell_cabal"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/haxe.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/haxe.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/haxe"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/hjson.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/hjson.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/hjson"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
869
BinaryDad.Coding/wwwroot/js/ace/snippets/html.js
Normal file
869
BinaryDad.Coding/wwwroot/js/ace/snippets/html.js
Normal file
@ -0,0 +1,869 @@
|
||||
define("ace/snippets/html",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# Some useful Unicode entities\n\
|
||||
# Non-Breaking Space\n\
|
||||
snippet nbs\n\
|
||||
\n\
|
||||
# ←\n\
|
||||
snippet left\n\
|
||||
←\n\
|
||||
# →\n\
|
||||
snippet right\n\
|
||||
→\n\
|
||||
# ↑\n\
|
||||
snippet up\n\
|
||||
↑\n\
|
||||
# ↓\n\
|
||||
snippet down\n\
|
||||
↓\n\
|
||||
# ↩\n\
|
||||
snippet return\n\
|
||||
↩\n\
|
||||
# ⇤\n\
|
||||
snippet backtab\n\
|
||||
⇤\n\
|
||||
# ⇥\n\
|
||||
snippet tab\n\
|
||||
⇥\n\
|
||||
# ⇧\n\
|
||||
snippet shift\n\
|
||||
⇧\n\
|
||||
# ⌃\n\
|
||||
snippet ctrl\n\
|
||||
⌃\n\
|
||||
# ⌅\n\
|
||||
snippet enter\n\
|
||||
⌅\n\
|
||||
# ⌘\n\
|
||||
snippet cmd\n\
|
||||
⌘\n\
|
||||
# ⌥\n\
|
||||
snippet option\n\
|
||||
⌥\n\
|
||||
# ⌦\n\
|
||||
snippet delete\n\
|
||||
⌦\n\
|
||||
# ⌫\n\
|
||||
snippet backspace\n\
|
||||
⌫\n\
|
||||
# ⎋\n\
|
||||
snippet esc\n\
|
||||
⎋\n\
|
||||
# Generic Doctype\n\
|
||||
snippet doctype HTML 4.01 Strict\n\
|
||||
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n\
|
||||
\"http://www.w3.org/TR/html4/strict.dtd\">\n\
|
||||
snippet doctype HTML 4.01 Transitional\n\
|
||||
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n\
|
||||
\"http://www.w3.org/TR/html4/loose.dtd\">\n\
|
||||
snippet doctype HTML 5\n\
|
||||
<!DOCTYPE HTML>\n\
|
||||
snippet doctype XHTML 1.0 Frameset\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n\
|
||||
snippet doctype XHTML 1.0 Strict\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n\
|
||||
snippet doctype XHTML 1.0 Transitional\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\
|
||||
snippet doctype XHTML 1.1\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\
|
||||
# HTML Doctype 4.01 Strict\n\
|
||||
snippet docts\n\
|
||||
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n\
|
||||
\"http://www.w3.org/TR/html4/strict.dtd\">\n\
|
||||
# HTML Doctype 4.01 Transitional\n\
|
||||
snippet doct\n\
|
||||
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n\
|
||||
\"http://www.w3.org/TR/html4/loose.dtd\">\n\
|
||||
# HTML Doctype 5\n\
|
||||
snippet doct5\n\
|
||||
<!DOCTYPE html>\n\
|
||||
# XHTML Doctype 1.0 Frameset\n\
|
||||
snippet docxf\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">\n\
|
||||
# XHTML Doctype 1.0 Strict\n\
|
||||
snippet docxs\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n\
|
||||
# XHTML Doctype 1.0 Transitional\n\
|
||||
snippet docxt\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\
|
||||
# XHTML Doctype 1.1\n\
|
||||
snippet docx\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\
|
||||
# html5shiv\n\
|
||||
snippet html5shiv\n\
|
||||
<!--[if lte IE 8]>\n\
|
||||
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js\"></script>\n\
|
||||
<![endif]-->\n\
|
||||
snippet html5printshiv\n\
|
||||
<!--[if lte IE 8]>\n\
|
||||
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js\"></script>\n\
|
||||
<![endif]-->\n\
|
||||
# Attributes\n\
|
||||
snippet attr\n\
|
||||
${1:attribute}=\"${2:property}\"\n\
|
||||
snippet attr+\n\
|
||||
${1:attribute}=\"${2:property}\" attr+${3}\n\
|
||||
snippet .\n\
|
||||
class=\"${1}\"${2}\n\
|
||||
snippet #\n\
|
||||
id=\"${1}\"${2}\n\
|
||||
snippet alt\n\
|
||||
alt=\"${1}\"${2}\n\
|
||||
snippet charset\n\
|
||||
charset=\"${1:utf-8}\"${2}\n\
|
||||
snippet data\n\
|
||||
data-${1}=\"${2:$1}\"${3}\n\
|
||||
snippet for\n\
|
||||
for=\"${1}\"${2}\n\
|
||||
snippet height\n\
|
||||
height=\"${1}\"${2}\n\
|
||||
snippet href\n\
|
||||
href=\"${1:#}\"${2}\n\
|
||||
snippet lang\n\
|
||||
lang=\"${1:en}\"${2}\n\
|
||||
snippet media\n\
|
||||
media=\"${1}\"${2}\n\
|
||||
snippet name\n\
|
||||
name=\"${1}\"${2}\n\
|
||||
snippet rel\n\
|
||||
rel=\"${1}\"${2}\n\
|
||||
snippet scope\n\
|
||||
scope=\"${1:row}\"${2}\n\
|
||||
snippet src\n\
|
||||
src=\"${1}\"${2}\n\
|
||||
snippet title=\n\
|
||||
title=\"${1}\"${2}\n\
|
||||
snippet type\n\
|
||||
type=\"${1}\"${2}\n\
|
||||
snippet value\n\
|
||||
value=\"${1}\"${2}\n\
|
||||
snippet width\n\
|
||||
width=\"${1}\"${2}\n\
|
||||
# Elements\n\
|
||||
snippet a\n\
|
||||
<a href=\"${1:#}\">${2:$1}</a>\n\
|
||||
snippet a.\n\
|
||||
<a class=\"${1}\" href=\"${2:#}\">${3:$1}</a>\n\
|
||||
snippet a#\n\
|
||||
<a id=\"${1}\" href=\"${2:#}\">${3:$1}</a>\n\
|
||||
snippet a:ext\n\
|
||||
<a href=\"http://${1:example.com}\">${2:$1}</a>\n\
|
||||
snippet a:mail\n\
|
||||
<a href=\"mailto:${1:joe@example.com}?subject=${2:feedback}\">${3:email me}</a>\n\
|
||||
snippet abbr\n\
|
||||
<abbr title=\"${1}\">${2}</abbr>\n\
|
||||
snippet address\n\
|
||||
<address>\n\
|
||||
${1}\n\
|
||||
</address>\n\
|
||||
snippet area\n\
|
||||
<area shape=\"${1:rect}\" coords=\"${2}\" href=\"${3}\" alt=\"${4}\" />\n\
|
||||
snippet area+\n\
|
||||
<area shape=\"${1:rect}\" coords=\"${2}\" href=\"${3}\" alt=\"${4}\" />\n\
|
||||
area+${5}\n\
|
||||
snippet area:c\n\
|
||||
<area shape=\"circle\" coords=\"${1}\" href=\"${2}\" alt=\"${3}\" />\n\
|
||||
snippet area:d\n\
|
||||
<area shape=\"default\" coords=\"${1}\" href=\"${2}\" alt=\"${3}\" />\n\
|
||||
snippet area:p\n\
|
||||
<area shape=\"poly\" coords=\"${1}\" href=\"${2}\" alt=\"${3}\" />\n\
|
||||
snippet area:r\n\
|
||||
<area shape=\"rect\" coords=\"${1}\" href=\"${2}\" alt=\"${3}\" />\n\
|
||||
snippet article\n\
|
||||
<article>\n\
|
||||
${1}\n\
|
||||
</article>\n\
|
||||
snippet article.\n\
|
||||
<article class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</article>\n\
|
||||
snippet article#\n\
|
||||
<article id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</article>\n\
|
||||
snippet aside\n\
|
||||
<aside>\n\
|
||||
${1}\n\
|
||||
</aside>\n\
|
||||
snippet aside.\n\
|
||||
<aside class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</aside>\n\
|
||||
snippet aside#\n\
|
||||
<aside id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</aside>\n\
|
||||
snippet audio\n\
|
||||
<audio src=\"${1}>${2}</audio>\n\
|
||||
snippet b\n\
|
||||
<b>${1}</b>\n\
|
||||
snippet base\n\
|
||||
<base href=\"${1}\" target=\"${2}\" />\n\
|
||||
snippet bdi\n\
|
||||
<bdi>${1}</bdo>\n\
|
||||
snippet bdo\n\
|
||||
<bdo dir=\"${1}\">${2}</bdo>\n\
|
||||
snippet bdo:l\n\
|
||||
<bdo dir=\"ltr\">${1}</bdo>\n\
|
||||
snippet bdo:r\n\
|
||||
<bdo dir=\"rtl\">${1}</bdo>\n\
|
||||
snippet blockquote\n\
|
||||
<blockquote>\n\
|
||||
${1}\n\
|
||||
</blockquote>\n\
|
||||
snippet body\n\
|
||||
<body>\n\
|
||||
${1}\n\
|
||||
</body>\n\
|
||||
snippet br\n\
|
||||
<br />${1}\n\
|
||||
snippet button\n\
|
||||
<button type=\"${1:submit}\">${2}</button>\n\
|
||||
snippet button.\n\
|
||||
<button class=\"${1:button}\" type=\"${2:submit}\">${3}</button>\n\
|
||||
snippet button#\n\
|
||||
<button id=\"${1}\" type=\"${2:submit}\">${3}</button>\n\
|
||||
snippet button:s\n\
|
||||
<button type=\"submit\">${1}</button>\n\
|
||||
snippet button:r\n\
|
||||
<button type=\"reset\">${1}</button>\n\
|
||||
snippet canvas\n\
|
||||
<canvas>\n\
|
||||
${1}\n\
|
||||
</canvas>\n\
|
||||
snippet caption\n\
|
||||
<caption>${1}</caption>\n\
|
||||
snippet cite\n\
|
||||
<cite>${1}</cite>\n\
|
||||
snippet code\n\
|
||||
<code>${1}</code>\n\
|
||||
snippet col\n\
|
||||
<col />${1}\n\
|
||||
snippet col+\n\
|
||||
<col />\n\
|
||||
col+${1}\n\
|
||||
snippet colgroup\n\
|
||||
<colgroup>\n\
|
||||
${1}\n\
|
||||
</colgroup>\n\
|
||||
snippet colgroup+\n\
|
||||
<colgroup>\n\
|
||||
<col />\n\
|
||||
col+${1}\n\
|
||||
</colgroup>\n\
|
||||
snippet command\n\
|
||||
<command type=\"command\" label=\"${1}\" icon=\"${2}\" />\n\
|
||||
snippet command:c\n\
|
||||
<command type=\"checkbox\" label=\"${1}\" icon=\"${2}\" />\n\
|
||||
snippet command:r\n\
|
||||
<command type=\"radio\" radiogroup=\"${1}\" label=\"${2}\" icon=\"${3}\" />\n\
|
||||
snippet datagrid\n\
|
||||
<datagrid>\n\
|
||||
${1}\n\
|
||||
</datagrid>\n\
|
||||
snippet datalist\n\
|
||||
<datalist>\n\
|
||||
${1}\n\
|
||||
</datalist>\n\
|
||||
snippet datatemplate\n\
|
||||
<datatemplate>\n\
|
||||
${1}\n\
|
||||
</datatemplate>\n\
|
||||
snippet dd\n\
|
||||
<dd>${1}</dd>\n\
|
||||
snippet dd.\n\
|
||||
<dd class=\"${1}\">${2}</dd>\n\
|
||||
snippet dd#\n\
|
||||
<dd id=\"${1}\">${2}</dd>\n\
|
||||
snippet del\n\
|
||||
<del>${1}</del>\n\
|
||||
snippet details\n\
|
||||
<details>${1}</details>\n\
|
||||
snippet dfn\n\
|
||||
<dfn>${1}</dfn>\n\
|
||||
snippet dialog\n\
|
||||
<dialog>\n\
|
||||
${1}\n\
|
||||
</dialog>\n\
|
||||
snippet div\n\
|
||||
<div>\n\
|
||||
${1}\n\
|
||||
</div>\n\
|
||||
snippet div.\n\
|
||||
<div class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</div>\n\
|
||||
snippet div#\n\
|
||||
<div id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</div>\n\
|
||||
snippet dl\n\
|
||||
<dl>\n\
|
||||
${1}\n\
|
||||
</dl>\n\
|
||||
snippet dl.\n\
|
||||
<dl class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</dl>\n\
|
||||
snippet dl#\n\
|
||||
<dl id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</dl>\n\
|
||||
snippet dl+\n\
|
||||
<dl>\n\
|
||||
<dt>${1}</dt>\n\
|
||||
<dd>${2}</dd>\n\
|
||||
dt+${3}\n\
|
||||
</dl>\n\
|
||||
snippet dt\n\
|
||||
<dt>${1}</dt>\n\
|
||||
snippet dt.\n\
|
||||
<dt class=\"${1}\">${2}</dt>\n\
|
||||
snippet dt#\n\
|
||||
<dt id=\"${1}\">${2}</dt>\n\
|
||||
snippet dt+\n\
|
||||
<dt>${1}</dt>\n\
|
||||
<dd>${2}</dd>\n\
|
||||
dt+${3}\n\
|
||||
snippet em\n\
|
||||
<em>${1}</em>\n\
|
||||
snippet embed\n\
|
||||
<embed src=${1} type=\"${2} />\n\
|
||||
snippet fieldset\n\
|
||||
<fieldset>\n\
|
||||
${1}\n\
|
||||
</fieldset>\n\
|
||||
snippet fieldset.\n\
|
||||
<fieldset class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</fieldset>\n\
|
||||
snippet fieldset#\n\
|
||||
<fieldset id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</fieldset>\n\
|
||||
snippet fieldset+\n\
|
||||
<fieldset>\n\
|
||||
<legend><span>${1}</span></legend>\n\
|
||||
${2}\n\
|
||||
</fieldset>\n\
|
||||
fieldset+${3}\n\
|
||||
snippet figcaption\n\
|
||||
<figcaption>${1}</figcaption>\n\
|
||||
snippet figure\n\
|
||||
<figure>${1}</figure>\n\
|
||||
snippet footer\n\
|
||||
<footer>\n\
|
||||
${1}\n\
|
||||
</footer>\n\
|
||||
snippet footer.\n\
|
||||
<footer class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</footer>\n\
|
||||
snippet footer#\n\
|
||||
<footer id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</footer>\n\
|
||||
snippet form\n\
|
||||
<form action=\"${1}\" method=\"${2:get}\" accept-charset=\"utf-8\">\n\
|
||||
${3}\n\
|
||||
</form>\n\
|
||||
snippet form.\n\
|
||||
<form class=\"${1}\" action=\"${2}\" method=\"${3:get}\" accept-charset=\"utf-8\">\n\
|
||||
${4}\n\
|
||||
</form>\n\
|
||||
snippet form#\n\
|
||||
<form id=\"${1}\" action=\"${2}\" method=\"${3:get}\" accept-charset=\"utf-8\">\n\
|
||||
${4}\n\
|
||||
</form>\n\
|
||||
snippet h1\n\
|
||||
<h1>${1}</h1>\n\
|
||||
snippet h1.\n\
|
||||
<h1 class=\"${1}\">${2}</h1>\n\
|
||||
snippet h1#\n\
|
||||
<h1 id=\"${1}\">${2}</h1>\n\
|
||||
snippet h2\n\
|
||||
<h2>${1}</h2>\n\
|
||||
snippet h2.\n\
|
||||
<h2 class=\"${1}\">${2}</h2>\n\
|
||||
snippet h2#\n\
|
||||
<h2 id=\"${1}\">${2}</h2>\n\
|
||||
snippet h3\n\
|
||||
<h3>${1}</h3>\n\
|
||||
snippet h3.\n\
|
||||
<h3 class=\"${1}\">${2}</h3>\n\
|
||||
snippet h3#\n\
|
||||
<h3 id=\"${1}\">${2}</h3>\n\
|
||||
snippet h4\n\
|
||||
<h4>${1}</h4>\n\
|
||||
snippet h4.\n\
|
||||
<h4 class=\"${1}\">${2}</h4>\n\
|
||||
snippet h4#\n\
|
||||
<h4 id=\"${1}\">${2}</h4>\n\
|
||||
snippet h5\n\
|
||||
<h5>${1}</h5>\n\
|
||||
snippet h5.\n\
|
||||
<h5 class=\"${1}\">${2}</h5>\n\
|
||||
snippet h5#\n\
|
||||
<h5 id=\"${1}\">${2}</h5>\n\
|
||||
snippet h6\n\
|
||||
<h6>${1}</h6>\n\
|
||||
snippet h6.\n\
|
||||
<h6 class=\"${1}\">${2}</h6>\n\
|
||||
snippet h6#\n\
|
||||
<h6 id=\"${1}\">${2}</h6>\n\
|
||||
snippet head\n\
|
||||
<head>\n\
|
||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n\
|
||||
\n\
|
||||
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}</title>\n\
|
||||
${2}\n\
|
||||
</head>\n\
|
||||
snippet header\n\
|
||||
<header>\n\
|
||||
${1}\n\
|
||||
</header>\n\
|
||||
snippet header.\n\
|
||||
<header class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</header>\n\
|
||||
snippet header#\n\
|
||||
<header id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</header>\n\
|
||||
snippet hgroup\n\
|
||||
<hgroup>\n\
|
||||
${1}\n\
|
||||
</hgroup>\n\
|
||||
snippet hgroup.\n\
|
||||
<hgroup class=\"${1}>\n\
|
||||
${2}\n\
|
||||
</hgroup>\n\
|
||||
snippet hr\n\
|
||||
<hr />${1}\n\
|
||||
snippet html\n\
|
||||
<html>\n\
|
||||
${1}\n\
|
||||
</html>\n\
|
||||
snippet xhtml\n\
|
||||
<html xmlns=\"http://www.w3.org/1999/xhtml\">\n\
|
||||
${1}\n\
|
||||
</html>\n\
|
||||
snippet html5\n\
|
||||
<!DOCTYPE html>\n\
|
||||
<html>\n\
|
||||
<head>\n\
|
||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n\
|
||||
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}</title>\n\
|
||||
${2:meta}\n\
|
||||
</head>\n\
|
||||
<body>\n\
|
||||
${3:body}\n\
|
||||
</body>\n\
|
||||
</html>\n\
|
||||
snippet xhtml5\n\
|
||||
<!DOCTYPE html>\n\
|
||||
<html xmlns=\"http://www.w3.org/1999/xhtml\">\n\
|
||||
<head>\n\
|
||||
<meta http-equiv=\"content-type\" content=\"application/xhtml+xml; charset=utf-8\" />\n\
|
||||
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}</title>\n\
|
||||
${2:meta}\n\
|
||||
</head>\n\
|
||||
<body>\n\
|
||||
${3:body}\n\
|
||||
</body>\n\
|
||||
</html>\n\
|
||||
snippet i\n\
|
||||
<i>${1}</i>\n\
|
||||
snippet iframe\n\
|
||||
<iframe src=\"${1}\" frameborder=\"0\"></iframe>${2}\n\
|
||||
snippet iframe.\n\
|
||||
<iframe class=\"${1}\" src=\"${2}\" frameborder=\"0\"></iframe>${3}\n\
|
||||
snippet iframe#\n\
|
||||
<iframe id=\"${1}\" src=\"${2}\" frameborder=\"0\"></iframe>${3}\n\
|
||||
snippet img\n\
|
||||
<img src=\"${1}\" alt=\"${2}\" />${3}\n\
|
||||
snippet img.\n\
|
||||
<img class=\"${1}\" src=\"${2}\" alt=\"${3}\" />${4}\n\
|
||||
snippet img#\n\
|
||||
<img id=\"${1}\" src=\"${2}\" alt=\"${3}\" />${4}\n\
|
||||
snippet input\n\
|
||||
<input type=\"${1:text/submit/hidden/button/image}\" name=\"${2}\" id=\"${3:$2}\" value=\"${4}\" />${5}\n\
|
||||
snippet input.\n\
|
||||
<input class=\"${1}\" type=\"${2:text/submit/hidden/button/image}\" name=\"${3}\" id=\"${4:$3}\" value=\"${5}\" />${6}\n\
|
||||
snippet input:text\n\
|
||||
<input type=\"text\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:submit\n\
|
||||
<input type=\"submit\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:hidden\n\
|
||||
<input type=\"hidden\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:button\n\
|
||||
<input type=\"button\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:image\n\
|
||||
<input type=\"image\" name=\"${1}\" id=\"${2:$1}\" src=\"${3}\" alt=\"${4}\" />${5}\n\
|
||||
snippet input:checkbox\n\
|
||||
<input type=\"checkbox\" name=\"${1}\" id=\"${2:$1}\" />${3}\n\
|
||||
snippet input:radio\n\
|
||||
<input type=\"radio\" name=\"${1}\" id=\"${2:$1}\" />${3}\n\
|
||||
snippet input:color\n\
|
||||
<input type=\"color\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:date\n\
|
||||
<input type=\"date\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:datetime\n\
|
||||
<input type=\"datetime\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:datetime-local\n\
|
||||
<input type=\"datetime-local\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:email\n\
|
||||
<input type=\"email\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:file\n\
|
||||
<input type=\"file\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:month\n\
|
||||
<input type=\"month\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:number\n\
|
||||
<input type=\"number\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:password\n\
|
||||
<input type=\"password\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:range\n\
|
||||
<input type=\"range\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:reset\n\
|
||||
<input type=\"reset\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:search\n\
|
||||
<input type=\"search\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:time\n\
|
||||
<input type=\"time\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:url\n\
|
||||
<input type=\"url\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:week\n\
|
||||
<input type=\"week\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet ins\n\
|
||||
<ins>${1}</ins>\n\
|
||||
snippet kbd\n\
|
||||
<kbd>${1}</kbd>\n\
|
||||
snippet keygen\n\
|
||||
<keygen>${1}</keygen>\n\
|
||||
snippet label\n\
|
||||
<label for=\"${2:$1}\">${1}</label>\n\
|
||||
snippet label:i\n\
|
||||
<label for=\"${2:$1}\">${1}</label>\n\
|
||||
<input type=\"${3:text/submit/hidden/button}\" name=\"${4:$2}\" id=\"${5:$2}\" value=\"${6}\" />${7}\n\
|
||||
snippet label:s\n\
|
||||
<label for=\"${2:$1}\">${1}</label>\n\
|
||||
<select name=\"${3:$2}\" id=\"${4:$2}\">\n\
|
||||
<option value=\"${5}\">${6:$5}</option>\n\
|
||||
</select>\n\
|
||||
snippet legend\n\
|
||||
<legend>${1}</legend>\n\
|
||||
snippet legend+\n\
|
||||
<legend><span>${1}</span></legend>\n\
|
||||
snippet li\n\
|
||||
<li>${1}</li>\n\
|
||||
snippet li.\n\
|
||||
<li class=\"${1}\">${2}</li>\n\
|
||||
snippet li+\n\
|
||||
<li>${1}</li>\n\
|
||||
li+${2}\n\
|
||||
snippet lia\n\
|
||||
<li><a href=\"${2:#}\">${1}</a></li>\n\
|
||||
snippet lia+\n\
|
||||
<li><a href=\"${2:#}\">${1}</a></li>\n\
|
||||
lia+${3}\n\
|
||||
snippet link\n\
|
||||
<link rel=\"${1}\" href=\"${2}\" title=\"${3}\" type=\"${4}\" />${5}\n\
|
||||
snippet link:atom\n\
|
||||
<link rel=\"alternate\" href=\"${1:atom.xml}\" title=\"Atom\" type=\"application/atom+xml\" />${2}\n\
|
||||
snippet link:css\n\
|
||||
<link rel=\"stylesheet\" href=\"${2:style.css}\" type=\"text/css\" media=\"${3:all}\" />${4}\n\
|
||||
snippet link:favicon\n\
|
||||
<link rel=\"shortcut icon\" href=\"${1:favicon.ico}\" type=\"image/x-icon\" />${2}\n\
|
||||
snippet link:rss\n\
|
||||
<link rel=\"alternate\" href=\"${1:rss.xml}\" title=\"RSS\" type=\"application/atom+xml\" />${2}\n\
|
||||
snippet link:touch\n\
|
||||
<link rel=\"apple-touch-icon\" href=\"${1:favicon.png}\" />${2}\n\
|
||||
snippet map\n\
|
||||
<map name=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</map>\n\
|
||||
snippet map.\n\
|
||||
<map class=\"${1}\" name=\"${2}\">\n\
|
||||
${3}\n\
|
||||
</map>\n\
|
||||
snippet map#\n\
|
||||
<map name=\"${1}\" id=\"${2:$1}>\n\
|
||||
${3}\n\
|
||||
</map>\n\
|
||||
snippet map+\n\
|
||||
<map name=\"${1}\">\n\
|
||||
<area shape=\"${2}\" coords=\"${3}\" href=\"${4}\" alt=\"${5}\" />${6}\n\
|
||||
</map>${7}\n\
|
||||
snippet mark\n\
|
||||
<mark>${1}</mark>\n\
|
||||
snippet menu\n\
|
||||
<menu>\n\
|
||||
${1}\n\
|
||||
</menu>\n\
|
||||
snippet menu:c\n\
|
||||
<menu type=\"context\">\n\
|
||||
${1}\n\
|
||||
</menu>\n\
|
||||
snippet menu:t\n\
|
||||
<menu type=\"toolbar\">\n\
|
||||
${1}\n\
|
||||
</menu>\n\
|
||||
snippet meta\n\
|
||||
<meta http-equiv=\"${1}\" content=\"${2}\" />${3}\n\
|
||||
snippet meta:compat\n\
|
||||
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=${1:7,8,edge}\" />${3}\n\
|
||||
snippet meta:refresh\n\
|
||||
<meta http-equiv=\"refresh\" content=\"text/html;charset=UTF-8\" />${3}\n\
|
||||
snippet meta:utf\n\
|
||||
<meta http-equiv=\"content-type\" content=\"text/html;charset=UTF-8\" />${3}\n\
|
||||
snippet meter\n\
|
||||
<meter>${1}</meter>\n\
|
||||
snippet nav\n\
|
||||
<nav>\n\
|
||||
${1}\n\
|
||||
</nav>\n\
|
||||
snippet nav.\n\
|
||||
<nav class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</nav>\n\
|
||||
snippet nav#\n\
|
||||
<nav id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</nav>\n\
|
||||
snippet noscript\n\
|
||||
<noscript>\n\
|
||||
${1}\n\
|
||||
</noscript>\n\
|
||||
snippet object\n\
|
||||
<object data=\"${1}\" type=\"${2}\">\n\
|
||||
${3}\n\
|
||||
</object>${4}\n\
|
||||
# Embed QT Movie\n\
|
||||
snippet movie\n\
|
||||
<object width=\"$2\" height=\"$3\" classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\"\n\
|
||||
codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\">\n\
|
||||
<param name=\"src\" value=\"$1\" />\n\
|
||||
<param name=\"controller\" value=\"$4\" />\n\
|
||||
<param name=\"autoplay\" value=\"$5\" />\n\
|
||||
<embed src=\"${1:movie.mov}\"\n\
|
||||
width=\"${2:320}\" height=\"${3:240}\"\n\
|
||||
controller=\"${4:true}\" autoplay=\"${5:true}\"\n\
|
||||
scale=\"tofit\" cache=\"true\"\n\
|
||||
pluginspage=\"http://www.apple.com/quicktime/download/\" />\n\
|
||||
</object>${6}\n\
|
||||
snippet ol\n\
|
||||
<ol>\n\
|
||||
${1}\n\
|
||||
</ol>\n\
|
||||
snippet ol.\n\
|
||||
<ol class=\"${1}>\n\
|
||||
${2}\n\
|
||||
</ol>\n\
|
||||
snippet ol#\n\
|
||||
<ol id=\"${1}>\n\
|
||||
${2}\n\
|
||||
</ol>\n\
|
||||
snippet ol+\n\
|
||||
<ol>\n\
|
||||
<li>${1}</li>\n\
|
||||
li+${2}\n\
|
||||
</ol>\n\
|
||||
snippet opt\n\
|
||||
<option value=\"${1}\">${2:$1}</option>\n\
|
||||
snippet opt+\n\
|
||||
<option value=\"${1}\">${2:$1}</option>\n\
|
||||
opt+${3}\n\
|
||||
snippet optt\n\
|
||||
<option>${1}</option>\n\
|
||||
snippet optgroup\n\
|
||||
<optgroup>\n\
|
||||
<option value=\"${1}\">${2:$1}</option>\n\
|
||||
opt+${3}\n\
|
||||
</optgroup>\n\
|
||||
snippet output\n\
|
||||
<output>${1}</output>\n\
|
||||
snippet p\n\
|
||||
<p>${1}</p>\n\
|
||||
snippet param\n\
|
||||
<param name=\"${1}\" value=\"${2}\" />${3}\n\
|
||||
snippet pre\n\
|
||||
<pre>\n\
|
||||
${1}\n\
|
||||
</pre>\n\
|
||||
snippet progress\n\
|
||||
<progress>${1}</progress>\n\
|
||||
snippet q\n\
|
||||
<q>${1}</q>\n\
|
||||
snippet rp\n\
|
||||
<rp>${1}</rp>\n\
|
||||
snippet rt\n\
|
||||
<rt>${1}</rt>\n\
|
||||
snippet ruby\n\
|
||||
<ruby>\n\
|
||||
<rp><rt>${1}</rt></rp>\n\
|
||||
</ruby>\n\
|
||||
snippet s\n\
|
||||
<s>${1}</s>\n\
|
||||
snippet samp\n\
|
||||
<samp>\n\
|
||||
${1}\n\
|
||||
</samp>\n\
|
||||
snippet script\n\
|
||||
<script type=\"text/javascript\" charset=\"utf-8\">\n\
|
||||
${1}\n\
|
||||
</script>\n\
|
||||
snippet scriptsrc\n\
|
||||
<script src=\"${1}.js\" type=\"text/javascript\" charset=\"utf-8\"></script>\n\
|
||||
snippet newscript\n\
|
||||
<script type=\"application/javascript\" charset=\"utf-8\">\n\
|
||||
${1}\n\
|
||||
</script>\n\
|
||||
snippet newscriptsrc\n\
|
||||
<script src=\"${1}.js\" type=\"application/javascript\" charset=\"utf-8\"></script>\n\
|
||||
snippet section\n\
|
||||
<section>\n\
|
||||
${1}\n\
|
||||
</section>\n\
|
||||
snippet section.\n\
|
||||
<section class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</section>\n\
|
||||
snippet section#\n\
|
||||
<section id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</section>\n\
|
||||
snippet select\n\
|
||||
<select name=\"${1}\" id=\"${2:$1}\">\n\
|
||||
${3}\n\
|
||||
</select>\n\
|
||||
snippet select.\n\
|
||||
<select name=\"${1}\" id=\"${2:$1}\" class=\"${3}>\n\
|
||||
${4}\n\
|
||||
</select>\n\
|
||||
snippet select+\n\
|
||||
<select name=\"${1}\" id=\"${2:$1}\">\n\
|
||||
<option value=\"${3}\">${4:$3}</option>\n\
|
||||
opt+${5}\n\
|
||||
</select>\n\
|
||||
snippet small\n\
|
||||
<small>${1}</small>\n\
|
||||
snippet source\n\
|
||||
<source src=\"${1}\" type=\"${2}\" media=\"${3}\" />\n\
|
||||
snippet span\n\
|
||||
<span>${1}</span>\n\
|
||||
snippet strong\n\
|
||||
<strong>${1}</strong>\n\
|
||||
snippet style\n\
|
||||
<style type=\"text/css\" media=\"${1:all}\">\n\
|
||||
${2}\n\
|
||||
</style>\n\
|
||||
snippet sub\n\
|
||||
<sub>${1}</sub>\n\
|
||||
snippet summary\n\
|
||||
<summary>\n\
|
||||
${1}\n\
|
||||
</summary>\n\
|
||||
snippet sup\n\
|
||||
<sup>${1}</sup>\n\
|
||||
snippet table\n\
|
||||
<table border=\"${1:0}\">\n\
|
||||
${2}\n\
|
||||
</table>\n\
|
||||
snippet table.\n\
|
||||
<table class=\"${1}\" border=\"${2:0}\">\n\
|
||||
${3}\n\
|
||||
</table>\n\
|
||||
snippet table#\n\
|
||||
<table id=\"${1}\" border=\"${2:0}\">\n\
|
||||
${3}\n\
|
||||
</table>\n\
|
||||
snippet tbody\n\
|
||||
<tbody>\n\
|
||||
${1}\n\
|
||||
</tbody>\n\
|
||||
snippet td\n\
|
||||
<td>${1}</td>\n\
|
||||
snippet td.\n\
|
||||
<td class=\"${1}\">${2}</td>\n\
|
||||
snippet td#\n\
|
||||
<td id=\"${1}\">${2}</td>\n\
|
||||
snippet td+\n\
|
||||
<td>${1}</td>\n\
|
||||
td+${2}\n\
|
||||
snippet textarea\n\
|
||||
<textarea name=\"${1}\" id=${2:$1} rows=\"${3:8}\" cols=\"${4:40}\">${5}</textarea>${6}\n\
|
||||
snippet tfoot\n\
|
||||
<tfoot>\n\
|
||||
${1}\n\
|
||||
</tfoot>\n\
|
||||
snippet th\n\
|
||||
<th>${1}</th>\n\
|
||||
snippet th.\n\
|
||||
<th class=\"${1}\">${2}</th>\n\
|
||||
snippet th#\n\
|
||||
<th id=\"${1}\">${2}</th>\n\
|
||||
snippet th+\n\
|
||||
<th>${1}</th>\n\
|
||||
th+${2}\n\
|
||||
snippet thead\n\
|
||||
<thead>\n\
|
||||
${1}\n\
|
||||
</thead>\n\
|
||||
snippet time\n\
|
||||
<time datetime=\"${1}\" pubdate=\"${2:$1}>${3:$1}</time>\n\
|
||||
snippet title\n\
|
||||
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}</title>\n\
|
||||
snippet tr\n\
|
||||
<tr>\n\
|
||||
${1}\n\
|
||||
</tr>\n\
|
||||
snippet tr+\n\
|
||||
<tr>\n\
|
||||
<td>${1}</td>\n\
|
||||
td+${2}\n\
|
||||
</tr>\n\
|
||||
snippet track\n\
|
||||
<track src=\"${1}\" srclang=\"${2}\" label=\"${3}\" default=\"${4:default}>${5}</track>${6}\n\
|
||||
snippet ul\n\
|
||||
<ul>\n\
|
||||
${1}\n\
|
||||
</ul>\n\
|
||||
snippet ul.\n\
|
||||
<ul class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</ul>\n\
|
||||
snippet ul#\n\
|
||||
<ul id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</ul>\n\
|
||||
snippet ul+\n\
|
||||
<ul>\n\
|
||||
<li>${1}</li>\n\
|
||||
li+${2}\n\
|
||||
</ul>\n\
|
||||
snippet var\n\
|
||||
<var>${1}</var>\n\
|
||||
snippet video\n\
|
||||
<video src=\"${1} height=\"${2}\" width=\"${3}\" preload=\"${5:none}\" autoplay=\"${6:autoplay}>${7}</video>${8}\n\
|
||||
snippet wbr\n\
|
||||
<wbr />${1}\n\
|
||||
";
|
||||
exports.scope = "html";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/html"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/html_elixir.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/html_elixir.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/html_elixir"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/html_ruby.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/html_ruby.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/html_ruby"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/ini.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/ini.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/ini"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
76
BinaryDad.Coding/wwwroot/js/ace/snippets/io.js
Normal file
76
BinaryDad.Coding/wwwroot/js/ace/snippets/io.js
Normal file
@ -0,0 +1,76 @@
|
||||
define("ace/snippets/io",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippets = [
|
||||
{
|
||||
"content": "assertEquals(${1:expected}, ${2:expr})",
|
||||
"name": "assertEquals",
|
||||
"scope": "io",
|
||||
"tabTrigger": "ae"
|
||||
},
|
||||
{
|
||||
"content": "${1:${2:newValue} := ${3:Object} }clone do(\n\t$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\t${2:body}\n)$0",
|
||||
"keyEquivalent": "@(",
|
||||
"name": "Indented Bracketed Line",
|
||||
"scope": "io",
|
||||
"tabTrigger": "("
|
||||
},
|
||||
{
|
||||
"content": "\n\t$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\t$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\t$0\n)",
|
||||
"name": "Object clone do",
|
||||
"scope": "io",
|
||||
"tabTrigger": "ocdo"
|
||||
},
|
||||
{
|
||||
"content": "test${1:SomeFeature} := method(\n\t$0\n)",
|
||||
"name": "testMethod",
|
||||
"scope": "io",
|
||||
"tabTrigger": "ts"
|
||||
},
|
||||
{
|
||||
"content": "${1:Something}Test := ${2:UnitTest} clone do(\n\t$0\n)",
|
||||
"name": "UnitTest",
|
||||
"scope": "io",
|
||||
"tabTrigger": "ut"
|
||||
}
|
||||
];
|
||||
exports.scope = "io";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/io"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/jack.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/jack.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/jack"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/jade.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/jade.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/jade"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
254
BinaryDad.Coding/wwwroot/js/ace/snippets/java.js
Normal file
254
BinaryDad.Coding/wwwroot/js/ace/snippets/java.js
Normal file
@ -0,0 +1,254 @@
|
||||
define("ace/snippets/java",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "## Access Modifiers\n\
|
||||
snippet po\n\
|
||||
protected\n\
|
||||
snippet pu\n\
|
||||
public\n\
|
||||
snippet pr\n\
|
||||
private\n\
|
||||
##\n\
|
||||
## Annotations\n\
|
||||
snippet before\n\
|
||||
@Before\n\
|
||||
static void ${1:intercept}(${2:args}) { ${3} }\n\
|
||||
snippet mm\n\
|
||||
@ManyToMany\n\
|
||||
${1}\n\
|
||||
snippet mo\n\
|
||||
@ManyToOne\n\
|
||||
${1}\n\
|
||||
snippet om\n\
|
||||
@OneToMany${1:(cascade=CascadeType.ALL)}\n\
|
||||
${2}\n\
|
||||
snippet oo\n\
|
||||
@OneToOne\n\
|
||||
${1}\n\
|
||||
##\n\
|
||||
## Basic Java packages and import\n\
|
||||
snippet im\n\
|
||||
import\n\
|
||||
snippet j.b\n\
|
||||
java.beans.\n\
|
||||
snippet j.i\n\
|
||||
java.io.\n\
|
||||
snippet j.m\n\
|
||||
java.math.\n\
|
||||
snippet j.n\n\
|
||||
java.net.\n\
|
||||
snippet j.u\n\
|
||||
java.util.\n\
|
||||
##\n\
|
||||
## Class\n\
|
||||
snippet cl\n\
|
||||
class ${1:`Filename(\"\", \"untitled\")`} ${2}\n\
|
||||
snippet in\n\
|
||||
interface ${1:`Filename(\"\", \"untitled\")`} ${2:extends Parent}${3}\n\
|
||||
snippet tc\n\
|
||||
public class ${1:`Filename()`} extends ${2:TestCase}\n\
|
||||
##\n\
|
||||
## Class Enhancements\n\
|
||||
snippet ext\n\
|
||||
extends \n\
|
||||
snippet imp\n\
|
||||
implements\n\
|
||||
##\n\
|
||||
## Comments\n\
|
||||
snippet /*\n\
|
||||
/*\n\
|
||||
* ${1}\n\
|
||||
*/\n\
|
||||
##\n\
|
||||
## Constants\n\
|
||||
snippet co\n\
|
||||
static public final ${1:String} ${2:var} = ${3};${4}\n\
|
||||
snippet cos\n\
|
||||
static public final String ${1:var} = \"${2}\";${3}\n\
|
||||
##\n\
|
||||
## Control Statements\n\
|
||||
snippet case\n\
|
||||
case ${1}:\n\
|
||||
${2}\n\
|
||||
snippet def\n\
|
||||
default:\n\
|
||||
${2}\n\
|
||||
snippet el\n\
|
||||
else\n\
|
||||
snippet elif\n\
|
||||
else if (${1}) ${2}\n\
|
||||
snippet if\n\
|
||||
if (${1}) ${2}\n\
|
||||
snippet sw\n\
|
||||
switch (${1}) {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Create a Method\n\
|
||||
snippet m\n\
|
||||
${1:void} ${2:method}(${3}) ${4:throws }${5}\n\
|
||||
##\n\
|
||||
## Create a Variable\n\
|
||||
snippet v\n\
|
||||
${1:String} ${2:var}${3: = null}${4};${5}\n\
|
||||
##\n\
|
||||
## Enhancements to Methods, variables, classes, etc.\n\
|
||||
snippet ab\n\
|
||||
abstract\n\
|
||||
snippet fi\n\
|
||||
final\n\
|
||||
snippet st\n\
|
||||
static\n\
|
||||
snippet sy\n\
|
||||
synchronized\n\
|
||||
##\n\
|
||||
## Error Methods\n\
|
||||
snippet err\n\
|
||||
System.err.print(\"${1:Message}\");\n\
|
||||
snippet errf\n\
|
||||
System.err.printf(\"${1:Message}\", ${2:exception});\n\
|
||||
snippet errln\n\
|
||||
System.err.println(\"${1:Message}\");\n\
|
||||
##\n\
|
||||
## Exception Handling\n\
|
||||
snippet as\n\
|
||||
assert ${1:test} : \"${2:Failure message}\";${3}\n\
|
||||
snippet ca\n\
|
||||
catch(${1:Exception} ${2:e}) ${3}\n\
|
||||
snippet thr\n\
|
||||
throw\n\
|
||||
snippet ths\n\
|
||||
throws\n\
|
||||
snippet try\n\
|
||||
try {\n\
|
||||
${3}\n\
|
||||
} catch(${1:Exception} ${2:e}) {\n\
|
||||
}\n\
|
||||
snippet tryf\n\
|
||||
try {\n\
|
||||
${3}\n\
|
||||
} catch(${1:Exception} ${2:e}) {\n\
|
||||
} finally {\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Find Methods\n\
|
||||
snippet findall\n\
|
||||
List<${1:listName}> ${2:items} = ${1}.findAll();${3}\n\
|
||||
snippet findbyid\n\
|
||||
${1:var} ${2:item} = ${1}.findById(${3});${4}\n\
|
||||
##\n\
|
||||
## Javadocs\n\
|
||||
snippet /**\n\
|
||||
/**\n\
|
||||
* ${1}\n\
|
||||
*/\n\
|
||||
snippet @au\n\
|
||||
@author `system(\"grep \\`id -un\\` /etc/passwd | cut -d \\\":\\\" -f5 | cut -d \\\",\\\" -f1\")`\n\
|
||||
snippet @br\n\
|
||||
@brief ${1:Description}\n\
|
||||
snippet @fi\n\
|
||||
@file ${1:`Filename()`}.java\n\
|
||||
snippet @pa\n\
|
||||
@param ${1:param}\n\
|
||||
snippet @re\n\
|
||||
@return ${1:param}\n\
|
||||
##\n\
|
||||
## Logger Methods\n\
|
||||
snippet debug\n\
|
||||
Logger.debug(${1:param});${2}\n\
|
||||
snippet error\n\
|
||||
Logger.error(${1:param});${2}\n\
|
||||
snippet info\n\
|
||||
Logger.info(${1:param});${2}\n\
|
||||
snippet warn\n\
|
||||
Logger.warn(${1:param});${2}\n\
|
||||
##\n\
|
||||
## Loops\n\
|
||||
snippet enfor\n\
|
||||
for (${1} : ${2}) ${3}\n\
|
||||
snippet for\n\
|
||||
for (${1}; ${2}; ${3}) ${4}\n\
|
||||
snippet wh\n\
|
||||
while (${1}) ${2}\n\
|
||||
##\n\
|
||||
## Main method\n\
|
||||
snippet main\n\
|
||||
public static void main (String[] args) {\n\
|
||||
${1:/* code */}\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Print Methods\n\
|
||||
snippet print\n\
|
||||
System.out.print(\"${1:Message}\");\n\
|
||||
snippet printf\n\
|
||||
System.out.printf(\"${1:Message}\", ${2:args});\n\
|
||||
snippet println\n\
|
||||
System.out.println(${1});\n\
|
||||
##\n\
|
||||
## Render Methods\n\
|
||||
snippet ren\n\
|
||||
render(${1:param});${2}\n\
|
||||
snippet rena\n\
|
||||
renderArgs.put(\"${1}\", ${2});${3}\n\
|
||||
snippet renb\n\
|
||||
renderBinary(${1:param});${2}\n\
|
||||
snippet renj\n\
|
||||
renderJSON(${1:param});${2}\n\
|
||||
snippet renx\n\
|
||||
renderXml(${1:param});${2}\n\
|
||||
##\n\
|
||||
## Setter and Getter Methods\n\
|
||||
snippet set\n\
|
||||
${1:public} void set${3:}(${2:String} ${4:}){\n\
|
||||
this.$4 = $4;\n\
|
||||
}\n\
|
||||
snippet get\n\
|
||||
${1:public} ${2:String} get${3:}(){\n\
|
||||
return this.${4:};\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Terminate Methods or Loops\n\
|
||||
snippet re\n\
|
||||
return\n\
|
||||
snippet br\n\
|
||||
break;\n\
|
||||
##\n\
|
||||
## Test Methods\n\
|
||||
snippet t\n\
|
||||
public void test${1:Name}() throws Exception {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
snippet test\n\
|
||||
@Test\n\
|
||||
public void test${1:Name}() throws Exception {\n\
|
||||
${2}\n\
|
||||
}\n\
|
||||
##\n\
|
||||
## Utils\n\
|
||||
snippet Sc\n\
|
||||
Scanner\n\
|
||||
##\n\
|
||||
## Miscellaneous\n\
|
||||
snippet action\n\
|
||||
public static void ${1:index}(${2:args}) { ${3} }\n\
|
||||
snippet rnf\n\
|
||||
notFound(${1:param});${2}\n\
|
||||
snippet rnfin\n\
|
||||
notFoundIfNull(${1:param});${2}\n\
|
||||
snippet rr\n\
|
||||
redirect(${1:param});${2}\n\
|
||||
snippet ru\n\
|
||||
unauthorized(${1:param});${2}\n\
|
||||
snippet unless\n\
|
||||
(unless=${1:param});${2}\n\
|
||||
";
|
||||
exports.scope = "java";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/java"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
209
BinaryDad.Coding/wwwroot/js/ace/snippets/javascript.js
Normal file
209
BinaryDad.Coding/wwwroot/js/ace/snippets/javascript.js
Normal file
@ -0,0 +1,209 @@
|
||||
define("ace/snippets/javascript",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# Prototype\n\
|
||||
snippet proto\n\
|
||||
${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) {\n\
|
||||
${4:// body...}\n\
|
||||
};\n\
|
||||
# Function\n\
|
||||
snippet fun\n\
|
||||
function ${1?:function_name}(${2:argument}) {\n\
|
||||
${3:// body...}\n\
|
||||
}\n\
|
||||
# Anonymous Function\n\
|
||||
regex /((=)\\s*|(:)\\s*|(\\()|\\b)/f/(\\))?/\n\
|
||||
snippet f\n\
|
||||
function${M1?: ${1:functionName}}($2) {\n\
|
||||
${0:$TM_SELECTED_TEXT}\n\
|
||||
}${M2?;}${M3?,}${M4?)}\n\
|
||||
# Immediate function\n\
|
||||
trigger \\(?f\\(\n\
|
||||
endTrigger \\)?\n\
|
||||
snippet f(\n\
|
||||
(function(${1}) {\n\
|
||||
${0:${TM_SELECTED_TEXT:/* code */}}\n\
|
||||
}(${1}));\n\
|
||||
# if\n\
|
||||
snippet if\n\
|
||||
if (${1:true}) {\n\
|
||||
${0}\n\
|
||||
}\n\
|
||||
# if ... else\n\
|
||||
snippet ife\n\
|
||||
if (${1:true}) {\n\
|
||||
${2}\n\
|
||||
} else {\n\
|
||||
${0}\n\
|
||||
}\n\
|
||||
# tertiary conditional\n\
|
||||
snippet ter\n\
|
||||
${1:/* condition */} ? ${2:a} : ${3:b}\n\
|
||||
# switch\n\
|
||||
snippet switch\n\
|
||||
switch (${1:expression}) {\n\
|
||||
case '${3:case}':\n\
|
||||
${4:// code}\n\
|
||||
break;\n\
|
||||
${5}\n\
|
||||
default:\n\
|
||||
${2:// code}\n\
|
||||
}\n\
|
||||
# case\n\
|
||||
snippet case\n\
|
||||
case '${1:case}':\n\
|
||||
${2:// code}\n\
|
||||
break;\n\
|
||||
${3}\n\
|
||||
\n\
|
||||
# while (...) {...}\n\
|
||||
snippet wh\n\
|
||||
while (${1:/* condition */}) {\n\
|
||||
${0:/* code */}\n\
|
||||
}\n\
|
||||
# try\n\
|
||||
snippet try\n\
|
||||
try {\n\
|
||||
${0:/* code */}\n\
|
||||
} catch (e) {}\n\
|
||||
# do...while\n\
|
||||
snippet do\n\
|
||||
do {\n\
|
||||
${2:/* code */}\n\
|
||||
} while (${1:/* condition */});\n\
|
||||
# Object Method\n\
|
||||
snippet :f\n\
|
||||
regex /([,{[])|^\\s*/:f/\n\
|
||||
${1:method_name}: function(${2:attribute}) {\n\
|
||||
${0}\n\
|
||||
}${3:,}\n\
|
||||
# setTimeout function\n\
|
||||
snippet setTimeout\n\
|
||||
regex /\\b/st|timeout|setTimeo?u?t?/\n\
|
||||
setTimeout(function() {${3:$TM_SELECTED_TEXT}}, ${1:10});\n\
|
||||
# Get Elements\n\
|
||||
snippet gett\n\
|
||||
getElementsBy${1:TagName}('${2}')${3}\n\
|
||||
# Get Element\n\
|
||||
snippet get\n\
|
||||
getElementBy${1:Id}('${2}')${3}\n\
|
||||
# console.log (Firebug)\n\
|
||||
snippet cl\n\
|
||||
console.log(${1});\n\
|
||||
# return\n\
|
||||
snippet ret\n\
|
||||
return ${1:result}\n\
|
||||
# for (property in object ) { ... }\n\
|
||||
snippet fori\n\
|
||||
for (var ${1:prop} in ${2:Things}) {\n\
|
||||
${0:$2[$1]}\n\
|
||||
}\n\
|
||||
# hasOwnProperty\n\
|
||||
snippet has\n\
|
||||
hasOwnProperty(${1})\n\
|
||||
# docstring\n\
|
||||
snippet /**\n\
|
||||
/**\n\
|
||||
* ${1:description}\n\
|
||||
*\n\
|
||||
*/\n\
|
||||
snippet @par\n\
|
||||
regex /^\\s*\\*\\s*/@(para?m?)?/\n\
|
||||
@param {${1:type}} ${2:name} ${3:description}\n\
|
||||
snippet @ret\n\
|
||||
@return {${1:type}} ${2:description}\n\
|
||||
# JSON.parse\n\
|
||||
snippet jsonp\n\
|
||||
JSON.parse(${1:jstr});\n\
|
||||
# JSON.stringify\n\
|
||||
snippet jsons\n\
|
||||
JSON.stringify(${1:object});\n\
|
||||
# self-defining function\n\
|
||||
snippet sdf\n\
|
||||
var ${1:function_name} = function(${2:argument}) {\n\
|
||||
${3:// initial code ...}\n\
|
||||
\n\
|
||||
$1 = function($2) {\n\
|
||||
${4:// main code}\n\
|
||||
};\n\
|
||||
}\n\
|
||||
# singleton\n\
|
||||
snippet sing\n\
|
||||
function ${1:Singleton} (${2:argument}) {\n\
|
||||
// the cached instance\n\
|
||||
var instance;\n\
|
||||
\n\
|
||||
// rewrite the constructor\n\
|
||||
$1 = function $1($2) {\n\
|
||||
return instance;\n\
|
||||
};\n\
|
||||
\n\
|
||||
// carry over the prototype properties\n\
|
||||
$1.prototype = this;\n\
|
||||
\n\
|
||||
// the instance\n\
|
||||
instance = new $1();\n\
|
||||
\n\
|
||||
// reset the constructor pointer\n\
|
||||
instance.constructor = $1;\n\
|
||||
\n\
|
||||
${3:// code ...}\n\
|
||||
\n\
|
||||
return instance;\n\
|
||||
}\n\
|
||||
# class\n\
|
||||
snippet class\n\
|
||||
regex /^\\s*/clas{0,2}/\n\
|
||||
var ${1:class} = function(${20}) {\n\
|
||||
$40$0\n\
|
||||
};\n\
|
||||
\n\
|
||||
(function() {\n\
|
||||
${60:this.prop = \"\"}\n\
|
||||
}).call(${1:class}.prototype);\n\
|
||||
\n\
|
||||
exports.${1:class} = ${1:class};\n\
|
||||
# \n\
|
||||
snippet for-\n\
|
||||
for (var ${1:i} = ${2:Things}.length; ${1:i}--; ) {\n\
|
||||
${0:${2:Things}[${1:i}];}\n\
|
||||
}\n\
|
||||
# for (...) {...}\n\
|
||||
snippet for\n\
|
||||
for (var ${1:i} = 0; $1 < ${2:Things}.length; $1++) {\n\
|
||||
${3:$2[$1]}$0\n\
|
||||
}\n\
|
||||
# for (...) {...} (Improved Native For-Loop)\n\
|
||||
snippet forr\n\
|
||||
for (var ${1:i} = ${2:Things}.length - 1; $1 >= 0; $1--) {\n\
|
||||
${3:$2[$1]}$0\n\
|
||||
}\n\
|
||||
\n\
|
||||
\n\
|
||||
#modules\n\
|
||||
snippet def\n\
|
||||
define(function(require, exports, module) {\n\
|
||||
\"use strict\";\n\
|
||||
var ${1/.*\\///} = require(\"${1}\");\n\
|
||||
\n\
|
||||
$TM_SELECTED_TEXT\n\
|
||||
});\n\
|
||||
snippet req\n\
|
||||
guard ^\\s*\n\
|
||||
var ${1/.*\\///} = require(\"${1}\");\n\
|
||||
$0\n\
|
||||
snippet requ\n\
|
||||
guard ^\\s*\n\
|
||||
var ${1/.*\\/(.)/\\u$1/} = require(\"${1}\").${1/.*\\/(.)/\\u$1/};\n\
|
||||
$0\n\
|
||||
";
|
||||
exports.scope = "javascript";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/javascript"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/json.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/json.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/json"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/json5.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/json5.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/json5"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
75
BinaryDad.Coding/wwwroot/js/ace/snippets/jsoniq.js
Normal file
75
BinaryDad.Coding/wwwroot/js/ace/snippets/jsoniq.js
Normal file
@ -0,0 +1,75 @@
|
||||
define("ace/snippets/jsoniq",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet for\n\
|
||||
for $${1:item} in ${2:expr}\n\
|
||||
snippet return\n\
|
||||
return ${1:expr}\n\
|
||||
snippet import\n\
|
||||
import module namespace ${1:ns} = \"${2:http://www.example.com/}\";\n\
|
||||
snippet some\n\
|
||||
some $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
|
||||
snippet every\n\
|
||||
every $${1:varname} in ${2:expr} satisfies ${3:expr}\n\
|
||||
snippet if\n\
|
||||
if(${1:true}) then ${2:expr} else ${3:true}\n\
|
||||
snippet switch\n\
|
||||
switch(${1:\"foo\"})\n\
|
||||
case ${2:\"foo\"}\n\
|
||||
return ${3:true}\n\
|
||||
default return ${4:false}\n\
|
||||
snippet try\n\
|
||||
try { ${1:expr} } catch ${2:*} { ${3:expr} }\n\
|
||||
snippet tumbling\n\
|
||||
for tumbling window $${1:varname} in ${2:expr}\n\
|
||||
start at $${3:start} when ${4:expr}\n\
|
||||
end at $${5:end} when ${6:expr}\n\
|
||||
return ${7:expr}\n\
|
||||
snippet sliding\n\
|
||||
for sliding window $${1:varname} in ${2:expr}\n\
|
||||
start at $${3:start} when ${4:expr}\n\
|
||||
end at $${5:end} when ${6:expr}\n\
|
||||
return ${7:expr}\n\
|
||||
snippet let\n\
|
||||
let $${1:varname} := ${2:expr}\n\
|
||||
snippet group\n\
|
||||
group by $${1:varname} := ${2:expr}\n\
|
||||
snippet order\n\
|
||||
order by ${1:expr} ${2:descending}\n\
|
||||
snippet stable\n\
|
||||
stable order by ${1:expr}\n\
|
||||
snippet count\n\
|
||||
count $${1:varname}\n\
|
||||
snippet ordered\n\
|
||||
ordered { ${1:expr} }\n\
|
||||
snippet unordered\n\
|
||||
unordered { ${1:expr} }\n\
|
||||
snippet treat \n\
|
||||
treat as ${1:expr}\n\
|
||||
snippet castable\n\
|
||||
castable as ${1:atomicType}\n\
|
||||
snippet cast\n\
|
||||
cast as ${1:atomicType}\n\
|
||||
snippet typeswitch\n\
|
||||
typeswitch(${1:expr})\n\
|
||||
case ${2:type} return ${3:expr}\n\
|
||||
default return ${4:expr}\n\
|
||||
snippet var\n\
|
||||
declare variable $${1:varname} := ${2:expr};\n\
|
||||
snippet fn\n\
|
||||
declare function ${1:ns}:${2:name}(){\n\
|
||||
${3:expr}\n\
|
||||
};\n\
|
||||
snippet module\n\
|
||||
module namespace ${1:ns} = \"${2:http://www.example.com}\";\n\
|
||||
";
|
||||
exports.scope = "jsoniq";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/jsoniq"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
113
BinaryDad.Coding/wwwroot/js/ace/snippets/jsp.js
Normal file
113
BinaryDad.Coding/wwwroot/js/ace/snippets/jsp.js
Normal file
@ -0,0 +1,113 @@
|
||||
define("ace/snippets/jsp",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet @page\n\
|
||||
<%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n\
|
||||
snippet jstl\n\
|
||||
<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n\
|
||||
<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\
|
||||
snippet jstl:c\n\
|
||||
<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n\
|
||||
snippet jstl:fn\n\
|
||||
<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\
|
||||
snippet cpath\n\
|
||||
${pageContext.request.contextPath}\n\
|
||||
snippet cout\n\
|
||||
<c:out value=\"${1}\" default=\"${2}\" />\n\
|
||||
snippet cset\n\
|
||||
<c:set var=\"${1}\" value=\"${2}\" />\n\
|
||||
snippet cremove\n\
|
||||
<c:remove var=\"${1}\" scope=\"${2:page}\" />\n\
|
||||
snippet ccatch\n\
|
||||
<c:catch var=\"${1}\" />\n\
|
||||
snippet cif\n\
|
||||
<c:if test=\"${${1}}\">\n\
|
||||
${2}\n\
|
||||
</c:if>\n\
|
||||
snippet cchoose\n\
|
||||
<c:choose>\n\
|
||||
${1}\n\
|
||||
</c:choose>\n\
|
||||
snippet cwhen\n\
|
||||
<c:when test=\"${${1}}\">\n\
|
||||
${2}\n\
|
||||
</c:when>\n\
|
||||
snippet cother\n\
|
||||
<c:otherwise>\n\
|
||||
${1}\n\
|
||||
</c:otherwise>\n\
|
||||
snippet cfore\n\
|
||||
<c:forEach items=\"${${1}}\" var=\"${2}\" varStatus=\"${3}\">\n\
|
||||
${4:<c:out value=\"$2\" />}\n\
|
||||
</c:forEach>\n\
|
||||
snippet cfort\n\
|
||||
<c:set var=\"${1}\">${2:item1,item2,item3}</c:set>\n\
|
||||
<c:forTokens var=\"${3}\" items=\"${$1}\" delims=\"${4:,}\">\n\
|
||||
${5:<c:out value=\"$3\" />}\n\
|
||||
</c:forTokens>\n\
|
||||
snippet cparam\n\
|
||||
<c:param name=\"${1}\" value=\"${2}\" />\n\
|
||||
snippet cparam+\n\
|
||||
<c:param name=\"${1}\" value=\"${2}\" />\n\
|
||||
cparam+${3}\n\
|
||||
snippet cimport\n\
|
||||
<c:import url=\"${1}\" />\n\
|
||||
snippet cimport+\n\
|
||||
<c:import url=\"${1}\">\n\
|
||||
<c:param name=\"${2}\" value=\"${3}\" />\n\
|
||||
cparam+${4}\n\
|
||||
</c:import>\n\
|
||||
snippet curl\n\
|
||||
<c:url value=\"${1}\" var=\"${2}\" />\n\
|
||||
<a href=\"${$2}\">${3}</a>\n\
|
||||
snippet curl+\n\
|
||||
<c:url value=\"${1}\" var=\"${2}\">\n\
|
||||
<c:param name=\"${4}\" value=\"${5}\" />\n\
|
||||
cparam+${6}\n\
|
||||
</c:url>\n\
|
||||
<a href=\"${$2}\">${3}</a>\n\
|
||||
snippet credirect\n\
|
||||
<c:redirect url=\"${1}\" />\n\
|
||||
snippet contains\n\
|
||||
${fn:contains(${1:string}, ${2:substr})}\n\
|
||||
snippet contains:i\n\
|
||||
${fn:containsIgnoreCase(${1:string}, ${2:substr})}\n\
|
||||
snippet endswith\n\
|
||||
${fn:endsWith(${1:string}, ${2:suffix})}\n\
|
||||
snippet escape\n\
|
||||
${fn:escapeXml(${1:string})}\n\
|
||||
snippet indexof\n\
|
||||
${fn:indexOf(${1:string}, ${2:substr})}\n\
|
||||
snippet join\n\
|
||||
${fn:join(${1:collection}, ${2:delims})}\n\
|
||||
snippet length\n\
|
||||
${fn:length(${1:collection_or_string})}\n\
|
||||
snippet replace\n\
|
||||
${fn:replace(${1:string}, ${2:substr}, ${3:replace})}\n\
|
||||
snippet split\n\
|
||||
${fn:split(${1:string}, ${2:delims})}\n\
|
||||
snippet startswith\n\
|
||||
${fn:startsWith(${1:string}, ${2:prefix})}\n\
|
||||
snippet substr\n\
|
||||
${fn:substring(${1:string}, ${2:begin}, ${3:end})}\n\
|
||||
snippet substr:a\n\
|
||||
${fn:substringAfter(${1:string}, ${2:substr})}\n\
|
||||
snippet substr:b\n\
|
||||
${fn:substringBefore(${1:string}, ${2:substr})}\n\
|
||||
snippet lc\n\
|
||||
${fn:toLowerCase(${1:string})}\n\
|
||||
snippet uc\n\
|
||||
${fn:toUpperCase(${1:string})}\n\
|
||||
snippet trim\n\
|
||||
${fn:trim(${1:string})}\n\
|
||||
";
|
||||
exports.scope = "jsp";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/jsp"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/jssm.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/jssm.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/jssm"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/jsx.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/jsx.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/jsx"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/julia.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/julia.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/julia"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/kotlin.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/kotlin.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/kotlin"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/latex.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/latex.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/latex"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/less.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/less.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/less"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
895
BinaryDad.Coding/wwwroot/js/ace/snippets/liquid.js
Normal file
895
BinaryDad.Coding/wwwroot/js/ace/snippets/liquid.js
Normal file
@ -0,0 +1,895 @@
|
||||
define("ace/snippets/liquid",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "\n\
|
||||
# liquid specific snippets\n\
|
||||
snippet ife\n\
|
||||
{% if ${1:condition} %}\n\
|
||||
\n\
|
||||
{% else %}\n\
|
||||
\n\
|
||||
{% endif %}\n\
|
||||
snippet if\n\
|
||||
{% if ${1:condition} %}\n\
|
||||
\n\
|
||||
{% endif %}\n\
|
||||
snippet for\n\
|
||||
{% for in ${1:iterator} %}\n\
|
||||
\n\
|
||||
{% endfor %}\n\
|
||||
snippet capture\n\
|
||||
{% capture ${1} %}\n\
|
||||
\n\
|
||||
{% endcapture %}\n\
|
||||
snippet comment\n\
|
||||
{% comment %}\n\
|
||||
${1:comment}\n\
|
||||
{% endcomment %}\n\
|
||||
\n\
|
||||
# Include html.snippets\n\
|
||||
# Some useful Unicode entities\n\
|
||||
# Non-Breaking Space\n\
|
||||
snippet nbs\n\
|
||||
\n\
|
||||
# ←\n\
|
||||
snippet left\n\
|
||||
←\n\
|
||||
# →\n\
|
||||
snippet right\n\
|
||||
→\n\
|
||||
# ↑\n\
|
||||
snippet up\n\
|
||||
↑\n\
|
||||
# ↓\n\
|
||||
snippet down\n\
|
||||
↓\n\
|
||||
# ↩\n\
|
||||
snippet return\n\
|
||||
↩\n\
|
||||
# ⇤\n\
|
||||
snippet backtab\n\
|
||||
⇤\n\
|
||||
# ⇥\n\
|
||||
snippet tab\n\
|
||||
⇥\n\
|
||||
# ⇧\n\
|
||||
snippet shift\n\
|
||||
⇧\n\
|
||||
# ⌃\n\
|
||||
snippet ctrl\n\
|
||||
⌃\n\
|
||||
# ⌅\n\
|
||||
snippet enter\n\
|
||||
⌅\n\
|
||||
# ⌘\n\
|
||||
snippet cmd\n\
|
||||
⌘\n\
|
||||
# ⌥\n\
|
||||
snippet option\n\
|
||||
⌥\n\
|
||||
# ⌦\n\
|
||||
snippet delete\n\
|
||||
⌦\n\
|
||||
# ⌫\n\
|
||||
snippet backspace\n\
|
||||
⌫\n\
|
||||
# ⎋\n\
|
||||
snippet esc\n\
|
||||
⎋\n\
|
||||
# Generic Doctype\n\
|
||||
snippet doctype HTML 4.01 Strict\n\
|
||||
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n\
|
||||
\"http://www.w3.org/TR/html4/strict.dtd\">\n\
|
||||
snippet doctype HTML 4.01 Transitional\n\
|
||||
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n\
|
||||
\"http://www.w3.org/TR/html4/loose.dtd\">\n\
|
||||
snippet doctype HTML 5\n\
|
||||
<!DOCTYPE HTML>\n\
|
||||
snippet doctype XHTML 1.0 Frameset\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n\
|
||||
snippet doctype XHTML 1.0 Strict\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n\
|
||||
snippet doctype XHTML 1.0 Transitional\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\
|
||||
snippet doctype XHTML 1.1\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\
|
||||
# HTML Doctype 4.01 Strict\n\
|
||||
snippet docts\n\
|
||||
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n\
|
||||
\"http://www.w3.org/TR/html4/strict.dtd\">\n\
|
||||
# HTML Doctype 4.01 Transitional\n\
|
||||
snippet doct\n\
|
||||
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n\
|
||||
\"http://www.w3.org/TR/html4/loose.dtd\">\n\
|
||||
# HTML Doctype 5\n\
|
||||
snippet doct5\n\
|
||||
<!DOCTYPE html>\n\
|
||||
# XHTML Doctype 1.0 Frameset\n\
|
||||
snippet docxf\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">\n\
|
||||
# XHTML Doctype 1.0 Strict\n\
|
||||
snippet docxs\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n\
|
||||
# XHTML Doctype 1.0 Transitional\n\
|
||||
snippet docxt\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\
|
||||
# XHTML Doctype 1.1\n\
|
||||
snippet docx\n\
|
||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\n\
|
||||
\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n\
|
||||
# html5shiv\n\
|
||||
snippet html5shiv\n\
|
||||
<!--[if lte IE 8]>\n\
|
||||
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js\"></script>\n\
|
||||
<![endif]-->\n\
|
||||
snippet html5printshiv\n\
|
||||
<!--[if lte IE 8]>\n\
|
||||
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js\"></script>\n\
|
||||
<![endif]-->\n\
|
||||
# Attributes\n\
|
||||
snippet attr\n\
|
||||
${1:attribute}=\"${2:property}\"\n\
|
||||
snippet attr+\n\
|
||||
${1:attribute}=\"${2:property}\" attr+${3}\n\
|
||||
snippet .\n\
|
||||
class=\"${1}\"${2}\n\
|
||||
snippet #\n\
|
||||
id=\"${1}\"${2}\n\
|
||||
snippet alt\n\
|
||||
alt=\"${1}\"${2}\n\
|
||||
snippet charset\n\
|
||||
charset=\"${1:utf-8}\"${2}\n\
|
||||
snippet data\n\
|
||||
data-${1}=\"${2:$1}\"${3}\n\
|
||||
snippet for\n\
|
||||
for=\"${1}\"${2}\n\
|
||||
snippet height\n\
|
||||
height=\"${1}\"${2}\n\
|
||||
snippet href\n\
|
||||
href=\"${1:#}\"${2}\n\
|
||||
snippet lang\n\
|
||||
lang=\"${1:en}\"${2}\n\
|
||||
snippet media\n\
|
||||
media=\"${1}\"${2}\n\
|
||||
snippet name\n\
|
||||
name=\"${1}\"${2}\n\
|
||||
snippet rel\n\
|
||||
rel=\"${1}\"${2}\n\
|
||||
snippet scope\n\
|
||||
scope=\"${1:row}\"${2}\n\
|
||||
snippet src\n\
|
||||
src=\"${1}\"${2}\n\
|
||||
snippet title=\n\
|
||||
title=\"${1}\"${2}\n\
|
||||
snippet type\n\
|
||||
type=\"${1}\"${2}\n\
|
||||
snippet value\n\
|
||||
value=\"${1}\"${2}\n\
|
||||
snippet width\n\
|
||||
width=\"${1}\"${2}\n\
|
||||
# Elements\n\
|
||||
snippet a\n\
|
||||
<a href=\"${1:#}\">${2:$1}</a>\n\
|
||||
snippet a.\n\
|
||||
<a class=\"${1}\" href=\"${2:#}\">${3:$1}</a>\n\
|
||||
snippet a#\n\
|
||||
<a id=\"${1}\" href=\"${2:#}\">${3:$1}</a>\n\
|
||||
snippet a:ext\n\
|
||||
<a href=\"http://${1:example.com}\">${2:$1}</a>\n\
|
||||
snippet a:mail\n\
|
||||
<a href=\"mailto:${1:joe@example.com}?subject=${2:feedback}\">${3:email me}</a>\n\
|
||||
snippet abbr\n\
|
||||
<abbr title=\"${1}\">${2}</abbr>\n\
|
||||
snippet address\n\
|
||||
<address>\n\
|
||||
${1}\n\
|
||||
</address>\n\
|
||||
snippet area\n\
|
||||
<area shape=\"${1:rect}\" coords=\"${2}\" href=\"${3}\" alt=\"${4}\" />\n\
|
||||
snippet area+\n\
|
||||
<area shape=\"${1:rect}\" coords=\"${2}\" href=\"${3}\" alt=\"${4}\" />\n\
|
||||
area+${5}\n\
|
||||
snippet area:c\n\
|
||||
<area shape=\"circle\" coords=\"${1}\" href=\"${2}\" alt=\"${3}\" />\n\
|
||||
snippet area:d\n\
|
||||
<area shape=\"default\" coords=\"${1}\" href=\"${2}\" alt=\"${3}\" />\n\
|
||||
snippet area:p\n\
|
||||
<area shape=\"poly\" coords=\"${1}\" href=\"${2}\" alt=\"${3}\" />\n\
|
||||
snippet area:r\n\
|
||||
<area shape=\"rect\" coords=\"${1}\" href=\"${2}\" alt=\"${3}\" />\n\
|
||||
snippet article\n\
|
||||
<article>\n\
|
||||
${1}\n\
|
||||
</article>\n\
|
||||
snippet article.\n\
|
||||
<article class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</article>\n\
|
||||
snippet article#\n\
|
||||
<article id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</article>\n\
|
||||
snippet aside\n\
|
||||
<aside>\n\
|
||||
${1}\n\
|
||||
</aside>\n\
|
||||
snippet aside.\n\
|
||||
<aside class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</aside>\n\
|
||||
snippet aside#\n\
|
||||
<aside id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</aside>\n\
|
||||
snippet audio\n\
|
||||
<audio src=\"${1}>${2}</audio>\n\
|
||||
snippet b\n\
|
||||
<b>${1}</b>\n\
|
||||
snippet base\n\
|
||||
<base href=\"${1}\" target=\"${2}\" />\n\
|
||||
snippet bdi\n\
|
||||
<bdi>${1}</bdo>\n\
|
||||
snippet bdo\n\
|
||||
<bdo dir=\"${1}\">${2}</bdo>\n\
|
||||
snippet bdo:l\n\
|
||||
<bdo dir=\"ltr\">${1}</bdo>\n\
|
||||
snippet bdo:r\n\
|
||||
<bdo dir=\"rtl\">${1}</bdo>\n\
|
||||
snippet blockquote\n\
|
||||
<blockquote>\n\
|
||||
${1}\n\
|
||||
</blockquote>\n\
|
||||
snippet body\n\
|
||||
<body>\n\
|
||||
${1}\n\
|
||||
</body>\n\
|
||||
snippet br\n\
|
||||
<br />${1}\n\
|
||||
snippet button\n\
|
||||
<button type=\"${1:submit}\">${2}</button>\n\
|
||||
snippet button.\n\
|
||||
<button class=\"${1:button}\" type=\"${2:submit}\">${3}</button>\n\
|
||||
snippet button#\n\
|
||||
<button id=\"${1}\" type=\"${2:submit}\">${3}</button>\n\
|
||||
snippet button:s\n\
|
||||
<button type=\"submit\">${1}</button>\n\
|
||||
snippet button:r\n\
|
||||
<button type=\"reset\">${1}</button>\n\
|
||||
snippet canvas\n\
|
||||
<canvas>\n\
|
||||
${1}\n\
|
||||
</canvas>\n\
|
||||
snippet caption\n\
|
||||
<caption>${1}</caption>\n\
|
||||
snippet cite\n\
|
||||
<cite>${1}</cite>\n\
|
||||
snippet code\n\
|
||||
<code>${1}</code>\n\
|
||||
snippet col\n\
|
||||
<col />${1}\n\
|
||||
snippet col+\n\
|
||||
<col />\n\
|
||||
col+${1}\n\
|
||||
snippet colgroup\n\
|
||||
<colgroup>\n\
|
||||
${1}\n\
|
||||
</colgroup>\n\
|
||||
snippet colgroup+\n\
|
||||
<colgroup>\n\
|
||||
<col />\n\
|
||||
col+${1}\n\
|
||||
</colgroup>\n\
|
||||
snippet command\n\
|
||||
<command type=\"command\" label=\"${1}\" icon=\"${2}\" />\n\
|
||||
snippet command:c\n\
|
||||
<command type=\"checkbox\" label=\"${1}\" icon=\"${2}\" />\n\
|
||||
snippet command:r\n\
|
||||
<command type=\"radio\" radiogroup=\"${1}\" label=\"${2}\" icon=\"${3}\" />\n\
|
||||
snippet datagrid\n\
|
||||
<datagrid>\n\
|
||||
${1}\n\
|
||||
</datagrid>\n\
|
||||
snippet datalist\n\
|
||||
<datalist>\n\
|
||||
${1}\n\
|
||||
</datalist>\n\
|
||||
snippet datatemplate\n\
|
||||
<datatemplate>\n\
|
||||
${1}\n\
|
||||
</datatemplate>\n\
|
||||
snippet dd\n\
|
||||
<dd>${1}</dd>\n\
|
||||
snippet dd.\n\
|
||||
<dd class=\"${1}\">${2}</dd>\n\
|
||||
snippet dd#\n\
|
||||
<dd id=\"${1}\">${2}</dd>\n\
|
||||
snippet del\n\
|
||||
<del>${1}</del>\n\
|
||||
snippet details\n\
|
||||
<details>${1}</details>\n\
|
||||
snippet dfn\n\
|
||||
<dfn>${1}</dfn>\n\
|
||||
snippet dialog\n\
|
||||
<dialog>\n\
|
||||
${1}\n\
|
||||
</dialog>\n\
|
||||
snippet div\n\
|
||||
<div>\n\
|
||||
${1}\n\
|
||||
</div>\n\
|
||||
snippet div.\n\
|
||||
<div class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</div>\n\
|
||||
snippet div#\n\
|
||||
<div id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</div>\n\
|
||||
snippet dl\n\
|
||||
<dl>\n\
|
||||
${1}\n\
|
||||
</dl>\n\
|
||||
snippet dl.\n\
|
||||
<dl class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</dl>\n\
|
||||
snippet dl#\n\
|
||||
<dl id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</dl>\n\
|
||||
snippet dl+\n\
|
||||
<dl>\n\
|
||||
<dt>${1}</dt>\n\
|
||||
<dd>${2}</dd>\n\
|
||||
dt+${3}\n\
|
||||
</dl>\n\
|
||||
snippet dt\n\
|
||||
<dt>${1}</dt>\n\
|
||||
snippet dt.\n\
|
||||
<dt class=\"${1}\">${2}</dt>\n\
|
||||
snippet dt#\n\
|
||||
<dt id=\"${1}\">${2}</dt>\n\
|
||||
snippet dt+\n\
|
||||
<dt>${1}</dt>\n\
|
||||
<dd>${2}</dd>\n\
|
||||
dt+${3}\n\
|
||||
snippet em\n\
|
||||
<em>${1}</em>\n\
|
||||
snippet embed\n\
|
||||
<embed src=${1} type=\"${2} />\n\
|
||||
snippet fieldset\n\
|
||||
<fieldset>\n\
|
||||
${1}\n\
|
||||
</fieldset>\n\
|
||||
snippet fieldset.\n\
|
||||
<fieldset class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</fieldset>\n\
|
||||
snippet fieldset#\n\
|
||||
<fieldset id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</fieldset>\n\
|
||||
snippet fieldset+\n\
|
||||
<fieldset>\n\
|
||||
<legend><span>${1}</span></legend>\n\
|
||||
${2}\n\
|
||||
</fieldset>\n\
|
||||
fieldset+${3}\n\
|
||||
snippet figcaption\n\
|
||||
<figcaption>${1}</figcaption>\n\
|
||||
snippet figure\n\
|
||||
<figure>${1}</figure>\n\
|
||||
snippet footer\n\
|
||||
<footer>\n\
|
||||
${1}\n\
|
||||
</footer>\n\
|
||||
snippet footer.\n\
|
||||
<footer class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</footer>\n\
|
||||
snippet footer#\n\
|
||||
<footer id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</footer>\n\
|
||||
snippet form\n\
|
||||
<form action=\"${1}\" method=\"${2:get}\" accept-charset=\"utf-8\">\n\
|
||||
${3}\n\
|
||||
</form>\n\
|
||||
snippet form.\n\
|
||||
<form class=\"${1}\" action=\"${2}\" method=\"${3:get}\" accept-charset=\"utf-8\">\n\
|
||||
${4}\n\
|
||||
</form>\n\
|
||||
snippet form#\n\
|
||||
<form id=\"${1}\" action=\"${2}\" method=\"${3:get}\" accept-charset=\"utf-8\">\n\
|
||||
${4}\n\
|
||||
</form>\n\
|
||||
snippet h1\n\
|
||||
<h1>${1}</h1>\n\
|
||||
snippet h1.\n\
|
||||
<h1 class=\"${1}\">${2}</h1>\n\
|
||||
snippet h1#\n\
|
||||
<h1 id=\"${1}\">${2}</h1>\n\
|
||||
snippet h2\n\
|
||||
<h2>${1}</h2>\n\
|
||||
snippet h2.\n\
|
||||
<h2 class=\"${1}\">${2}</h2>\n\
|
||||
snippet h2#\n\
|
||||
<h2 id=\"${1}\">${2}</h2>\n\
|
||||
snippet h3\n\
|
||||
<h3>${1}</h3>\n\
|
||||
snippet h3.\n\
|
||||
<h3 class=\"${1}\">${2}</h3>\n\
|
||||
snippet h3#\n\
|
||||
<h3 id=\"${1}\">${2}</h3>\n\
|
||||
snippet h4\n\
|
||||
<h4>${1}</h4>\n\
|
||||
snippet h4.\n\
|
||||
<h4 class=\"${1}\">${2}</h4>\n\
|
||||
snippet h4#\n\
|
||||
<h4 id=\"${1}\">${2}</h4>\n\
|
||||
snippet h5\n\
|
||||
<h5>${1}</h5>\n\
|
||||
snippet h5.\n\
|
||||
<h5 class=\"${1}\">${2}</h5>\n\
|
||||
snippet h5#\n\
|
||||
<h5 id=\"${1}\">${2}</h5>\n\
|
||||
snippet h6\n\
|
||||
<h6>${1}</h6>\n\
|
||||
snippet h6.\n\
|
||||
<h6 class=\"${1}\">${2}</h6>\n\
|
||||
snippet h6#\n\
|
||||
<h6 id=\"${1}\">${2}</h6>\n\
|
||||
snippet head\n\
|
||||
<head>\n\
|
||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n\
|
||||
\n\
|
||||
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}</title>\n\
|
||||
${2}\n\
|
||||
</head>\n\
|
||||
snippet header\n\
|
||||
<header>\n\
|
||||
${1}\n\
|
||||
</header>\n\
|
||||
snippet header.\n\
|
||||
<header class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</header>\n\
|
||||
snippet header#\n\
|
||||
<header id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</header>\n\
|
||||
snippet hgroup\n\
|
||||
<hgroup>\n\
|
||||
${1}\n\
|
||||
</hgroup>\n\
|
||||
snippet hgroup.\n\
|
||||
<hgroup class=\"${1}>\n\
|
||||
${2}\n\
|
||||
</hgroup>\n\
|
||||
snippet hr\n\
|
||||
<hr />${1}\n\
|
||||
snippet html\n\
|
||||
<html>\n\
|
||||
${1}\n\
|
||||
</html>\n\
|
||||
snippet xhtml\n\
|
||||
<html xmlns=\"http://www.w3.org/1999/xhtml\">\n\
|
||||
${1}\n\
|
||||
</html>\n\
|
||||
snippet html5\n\
|
||||
<!DOCTYPE html>\n\
|
||||
<html>\n\
|
||||
<head>\n\
|
||||
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n\
|
||||
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}</title>\n\
|
||||
${2:meta}\n\
|
||||
</head>\n\
|
||||
<body>\n\
|
||||
${3:body}\n\
|
||||
</body>\n\
|
||||
</html>\n\
|
||||
snippet xhtml5\n\
|
||||
<!DOCTYPE html>\n\
|
||||
<html xmlns=\"http://www.w3.org/1999/xhtml\">\n\
|
||||
<head>\n\
|
||||
<meta http-equiv=\"content-type\" content=\"application/xhtml+xml; charset=utf-8\" />\n\
|
||||
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}</title>\n\
|
||||
${2:meta}\n\
|
||||
</head>\n\
|
||||
<body>\n\
|
||||
${3:body}\n\
|
||||
</body>\n\
|
||||
</html>\n\
|
||||
snippet i\n\
|
||||
<i>${1}</i>\n\
|
||||
snippet iframe\n\
|
||||
<iframe src=\"${1}\" frameborder=\"0\"></iframe>${2}\n\
|
||||
snippet iframe.\n\
|
||||
<iframe class=\"${1}\" src=\"${2}\" frameborder=\"0\"></iframe>${3}\n\
|
||||
snippet iframe#\n\
|
||||
<iframe id=\"${1}\" src=\"${2}\" frameborder=\"0\"></iframe>${3}\n\
|
||||
snippet img\n\
|
||||
<img src=\"${1}\" alt=\"${2}\" />${3}\n\
|
||||
snippet img.\n\
|
||||
<img class=\"${1}\" src=\"${2}\" alt=\"${3}\" />${4}\n\
|
||||
snippet img#\n\
|
||||
<img id=\"${1}\" src=\"${2}\" alt=\"${3}\" />${4}\n\
|
||||
snippet input\n\
|
||||
<input type=\"${1:text/submit/hidden/button/image}\" name=\"${2}\" id=\"${3:$2}\" value=\"${4}\" />${5}\n\
|
||||
snippet input.\n\
|
||||
<input class=\"${1}\" type=\"${2:text/submit/hidden/button/image}\" name=\"${3}\" id=\"${4:$3}\" value=\"${5}\" />${6}\n\
|
||||
snippet input:text\n\
|
||||
<input type=\"text\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:submit\n\
|
||||
<input type=\"submit\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:hidden\n\
|
||||
<input type=\"hidden\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:button\n\
|
||||
<input type=\"button\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:image\n\
|
||||
<input type=\"image\" name=\"${1}\" id=\"${2:$1}\" src=\"${3}\" alt=\"${4}\" />${5}\n\
|
||||
snippet input:checkbox\n\
|
||||
<input type=\"checkbox\" name=\"${1}\" id=\"${2:$1}\" />${3}\n\
|
||||
snippet input:radio\n\
|
||||
<input type=\"radio\" name=\"${1}\" id=\"${2:$1}\" />${3}\n\
|
||||
snippet input:color\n\
|
||||
<input type=\"color\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:date\n\
|
||||
<input type=\"date\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:datetime\n\
|
||||
<input type=\"datetime\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:datetime-local\n\
|
||||
<input type=\"datetime-local\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:email\n\
|
||||
<input type=\"email\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:file\n\
|
||||
<input type=\"file\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:month\n\
|
||||
<input type=\"month\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:number\n\
|
||||
<input type=\"number\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:password\n\
|
||||
<input type=\"password\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:range\n\
|
||||
<input type=\"range\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:reset\n\
|
||||
<input type=\"reset\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:search\n\
|
||||
<input type=\"search\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:time\n\
|
||||
<input type=\"time\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:url\n\
|
||||
<input type=\"url\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet input:week\n\
|
||||
<input type=\"week\" name=\"${1}\" id=\"${2:$1}\" value=\"${3}\" />${4}\n\
|
||||
snippet ins\n\
|
||||
<ins>${1}</ins>\n\
|
||||
snippet kbd\n\
|
||||
<kbd>${1}</kbd>\n\
|
||||
snippet keygen\n\
|
||||
<keygen>${1}</keygen>\n\
|
||||
snippet label\n\
|
||||
<label for=\"${2:$1}\">${1}</label>\n\
|
||||
snippet label:i\n\
|
||||
<label for=\"${2:$1}\">${1}</label>\n\
|
||||
<input type=\"${3:text/submit/hidden/button}\" name=\"${4:$2}\" id=\"${5:$2}\" value=\"${6}\" />${7}\n\
|
||||
snippet label:s\n\
|
||||
<label for=\"${2:$1}\">${1}</label>\n\
|
||||
<select name=\"${3:$2}\" id=\"${4:$2}\">\n\
|
||||
<option value=\"${5}\">${6:$5}</option>\n\
|
||||
</select>\n\
|
||||
snippet legend\n\
|
||||
<legend>${1}</legend>\n\
|
||||
snippet legend+\n\
|
||||
<legend><span>${1}</span></legend>\n\
|
||||
snippet li\n\
|
||||
<li>${1}</li>\n\
|
||||
snippet li.\n\
|
||||
<li class=\"${1}\">${2}</li>\n\
|
||||
snippet li+\n\
|
||||
<li>${1}</li>\n\
|
||||
li+${2}\n\
|
||||
snippet lia\n\
|
||||
<li><a href=\"${2:#}\">${1}</a></li>\n\
|
||||
snippet lia+\n\
|
||||
<li><a href=\"${2:#}\">${1}</a></li>\n\
|
||||
lia+${3}\n\
|
||||
snippet link\n\
|
||||
<link rel=\"${1}\" href=\"${2}\" title=\"${3}\" type=\"${4}\" />${5}\n\
|
||||
snippet link:atom\n\
|
||||
<link rel=\"alternate\" href=\"${1:atom.xml}\" title=\"Atom\" type=\"application/atom+xml\" />${2}\n\
|
||||
snippet link:css\n\
|
||||
<link rel=\"stylesheet\" href=\"${2:style.css}\" type=\"text/css\" media=\"${3:all}\" />${4}\n\
|
||||
snippet link:favicon\n\
|
||||
<link rel=\"shortcut icon\" href=\"${1:favicon.ico}\" type=\"image/x-icon\" />${2}\n\
|
||||
snippet link:rss\n\
|
||||
<link rel=\"alternate\" href=\"${1:rss.xml}\" title=\"RSS\" type=\"application/atom+xml\" />${2}\n\
|
||||
snippet link:touch\n\
|
||||
<link rel=\"apple-touch-icon\" href=\"${1:favicon.png}\" />${2}\n\
|
||||
snippet map\n\
|
||||
<map name=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</map>\n\
|
||||
snippet map.\n\
|
||||
<map class=\"${1}\" name=\"${2}\">\n\
|
||||
${3}\n\
|
||||
</map>\n\
|
||||
snippet map#\n\
|
||||
<map name=\"${1}\" id=\"${2:$1}>\n\
|
||||
${3}\n\
|
||||
</map>\n\
|
||||
snippet map+\n\
|
||||
<map name=\"${1}\">\n\
|
||||
<area shape=\"${2}\" coords=\"${3}\" href=\"${4}\" alt=\"${5}\" />${6}\n\
|
||||
</map>${7}\n\
|
||||
snippet mark\n\
|
||||
<mark>${1}</mark>\n\
|
||||
snippet menu\n\
|
||||
<menu>\n\
|
||||
${1}\n\
|
||||
</menu>\n\
|
||||
snippet menu:c\n\
|
||||
<menu type=\"context\">\n\
|
||||
${1}\n\
|
||||
</menu>\n\
|
||||
snippet menu:t\n\
|
||||
<menu type=\"toolbar\">\n\
|
||||
${1}\n\
|
||||
</menu>\n\
|
||||
snippet meta\n\
|
||||
<meta http-equiv=\"${1}\" content=\"${2}\" />${3}\n\
|
||||
snippet meta:compat\n\
|
||||
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=${1:7,8,edge}\" />${3}\n\
|
||||
snippet meta:refresh\n\
|
||||
<meta http-equiv=\"refresh\" content=\"text/html;charset=UTF-8\" />${3}\n\
|
||||
snippet meta:utf\n\
|
||||
<meta http-equiv=\"content-type\" content=\"text/html;charset=UTF-8\" />${3}\n\
|
||||
snippet meter\n\
|
||||
<meter>${1}</meter>\n\
|
||||
snippet nav\n\
|
||||
<nav>\n\
|
||||
${1}\n\
|
||||
</nav>\n\
|
||||
snippet nav.\n\
|
||||
<nav class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</nav>\n\
|
||||
snippet nav#\n\
|
||||
<nav id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</nav>\n\
|
||||
snippet noscript\n\
|
||||
<noscript>\n\
|
||||
${1}\n\
|
||||
</noscript>\n\
|
||||
snippet object\n\
|
||||
<object data=\"${1}\" type=\"${2}\">\n\
|
||||
${3}\n\
|
||||
</object>${4}\n\
|
||||
# Embed QT Movie\n\
|
||||
snippet movie\n\
|
||||
<object width=\"$2\" height=\"$3\" classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\"\n\
|
||||
codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\">\n\
|
||||
<param name=\"src\" value=\"$1\" />\n\
|
||||
<param name=\"controller\" value=\"$4\" />\n\
|
||||
<param name=\"autoplay\" value=\"$5\" />\n\
|
||||
<embed src=\"${1:movie.mov}\"\n\
|
||||
width=\"${2:320}\" height=\"${3:240}\"\n\
|
||||
controller=\"${4:true}\" autoplay=\"${5:true}\"\n\
|
||||
scale=\"tofit\" cache=\"true\"\n\
|
||||
pluginspage=\"http://www.apple.com/quicktime/download/\" />\n\
|
||||
</object>${6}\n\
|
||||
snippet ol\n\
|
||||
<ol>\n\
|
||||
${1}\n\
|
||||
</ol>\n\
|
||||
snippet ol.\n\
|
||||
<ol class=\"${1}>\n\
|
||||
${2}\n\
|
||||
</ol>\n\
|
||||
snippet ol#\n\
|
||||
<ol id=\"${1}>\n\
|
||||
${2}\n\
|
||||
</ol>\n\
|
||||
snippet ol+\n\
|
||||
<ol>\n\
|
||||
<li>${1}</li>\n\
|
||||
li+${2}\n\
|
||||
</ol>\n\
|
||||
snippet opt\n\
|
||||
<option value=\"${1}\">${2:$1}</option>\n\
|
||||
snippet opt+\n\
|
||||
<option value=\"${1}\">${2:$1}</option>\n\
|
||||
opt+${3}\n\
|
||||
snippet optt\n\
|
||||
<option>${1}</option>\n\
|
||||
snippet optgroup\n\
|
||||
<optgroup>\n\
|
||||
<option value=\"${1}\">${2:$1}</option>\n\
|
||||
opt+${3}\n\
|
||||
</optgroup>\n\
|
||||
snippet output\n\
|
||||
<output>${1}</output>\n\
|
||||
snippet p\n\
|
||||
<p>${1}</p>\n\
|
||||
snippet param\n\
|
||||
<param name=\"${1}\" value=\"${2}\" />${3}\n\
|
||||
snippet pre\n\
|
||||
<pre>\n\
|
||||
${1}\n\
|
||||
</pre>\n\
|
||||
snippet progress\n\
|
||||
<progress>${1}</progress>\n\
|
||||
snippet q\n\
|
||||
<q>${1}</q>\n\
|
||||
snippet rp\n\
|
||||
<rp>${1}</rp>\n\
|
||||
snippet rt\n\
|
||||
<rt>${1}</rt>\n\
|
||||
snippet ruby\n\
|
||||
<ruby>\n\
|
||||
<rp><rt>${1}</rt></rp>\n\
|
||||
</ruby>\n\
|
||||
snippet s\n\
|
||||
<s>${1}</s>\n\
|
||||
snippet samp\n\
|
||||
<samp>\n\
|
||||
${1}\n\
|
||||
</samp>\n\
|
||||
snippet script\n\
|
||||
<script type=\"text/javascript\" charset=\"utf-8\">\n\
|
||||
${1}\n\
|
||||
</script>\n\
|
||||
snippet scriptsrc\n\
|
||||
<script src=\"${1}.js\" type=\"text/javascript\" charset=\"utf-8\"></script>\n\
|
||||
snippet newscript\n\
|
||||
<script type=\"application/javascript\" charset=\"utf-8\">\n\
|
||||
${1}\n\
|
||||
</script>\n\
|
||||
snippet newscriptsrc\n\
|
||||
<script src=\"${1}.js\" type=\"application/javascript\" charset=\"utf-8\"></script>\n\
|
||||
snippet section\n\
|
||||
<section>\n\
|
||||
${1}\n\
|
||||
</section>\n\
|
||||
snippet section.\n\
|
||||
<section class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</section>\n\
|
||||
snippet section#\n\
|
||||
<section id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</section>\n\
|
||||
snippet select\n\
|
||||
<select name=\"${1}\" id=\"${2:$1}\">\n\
|
||||
${3}\n\
|
||||
</select>\n\
|
||||
snippet select.\n\
|
||||
<select name=\"${1}\" id=\"${2:$1}\" class=\"${3}>\n\
|
||||
${4}\n\
|
||||
</select>\n\
|
||||
snippet select+\n\
|
||||
<select name=\"${1}\" id=\"${2:$1}\">\n\
|
||||
<option value=\"${3}\">${4:$3}</option>\n\
|
||||
opt+${5}\n\
|
||||
</select>\n\
|
||||
snippet small\n\
|
||||
<small>${1}</small>\n\
|
||||
snippet source\n\
|
||||
<source src=\"${1}\" type=\"${2}\" media=\"${3}\" />\n\
|
||||
snippet span\n\
|
||||
<span>${1}</span>\n\
|
||||
snippet strong\n\
|
||||
<strong>${1}</strong>\n\
|
||||
snippet style\n\
|
||||
<style type=\"text/css\" media=\"${1:all}\">\n\
|
||||
${2}\n\
|
||||
</style>\n\
|
||||
snippet sub\n\
|
||||
<sub>${1}</sub>\n\
|
||||
snippet summary\n\
|
||||
<summary>\n\
|
||||
${1}\n\
|
||||
</summary>\n\
|
||||
snippet sup\n\
|
||||
<sup>${1}</sup>\n\
|
||||
snippet table\n\
|
||||
<table border=\"${1:0}\">\n\
|
||||
${2}\n\
|
||||
</table>\n\
|
||||
snippet table.\n\
|
||||
<table class=\"${1}\" border=\"${2:0}\">\n\
|
||||
${3}\n\
|
||||
</table>\n\
|
||||
snippet table#\n\
|
||||
<table id=\"${1}\" border=\"${2:0}\">\n\
|
||||
${3}\n\
|
||||
</table>\n\
|
||||
snippet tbody\n\
|
||||
<tbody>\n\
|
||||
${1}\n\
|
||||
</tbody>\n\
|
||||
snippet td\n\
|
||||
<td>${1}</td>\n\
|
||||
snippet td.\n\
|
||||
<td class=\"${1}\">${2}</td>\n\
|
||||
snippet td#\n\
|
||||
<td id=\"${1}\">${2}</td>\n\
|
||||
snippet td+\n\
|
||||
<td>${1}</td>\n\
|
||||
td+${2}\n\
|
||||
snippet textarea\n\
|
||||
<textarea name=\"${1}\" id=${2:$1} rows=\"${3:8}\" cols=\"${4:40}\">${5}</textarea>${6}\n\
|
||||
snippet tfoot\n\
|
||||
<tfoot>\n\
|
||||
${1}\n\
|
||||
</tfoot>\n\
|
||||
snippet th\n\
|
||||
<th>${1}</th>\n\
|
||||
snippet th.\n\
|
||||
<th class=\"${1}\">${2}</th>\n\
|
||||
snippet th#\n\
|
||||
<th id=\"${1}\">${2}</th>\n\
|
||||
snippet th+\n\
|
||||
<th>${1}</th>\n\
|
||||
th+${2}\n\
|
||||
snippet thead\n\
|
||||
<thead>\n\
|
||||
${1}\n\
|
||||
</thead>\n\
|
||||
snippet time\n\
|
||||
<time datetime=\"${1}\" pubdate=\"${2:$1}>${3:$1}</time>\n\
|
||||
snippet title\n\
|
||||
<title>${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}</title>\n\
|
||||
snippet tr\n\
|
||||
<tr>\n\
|
||||
${1}\n\
|
||||
</tr>\n\
|
||||
snippet tr+\n\
|
||||
<tr>\n\
|
||||
<td>${1}</td>\n\
|
||||
td+${2}\n\
|
||||
</tr>\n\
|
||||
snippet track\n\
|
||||
<track src=\"${1}\" srclang=\"${2}\" label=\"${3}\" default=\"${4:default}>${5}</track>${6}\n\
|
||||
snippet ul\n\
|
||||
<ul>\n\
|
||||
${1}\n\
|
||||
</ul>\n\
|
||||
snippet ul.\n\
|
||||
<ul class=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</ul>\n\
|
||||
snippet ul#\n\
|
||||
<ul id=\"${1}\">\n\
|
||||
${2}\n\
|
||||
</ul>\n\
|
||||
snippet ul+\n\
|
||||
<ul>\n\
|
||||
<li>${1}</li>\n\
|
||||
li+${2}\n\
|
||||
</ul>\n\
|
||||
snippet var\n\
|
||||
<var>${1}</var>\n\
|
||||
snippet video\n\
|
||||
<video src=\"${1} height=\"${2}\" width=\"${3}\" preload=\"${5:none}\" autoplay=\"${6:autoplay}>${7}</video>${8}\n\
|
||||
snippet wbr\n\
|
||||
<wbr />${1}\n\
|
||||
";
|
||||
exports.scope = "liquid";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/liquid"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/lisp.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/lisp.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/lisp"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/livescript.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/livescript.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/livescript"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/logiql.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/logiql.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/logiql"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/logtalk.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/logtalk.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/logtalk"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
1246
BinaryDad.Coding/wwwroot/js/ace/snippets/lsl.js
Normal file
1246
BinaryDad.Coding/wwwroot/js/ace/snippets/lsl.js
Normal file
File diff suppressed because it is too large
Load Diff
35
BinaryDad.Coding/wwwroot/js/ace/snippets/lua.js
Normal file
35
BinaryDad.Coding/wwwroot/js/ace/snippets/lua.js
Normal file
@ -0,0 +1,35 @@
|
||||
define("ace/snippets/lua",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet #!\n\
|
||||
#!/usr/bin/env lua\n\
|
||||
$1\n\
|
||||
snippet local\n\
|
||||
local ${1:x} = ${2:1}\n\
|
||||
snippet fun\n\
|
||||
function ${1:fname}(${2:...})\n\
|
||||
${3:-- body}\n\
|
||||
end\n\
|
||||
snippet for\n\
|
||||
for ${1:i}=${2:1},${3:10} do\n\
|
||||
${4:print(i)}\n\
|
||||
end\n\
|
||||
snippet forp\n\
|
||||
for ${1:i},${2:v} in pairs(${3:table_name}) do\n\
|
||||
${4:-- body}\n\
|
||||
end\n\
|
||||
snippet fori\n\
|
||||
for ${1:i},${2:v} in ipairs(${3:table_name}) do\n\
|
||||
${4:-- body}\n\
|
||||
end\n\
|
||||
";
|
||||
exports.scope = "lua";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/lua"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/luapage.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/luapage.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/luapage"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/lucene.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/lucene.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/lucene"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
18
BinaryDad.Coding/wwwroot/js/ace/snippets/makefile.js
Normal file
18
BinaryDad.Coding/wwwroot/js/ace/snippets/makefile.js
Normal file
@ -0,0 +1,18 @@
|
||||
define("ace/snippets/makefile",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet ifeq\n\
|
||||
ifeq (${1:cond0},${2:cond1})\n\
|
||||
${3:code}\n\
|
||||
endif\n\
|
||||
";
|
||||
exports.scope = "makefile";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/makefile"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
102
BinaryDad.Coding/wwwroot/js/ace/snippets/markdown.js
Normal file
102
BinaryDad.Coding/wwwroot/js/ace/snippets/markdown.js
Normal file
@ -0,0 +1,102 @@
|
||||
define("ace/snippets/markdown",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# Markdown\n\
|
||||
\n\
|
||||
# Includes octopress (http://octopress.org/) snippets\n\
|
||||
\n\
|
||||
snippet [\n\
|
||||
[${1:text}](http://${2:address} \"${3:title}\")\n\
|
||||
snippet [*\n\
|
||||
[${1:link}](${2:`@*`} \"${3:title}\")${4}\n\
|
||||
\n\
|
||||
snippet [:\n\
|
||||
[${1:id}]: http://${2:url} \"${3:title}\"\n\
|
||||
snippet [:*\n\
|
||||
[${1:id}]: ${2:`@*`} \"${3:title}\"\n\
|
||||
\n\
|
||||
snippet \n\
|
||||
snippet ${4}\n\
|
||||
\n\
|
||||
snippet ![:\n\
|
||||
![${1:id}]: ${2:url} \"${3:title}\"\n\
|
||||
snippet ![:*\n\
|
||||
![${1:id}]: ${2:`@*`} \"${3:title}\"\n\
|
||||
\n\
|
||||
snippet ===\n\
|
||||
regex /^/=+/=*//\n\
|
||||
${PREV_LINE/./=/g}\n\
|
||||
\n\
|
||||
${0}\n\
|
||||
snippet ---\n\
|
||||
regex /^/-+/-*//\n\
|
||||
${PREV_LINE/./-/g}\n\
|
||||
\n\
|
||||
${0}\n\
|
||||
snippet blockquote\n\
|
||||
{% blockquote %}\n\
|
||||
${1:quote}\n\
|
||||
{% endblockquote %}\n\
|
||||
\n\
|
||||
snippet blockquote-author\n\
|
||||
{% blockquote ${1:author}, ${2:title} %}\n\
|
||||
${3:quote}\n\
|
||||
{% endblockquote %}\n\
|
||||
\n\
|
||||
snippet blockquote-link\n\
|
||||
{% blockquote ${1:author} ${2:URL} ${3:link_text} %}\n\
|
||||
${4:quote}\n\
|
||||
{% endblockquote %}\n\
|
||||
\n\
|
||||
snippet bt-codeblock-short\n\
|
||||
```\n\
|
||||
${1:code_snippet}\n\
|
||||
```\n\
|
||||
\n\
|
||||
snippet bt-codeblock-full\n\
|
||||
``` ${1:language} ${2:title} ${3:URL} ${4:link_text}\n\
|
||||
${5:code_snippet}\n\
|
||||
```\n\
|
||||
\n\
|
||||
snippet codeblock-short\n\
|
||||
{% codeblock %}\n\
|
||||
${1:code_snippet}\n\
|
||||
{% endcodeblock %}\n\
|
||||
\n\
|
||||
snippet codeblock-full\n\
|
||||
{% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}\n\
|
||||
${5:code_snippet}\n\
|
||||
{% endcodeblock %}\n\
|
||||
\n\
|
||||
snippet gist-full\n\
|
||||
{% gist ${1:gist_id} ${2:filename} %}\n\
|
||||
\n\
|
||||
snippet gist-short\n\
|
||||
{% gist ${1:gist_id} %}\n\
|
||||
\n\
|
||||
snippet img\n\
|
||||
{% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}\n\
|
||||
\n\
|
||||
snippet youtube\n\
|
||||
{% youtube ${1:video_id} %}\n\
|
||||
\n\
|
||||
# The quote should appear only once in the text. It is inherently part of it.\n\
|
||||
# See http://octopress.org/docs/plugins/pullquote/ for more info.\n\
|
||||
\n\
|
||||
snippet pullquote\n\
|
||||
{% pullquote %}\n\
|
||||
${1:text} {\" ${2:quote} \"} ${3:text}\n\
|
||||
{% endpullquote %}\n\
|
||||
";
|
||||
exports.scope = "markdown";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/markdown"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mask.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mask.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/mask"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/matlab.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/matlab.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/matlab"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
23
BinaryDad.Coding/wwwroot/js/ace/snippets/maze.js
Normal file
23
BinaryDad.Coding/wwwroot/js/ace/snippets/maze.js
Normal file
@ -0,0 +1,23 @@
|
||||
define("ace/snippets/maze",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet >\n\
|
||||
description assignment\n\
|
||||
scope maze\n\
|
||||
-> ${1}= ${2}\n\
|
||||
\n\
|
||||
snippet >\n\
|
||||
description if\n\
|
||||
scope maze\n\
|
||||
-> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n\
|
||||
";
|
||||
exports.scope = "maze";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/maze"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mediawiki.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mediawiki.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/mediawiki"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mel.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mel.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/mel"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mixal.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mixal.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/mixal"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mushcode.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mushcode.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/mushcode"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mysql.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/mysql.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/mysql"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
9
BinaryDad.Coding/wwwroot/js/ace/snippets/nginx.js
Normal file
9
BinaryDad.Coding/wwwroot/js/ace/snippets/nginx.js
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
; (function() {
|
||||
window.require(["ace/snippets/nginx"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user