@codingame/monaco-editor-wrapper 1.14.9 → 2.1.0
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.tmLanguage.js +2 -2
- package/dist/META.js +100 -0
- package/dist/atd.js +114 -0
- package/dist/atd2.js +110 -0
- package/dist/cobol-snippets.js +2 -2117
- package/dist/cobol2.js +46 -0
- package/dist/cpp.tmLanguage.js +50 -15
- package/dist/cpptools.js +44 -3
- package/dist/cram.js +257 -0
- package/dist/dart3.js +37 -1
- package/dist/directives.tmLanguage.js +20 -0
- package/dist/dune-project.js +65 -0
- package/dist/dune-project2.js +481 -0
- package/dist/dune-workspace.js +65 -0
- package/dist/dune-workspace2.js +298 -0
- package/dist/dune.js +65 -0
- package/dist/dune2.js +2962 -0
- package/dist/erlang.js +4 -4
- package/dist/features/extensionConfigurations.js +11 -1
- package/dist/fsharp.tmLanguage.js +24 -4
- package/dist/index.js +38 -1
- package/dist/interpolations.tmLanguage.js +20 -0
- package/dist/java2.js +6 -0
- package/dist/json.js +1 -1
- package/dist/jsonc.js +1 -1
- package/dist/lua2.js +1089 -125
- package/dist/main.js +825 -426
- package/dist/markdown-svelte-css.js +37 -0
- package/dist/markdown-svelte-js.js +37 -0
- package/dist/markdown-svelte.js +59 -0
- package/dist/markdown-vue.js +59 -0
- package/dist/menhir-action.js +51 -0
- package/dist/menhir.js +597 -0
- package/dist/merlin.js +23 -23
- package/dist/monaco.d.ts +1 -1
- package/dist/oasis.js +99 -0
- package/dist/ocaml-dune-project.js +38 -0
- package/dist/ocaml-dune.js +53 -0
- package/dist/ocaml-markdown-codeblock.js +1 -1
- package/dist/ocaml-ocaml.js +88 -0
- package/dist/ocaml-ocamllex.js +12 -0
- package/dist/ocaml.META.js +29 -0
- package/dist/ocaml.interface.js +114 -0
- package/dist/ocaml.interface2.js +292 -0
- package/dist/ocaml.js +40 -8
- package/dist/ocaml.menhir.js +81 -0
- package/dist/ocaml.oasis.js +18 -0
- package/dist/ocaml.ocamlbuild.js +45 -0
- package/dist/ocaml.ocamlformat.js +8 -0
- package/dist/ocaml.ocamllex.js +60 -0
- package/dist/ocaml.opam-install.js +49 -0
- package/dist/ocaml.opam.js +69 -0
- package/dist/ocaml2.js +600 -2676
- package/dist/ocaml3.js +89 -105
- package/dist/ocamlbuild.js +142 -192
- package/dist/ocamldoc.js +54 -0
- package/dist/ocamlformat.js +206 -0
- package/dist/ocamllex.js +133 -0
- package/dist/omnisharp.js +2 -2
- package/dist/opam-install.js +40 -0
- package/dist/opam.js +100 -109
- package/dist/postcss.src.yaml.js +393 -0
- package/dist/pug-svelte-dotblock.js +69 -0
- package/dist/pug-svelte-tags.js +215 -0
- package/dist/pug-svelte.js +307 -0
- package/dist/reason-markdown-codeblock.js +1 -1
- package/dist/reason.js +0 -4
- package/dist/scalameta.js +5 -3
- package/dist/sql.tmLanguage.js +21 -5
- package/dist/svelte.js +118 -0
- package/dist/svelte.svelte-vscode-svelte.js +46 -0
- package/dist/svelte.svelte-vscode.js +373 -0
- package/dist/svelte.tmLanguage.src.yaml.js +1099 -0
- package/dist/theme-defaults~light_vs.js +2 -1
- package/dist/tools/EditorOpenHandlerRegistry.d.ts +8 -0
- package/dist/typescript-language-features.js +16 -0
- package/dist/typescript.js +20 -1
- package/dist/typescriptreact.js +20 -1
- package/dist/vetur.js +407 -0
- package/dist/vscode-R.js +55 -0
- package/dist/vscode-python.js +6 -6
- package/dist/vue-generated.js +1301 -0
- package/dist/vue-html.js +99 -0
- package/dist/vue-html.tmLanguage.js +573 -0
- package/dist/vue-postcss.js +72 -0
- package/dist/vue-sugarss.js +60 -0
- package/dist/vue-sugarss2.js +396 -0
- package/dist/vue.js +106 -0
- package/package.json +52 -6
- package/stats.html +1 -1
- package/dist/ocaml-hover-info.js +0 -34
- package/dist/ocaml-hover-type.js +0 -24
- package/dist/ocaml-reason.js +0 -100
- package/dist/reason-hover-info.js +0 -34
- package/dist/reason-hover-signature.js +0 -21
- package/dist/reason-hover-type.js +0 -21
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
- package/dist/services/TextModelService.d.ts +0 -25
package/dist/COBOL.tmLanguage.js
CHANGED
package/dist/META.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
var scopeName = "source.ocaml.META";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
"META"
|
|
4
|
+
];
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
include: "#comments"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
include: "#entries"
|
|
11
|
+
}
|
|
12
|
+
];
|
|
13
|
+
var repository = {
|
|
14
|
+
comments: {
|
|
15
|
+
comment: "line comment",
|
|
16
|
+
name: "comment.line.META",
|
|
17
|
+
begin: "#",
|
|
18
|
+
end: "$"
|
|
19
|
+
},
|
|
20
|
+
entries: {
|
|
21
|
+
patterns: [
|
|
22
|
+
{
|
|
23
|
+
comment: "assignment or addition",
|
|
24
|
+
match: "\\b([[:word:].]+)[[:space:]]*(\\+?=)[[:space:]]*(\".*\")",
|
|
25
|
+
captures: {
|
|
26
|
+
"1": {
|
|
27
|
+
name: "entity.name.tag.META"
|
|
28
|
+
},
|
|
29
|
+
"2": {
|
|
30
|
+
name: "keyword.operator.META"
|
|
31
|
+
},
|
|
32
|
+
"3": {
|
|
33
|
+
name: "string.quoted.double.META"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
comment: "assignment or addition with formal predicates",
|
|
39
|
+
begin: "\\b([[:word:].]+)[[:space:]]*\\(",
|
|
40
|
+
beginCaptures: {
|
|
41
|
+
"1": {
|
|
42
|
+
name: "entity.name.tag.META"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
end: "\\)[[:space:]]*(\\+?=)[[:space:]]*(\".*\")",
|
|
46
|
+
endCaptures: {
|
|
47
|
+
"1": {
|
|
48
|
+
name: "keyword.operator.META"
|
|
49
|
+
},
|
|
50
|
+
"2": {
|
|
51
|
+
name: "string.quoted.double.META"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
patterns: [
|
|
55
|
+
{
|
|
56
|
+
match: "-",
|
|
57
|
+
name: "keyword.operator.META"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
comment: "standard predicates",
|
|
61
|
+
match: "\\b(byte|native|toploop|mt|mt_posix|mt_vm|gprof|autolink)\\b",
|
|
62
|
+
name: "constant.language.META"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
comment: "subpackage",
|
|
68
|
+
begin: "\\b(package)[[:space:]]*(\"[^.]*\")[[:space:]]*\\(",
|
|
69
|
+
beginCaptures: {
|
|
70
|
+
"1": {
|
|
71
|
+
name: "keyword.other.META"
|
|
72
|
+
},
|
|
73
|
+
"2": {
|
|
74
|
+
name: "string.quoted.double.META"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
end: "\\)",
|
|
78
|
+
patterns: [
|
|
79
|
+
{
|
|
80
|
+
include: "$self"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
var information_for_contributors = [
|
|
88
|
+
"This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
|
|
89
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
90
|
+
"Once accepted there, we are happy to receive an update request."
|
|
91
|
+
];
|
|
92
|
+
var META = {
|
|
93
|
+
scopeName: scopeName,
|
|
94
|
+
fileTypes: fileTypes,
|
|
95
|
+
patterns: patterns,
|
|
96
|
+
repository: repository,
|
|
97
|
+
information_for_contributors: information_for_contributors
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
export { META as default, fileTypes, information_for_contributors, patterns, repository, scopeName };
|
package/dist/atd.js
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
var autoClosingPairs = [
|
|
2
|
+
{
|
|
3
|
+
open: "{",
|
|
4
|
+
close: "}"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
open: "[",
|
|
8
|
+
close: "]"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
open: "(",
|
|
12
|
+
close: ")"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
open: "\"",
|
|
16
|
+
close: "\"",
|
|
17
|
+
notIn: [
|
|
18
|
+
"string"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
open: "(*",
|
|
23
|
+
close: "*",
|
|
24
|
+
notIn: [
|
|
25
|
+
"string"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
open: "[|",
|
|
30
|
+
close: "|",
|
|
31
|
+
notIn: [
|
|
32
|
+
"string"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
var brackets = [
|
|
37
|
+
[
|
|
38
|
+
"{",
|
|
39
|
+
"}"
|
|
40
|
+
],
|
|
41
|
+
[
|
|
42
|
+
"[",
|
|
43
|
+
"]"
|
|
44
|
+
],
|
|
45
|
+
[
|
|
46
|
+
"(",
|
|
47
|
+
")"
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
"[|",
|
|
51
|
+
"|]"
|
|
52
|
+
]
|
|
53
|
+
];
|
|
54
|
+
var comments = {
|
|
55
|
+
blockComment: [
|
|
56
|
+
"(*",
|
|
57
|
+
"*)"
|
|
58
|
+
]
|
|
59
|
+
};
|
|
60
|
+
var surroundingPairs = [
|
|
61
|
+
[
|
|
62
|
+
"{",
|
|
63
|
+
"}"
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
"[",
|
|
67
|
+
"]"
|
|
68
|
+
],
|
|
69
|
+
[
|
|
70
|
+
"(",
|
|
71
|
+
")"
|
|
72
|
+
],
|
|
73
|
+
[
|
|
74
|
+
"'",
|
|
75
|
+
"'"
|
|
76
|
+
],
|
|
77
|
+
[
|
|
78
|
+
"\"",
|
|
79
|
+
"\""
|
|
80
|
+
]
|
|
81
|
+
];
|
|
82
|
+
var indentationRules = {
|
|
83
|
+
decreaseIndentPattern: "^\\s*(end|done|with|in|else)\\b|^\\s*;;",
|
|
84
|
+
increaseIndentPattern: "\\b(begin|object)\\s*$|\\blet [a-zA-Z0-9_-]+( [^ ]+)* =\\s*$|method!?[ \\t]+.*=[ \\t]*$|->[ \\t]*$|\\b(for|while)(_lwt)?[ \\t]+.*[ \\t]+do[ \\t]*$|(\\btry(_lwt)?$|\\bif\\s+.*\\sthen$|\\belse|[:=]\\s*sig|=\\s*struct)\\s*$",
|
|
85
|
+
indentNextLinePattern: "(?!\\bif.*then.*(else.*|(;|[ \\t]in)[ \\t]*$))\\bif|\\bthen[ \\t]*$|\\belse[ \\t]*$$"
|
|
86
|
+
};
|
|
87
|
+
var onEnterRules = [
|
|
88
|
+
{
|
|
89
|
+
beforeText: "\\(\\*\\*",
|
|
90
|
+
afterText: "\\*\\)",
|
|
91
|
+
action: {
|
|
92
|
+
indent: "none",
|
|
93
|
+
appendText: " "
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
beforeText: "\\(\\*",
|
|
98
|
+
afterText: "\\*\\)",
|
|
99
|
+
action: {
|
|
100
|
+
indent: "none",
|
|
101
|
+
appendText: " "
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
];
|
|
105
|
+
var atd = {
|
|
106
|
+
autoClosingPairs: autoClosingPairs,
|
|
107
|
+
brackets: brackets,
|
|
108
|
+
comments: comments,
|
|
109
|
+
surroundingPairs: surroundingPairs,
|
|
110
|
+
indentationRules: indentationRules,
|
|
111
|
+
onEnterRules: onEnterRules
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export { autoClosingPairs, brackets, comments, atd as default, indentationRules, onEnterRules, surroundingPairs };
|
package/dist/atd2.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
var name = "ATD";
|
|
2
|
+
var scopeName = "source.atd";
|
|
3
|
+
var fileTypes = [
|
|
4
|
+
"atd"
|
|
5
|
+
];
|
|
6
|
+
var patterns = [
|
|
7
|
+
{
|
|
8
|
+
include: "source.ocaml#comments"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
include: "source.ocaml#strings"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
include: "#annotations"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
include: "#definitions"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
include: "#keywords"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
include: "#types"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
include: "source.ocaml#operators"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
include: "source.ocaml#identifiers"
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
var repository = {
|
|
33
|
+
annotations: {
|
|
34
|
+
patterns: [
|
|
35
|
+
{
|
|
36
|
+
begin: "(<)[[:space:]]*([[:lower:]_][[:word:]']*)",
|
|
37
|
+
end: ">",
|
|
38
|
+
beginCaptures: {
|
|
39
|
+
"1": {
|
|
40
|
+
name: "keyword.other.atd"
|
|
41
|
+
},
|
|
42
|
+
"2": {
|
|
43
|
+
name: "keyword.other.atd"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
endCaptures: [
|
|
47
|
+
{
|
|
48
|
+
name: "keyword.other.atd"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
patterns: [
|
|
52
|
+
{
|
|
53
|
+
include: "$self"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
definitions: {
|
|
60
|
+
match: "\\b(type)[[:space:]]+('[[:alpha:]][[:word:]']*[[:space:]]+|\\(.*\\)[[:space:]]*)?([[:lower:]_][[:word:]']*)",
|
|
61
|
+
captures: {
|
|
62
|
+
"1": {
|
|
63
|
+
name: "keyword.other.atd"
|
|
64
|
+
},
|
|
65
|
+
"2": {
|
|
66
|
+
patterns: [
|
|
67
|
+
{
|
|
68
|
+
include: "$self"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"3": {
|
|
73
|
+
name: "entity.name.function.binding.atd"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
keywords: {
|
|
78
|
+
name: "keyword.other.atd",
|
|
79
|
+
match: "\\b(type|of|inherit)\\b(?!')"
|
|
80
|
+
},
|
|
81
|
+
types: {
|
|
82
|
+
patterns: [
|
|
83
|
+
{
|
|
84
|
+
comment: "type parameter",
|
|
85
|
+
name: "storage.type.ocaml.atd",
|
|
86
|
+
match: "'[[:alpha:]][[:word:]']*\\b"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
comment: "builtin type",
|
|
90
|
+
name: "support.type.ocaml.atd",
|
|
91
|
+
match: "\\b(unit|bool|int|float|string|abstract)\\b"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
var information_for_contributors = [
|
|
97
|
+
"This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
|
|
98
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
99
|
+
"Once accepted there, we are happy to receive an update request."
|
|
100
|
+
];
|
|
101
|
+
var atd = {
|
|
102
|
+
name: name,
|
|
103
|
+
scopeName: scopeName,
|
|
104
|
+
fileTypes: fileTypes,
|
|
105
|
+
patterns: patterns,
|
|
106
|
+
repository: repository,
|
|
107
|
+
information_for_contributors: information_for_contributors
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export { atd as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName };
|