@codingame/monaco-editor-wrapper 1.2.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/COBOL Copybook2.js +2017 -0
- package/dist/COBOL2.js +2017 -0
- package/dist/JavaScript.tmLanguage.js +22 -1
- package/dist/JavaScriptReact.tmLanguage.js +22 -1
- package/dist/SQL.plist.js +482 -0
- package/dist/TypeScript.tmLanguage.js +22 -1
- package/dist/TypeScriptReact.tmLanguage.js +22 -1
- package/dist/angular.js +56 -0
- package/dist/bsv2.js +49 -0
- package/dist/buildtarget.js +53 -0
- package/dist/c2.js +18 -0
- package/dist/clojure.tmLanguage.js +11 -15
- package/dist/cobol2.js +80 -0
- package/dist/coffeescript2.js +18 -0
- package/dist/configuration/hack.d.ts +2 -0
- package/dist/cpp2.js +18 -0
- package/dist/cpptools.js +2320 -0
- package/dist/csharp.tmLanguage.js +5 -5
- package/dist/csharp2.js +508 -0
- package/dist/d2.js +2 -66
- package/dist/d3.js +526 -0
- package/dist/dart3.js +966 -0
- package/dist/dcf.js +3 -3
- package/dist/diet3.js +92 -0
- package/dist/elixir3.js +40 -0
- package/dist/erlang2.js +92 -0
- package/dist/extensionConfigurations.js +1418 -1171
- package/dist/features/cssContribution.js +10 -0
- package/dist/features/extensionConfigurations.d.ts +1 -0
- package/dist/features/extensionConfigurations.js +145 -0
- package/dist/features/htmlContribution.js +10 -0
- package/dist/features/jsonContribution.js +84 -0
- package/dist/features/typescriptContribution.d.ts +4 -0
- package/dist/features/typescriptContribution.js +64 -0
- package/dist/fsharp.tmLanguage.js +10 -1
- package/dist/fsharp2.js +18 -0
- package/dist/groovy2.js +229 -0
- package/dist/haskell2.js +16 -0
- package/dist/html (eex).js +31 -0
- package/dist/java2.js +704 -0
- package/dist/javascript.js +83 -2
- package/dist/javascript2.js +196 -0
- package/dist/javascriptreact.js +83 -2
- package/dist/javascriptreact2.js +196 -0
- package/dist/jsonContribution.js +40 -46
- package/dist/jsx-tags.js +51 -2
- package/dist/jvm-bytecode-verbose.js +1231 -0
- package/dist/jvm-bytecode.js +565 -0
- package/dist/kotlin2.js +117 -0
- package/dist/kotlinscript2.js +117 -0
- package/dist/languages/extensions/configurationLoader.d.ts +1 -13
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/grammarLoader.d.ts +2 -101920
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/snippetLoader.d.ts +3 -5606
- package/dist/languages/monarch/list.d.ts +7 -0
- package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
- package/dist/lua2.js +1511 -0
- package/dist/main.js +155 -98
- package/dist/markdown-basics.js +103 -0
- package/dist/markdown2.js +103 -0
- package/dist/ocaml3.js +145 -0
- package/dist/omnisharp.js +522 -0
- package/dist/pascal2.js +26 -0
- package/dist/pgsql-sql.js +21 -0
- package/dist/pgsql.js +21 -0
- package/dist/php2.js +265 -0
- package/dist/postgresql.js +75 -0
- package/dist/powershell2.js +18 -0
- package/dist/r.tmLanguage.js +572 -0
- package/dist/reason2.js +100 -0
- package/dist/rmd.js +8 -1
- package/dist/scalameta.js +177 -0
- package/dist/services/functional.d.ts +1 -0
- package/dist/services/lyfecycle.d.ts +13 -0
- package/dist/solargraph.js +192 -0
- package/dist/sql.js +9 -2
- package/dist/sql2.js +21 -0
- package/dist/swift2.js +183 -0
- package/dist/systemverilog2.js +208 -0
- package/dist/tasty.js +72 -0
- package/dist/tcl2.js +151 -0
- package/dist/typescript-basics.js +312 -0
- package/dist/typescript-language-features.js +998 -0
- package/dist/typescript.js +83 -2
- package/dist/typescript2.js +312 -0
- package/dist/typescriptreact.js +83 -2
- package/dist/typescriptreact2.js +312 -0
- package/dist/vb2.js +88 -0
- package/dist/verilog2.js +94 -0
- package/dist/vscode-R.js +519 -0
- package/dist/vscode-groovy.js +28 -0
- package/dist/vscode-python.js +677 -0
- package/package.json +11 -11
- package/stats.html +205 -795
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
var fun = {
|
|
2
|
+
prefix: "fun",
|
|
3
|
+
body: [
|
|
4
|
+
"fun ${1:foo}() = ${0}"
|
|
5
|
+
],
|
|
6
|
+
description: "One line fucntion"
|
|
7
|
+
};
|
|
8
|
+
var fun2 = {
|
|
9
|
+
prefix: "fun",
|
|
10
|
+
body: [
|
|
11
|
+
"fun ${1:foo}(${2:bar}: ${3:Any}, ${4:baz}: ${5:Any}): ${6:Unit} {",
|
|
12
|
+
"\t${0}",
|
|
13
|
+
"}"
|
|
14
|
+
],
|
|
15
|
+
description: "Function with 2 parameters"
|
|
16
|
+
};
|
|
17
|
+
var fun1 = {
|
|
18
|
+
prefix: "fun",
|
|
19
|
+
body: [
|
|
20
|
+
"fun ${1:foo}(${2:bar}: ${3:Any}): ${4:Unit} {",
|
|
21
|
+
"\t${0}",
|
|
22
|
+
"}"
|
|
23
|
+
],
|
|
24
|
+
description: "Function with 1 parameter"
|
|
25
|
+
};
|
|
26
|
+
var fun0 = {
|
|
27
|
+
prefix: "fun",
|
|
28
|
+
body: [
|
|
29
|
+
"fun ${1:foo}(): Unit {",
|
|
30
|
+
"\t${0}",
|
|
31
|
+
"}"
|
|
32
|
+
],
|
|
33
|
+
description: "Function with 0 parameters"
|
|
34
|
+
};
|
|
35
|
+
var main = {
|
|
36
|
+
prefix: "main",
|
|
37
|
+
body: [
|
|
38
|
+
"fun main(args: Array<String>) {",
|
|
39
|
+
"\t${0}",
|
|
40
|
+
"}"
|
|
41
|
+
],
|
|
42
|
+
description: "main() function"
|
|
43
|
+
};
|
|
44
|
+
var class1 = {
|
|
45
|
+
prefix: "class",
|
|
46
|
+
body: [
|
|
47
|
+
"class ${1:foo}(${2:bar}) {",
|
|
48
|
+
"\t${0}",
|
|
49
|
+
"}"
|
|
50
|
+
],
|
|
51
|
+
description: "Class with constructor"
|
|
52
|
+
};
|
|
53
|
+
var data = {
|
|
54
|
+
prefix: "class",
|
|
55
|
+
body: [
|
|
56
|
+
"data class ${1:foo}(${0})"
|
|
57
|
+
],
|
|
58
|
+
description: "Empty data class"
|
|
59
|
+
};
|
|
60
|
+
var singleton = {
|
|
61
|
+
prefix: "singleton",
|
|
62
|
+
body: [
|
|
63
|
+
"object ${1:foo} {",
|
|
64
|
+
"\t${0}",
|
|
65
|
+
"}"
|
|
66
|
+
],
|
|
67
|
+
description: "Empty singleton"
|
|
68
|
+
};
|
|
69
|
+
var kotlinscript = {
|
|
70
|
+
fun: fun,
|
|
71
|
+
fun2: fun2,
|
|
72
|
+
fun1: fun1,
|
|
73
|
+
fun0: fun0,
|
|
74
|
+
"void": {
|
|
75
|
+
prefix: "void",
|
|
76
|
+
body: [
|
|
77
|
+
"fun ${1:foo}() {",
|
|
78
|
+
"\t${0}",
|
|
79
|
+
"}"
|
|
80
|
+
],
|
|
81
|
+
description: "Function that returns nothing"
|
|
82
|
+
},
|
|
83
|
+
main: main,
|
|
84
|
+
"for": {
|
|
85
|
+
prefix: "for",
|
|
86
|
+
body: [
|
|
87
|
+
"for (${1:i} in ${2:iterable}) {",
|
|
88
|
+
"\t${0}",
|
|
89
|
+
"}"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"try": {
|
|
93
|
+
prefix: "try",
|
|
94
|
+
body: [
|
|
95
|
+
"try {",
|
|
96
|
+
"\t${0}",
|
|
97
|
+
"}",
|
|
98
|
+
"catch(Exception e) {",
|
|
99
|
+
"\t${0}",
|
|
100
|
+
"}"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"class": {
|
|
104
|
+
prefix: "class",
|
|
105
|
+
body: [
|
|
106
|
+
"class ${1:foo} {",
|
|
107
|
+
"\t${0}",
|
|
108
|
+
"}"
|
|
109
|
+
],
|
|
110
|
+
description: "Class without contructor"
|
|
111
|
+
},
|
|
112
|
+
class1: class1,
|
|
113
|
+
data: data,
|
|
114
|
+
singleton: singleton
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
export { class1, data, kotlinscript as default, fun, fun0, fun1, fun2, main, singleton };
|
|
@@ -668,19 +668,6 @@ declare const _default: {
|
|
|
668
668
|
};
|
|
669
669
|
};
|
|
670
670
|
}>;
|
|
671
|
-
sql: () => Promise<{
|
|
672
|
-
comments: {
|
|
673
|
-
lineComment: string;
|
|
674
|
-
blockComment: string[];
|
|
675
|
-
};
|
|
676
|
-
brackets: string[][];
|
|
677
|
-
autoClosingPairs: (string[] | {
|
|
678
|
-
open: string;
|
|
679
|
-
close: string;
|
|
680
|
-
notIn: string[];
|
|
681
|
-
})[];
|
|
682
|
-
surroundingPairs: string[][];
|
|
683
|
-
}>;
|
|
684
671
|
swift: () => Promise<{
|
|
685
672
|
comments: {
|
|
686
673
|
lineComment: string;
|
|
@@ -1091,6 +1078,7 @@ declare const _default: {
|
|
|
1091
1078
|
};
|
|
1092
1079
|
};
|
|
1093
1080
|
}>;
|
|
1081
|
+
sql: () => Promise<{}>;
|
|
1094
1082
|
scala: () => Promise<{
|
|
1095
1083
|
comments: {
|
|
1096
1084
|
lineComment: string;
|