@codingame/monaco-editor-wrapper 1.15.0 → 2.1.1

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.
Files changed (58) hide show
  1. package/dist/COBOL.tmLanguage.js +2 -2
  2. package/dist/META.js +100 -0
  3. package/dist/atd.js +114 -0
  4. package/dist/atd2.js +110 -0
  5. package/dist/cobol-snippets.js +2 -2117
  6. package/dist/cobol2.js +46 -0
  7. package/dist/cram.js +257 -0
  8. package/dist/dune-project.js +65 -0
  9. package/dist/dune-project2.js +481 -0
  10. package/dist/dune-workspace.js +65 -0
  11. package/dist/dune-workspace2.js +298 -0
  12. package/dist/dune.js +65 -0
  13. package/dist/dune2.js +2962 -0
  14. package/dist/index.js +31 -1
  15. package/dist/main.js +490 -391
  16. package/dist/menhir-action.js +51 -0
  17. package/dist/menhir.js +597 -0
  18. package/dist/merlin.js +23 -23
  19. package/dist/monaco.d.ts +1 -1
  20. package/dist/oasis.js +99 -0
  21. package/dist/ocaml-dune-project.js +38 -0
  22. package/dist/ocaml-dune.js +53 -0
  23. package/dist/ocaml-markdown-codeblock.js +1 -1
  24. package/dist/ocaml-ocaml.js +88 -0
  25. package/dist/ocaml-ocamllex.js +12 -0
  26. package/dist/ocaml.META.js +29 -0
  27. package/dist/ocaml.interface.js +114 -0
  28. package/dist/ocaml.interface2.js +292 -0
  29. package/dist/ocaml.js +40 -8
  30. package/dist/ocaml.menhir.js +81 -0
  31. package/dist/ocaml.oasis.js +18 -0
  32. package/dist/ocaml.ocamlbuild.js +45 -0
  33. package/dist/ocaml.ocamlformat.js +8 -0
  34. package/dist/ocaml.ocamllex.js +60 -0
  35. package/dist/ocaml.opam-install.js +49 -0
  36. package/dist/ocaml.opam.js +69 -0
  37. package/dist/ocaml2.js +600 -2676
  38. package/dist/ocaml3.js +89 -105
  39. package/dist/ocamlbuild.js +142 -192
  40. package/dist/ocamldoc.js +54 -0
  41. package/dist/ocamlformat.js +206 -0
  42. package/dist/ocamllex.js +133 -0
  43. package/dist/opam-install.js +40 -0
  44. package/dist/opam.js +100 -109
  45. package/dist/reason-markdown-codeblock.js +1 -1
  46. package/dist/reason.js +0 -4
  47. package/dist/scalameta.js +1 -1
  48. package/dist/tools/EditorOpenHandlerRegistry.d.ts +8 -0
  49. package/package.json +47 -3
  50. package/stats.html +1 -1
  51. package/dist/ocaml-hover-info.js +0 -34
  52. package/dist/ocaml-hover-type.js +0 -24
  53. package/dist/ocaml-reason.js +0 -100
  54. package/dist/reason-hover-info.js +0 -34
  55. package/dist/reason-hover-signature.js +0 -21
  56. package/dist/reason-hover-type.js +0 -21
  57. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
  58. package/dist/services/TextModelService.d.ts +0 -25
@@ -0,0 +1,206 @@
1
+ var name = "OCamlFormat";
2
+ var scopeName = "source.ocaml.ocamlformat";
3
+ var fileTypes = [
4
+ ".ocamlformat"
5
+ ];
6
+ var patterns = [
7
+ {
8
+ include: "#comments"
9
+ },
10
+ {
11
+ include: "#options"
12
+ },
13
+ {
14
+ include: "#values"
15
+ },
16
+ {
17
+ comment: "equals sign",
18
+ name: "punctuation.separator.key-value.ocamlformat",
19
+ match: "="
20
+ }
21
+ ];
22
+ var repository = {
23
+ comments: {
24
+ comment: "line comment",
25
+ name: "comment.line.ocamlformat",
26
+ begin: "#",
27
+ end: "$"
28
+ },
29
+ options: {
30
+ patterns: [
31
+ {
32
+ name: "keyword.other.ocamlformat",
33
+ match: "\\b(align-cases|align-constructors-decl|align-variants-decl|assignment-operator)\\b"
34
+ },
35
+ {
36
+ name: "keyword.other.ocamlformat",
37
+ match: "\\b(break-before-in|break-cases|break-collection-expressions|break-collection|break-fun-decl|break-fun-sig|break-infix-before-func|break-infix|break-separators|break-sequences|break-string-literals|break-struct)\\b"
38
+ },
39
+ {
40
+ name: "keyword.other.ocamlformat",
41
+ match: "\\b(cases-exp-indent|cases-matching-exp-indent|comment-check)\\b"
42
+ },
43
+ {
44
+ name: "keyword.other.ocamlformat",
45
+ match: "\\b(disable|disambiguate-non-breaking-match|doc-comments-padding|doc-comments-tag-only|doc-comments-val|doc-comments|dock-collection-brackets)\\b"
46
+ },
47
+ {
48
+ name: "keyword.other.ocamlformat",
49
+ match: "\\b(escape-chars|escape-strings|exp-grouping|extension-indent|extension-sugar)\\b"
50
+ },
51
+ {
52
+ name: "keyword.other.ocamlformat",
53
+ match: "\\b(field-space|function-indent-nested|function-indent)\\b"
54
+ },
55
+ {
56
+ name: "keyword.other.ocamlformat",
57
+ match: "\\b(if-then-else|indent-after-in|indicate-multiline-delimiters|indicate-nested-or-patterns|infix-precedence)\\b"
58
+ },
59
+ {
60
+ name: "keyword.other.ocamlformat",
61
+ match: "\\b(leading-nested-match-parens|let-and|let-binding-indent|let-binding-spacing|let-module|let-open)\\b"
62
+ },
63
+ {
64
+ name: "keyword.other.ocamlformat",
65
+ match: "\\b(m|margin|match-indent-nested|match-indent|max-indent|module-item-spacing|max-iters)\\b"
66
+ },
67
+ {
68
+ name: "keyword.other.ocamlformat",
69
+ match: "\\b(n|nested-match|no-align-cases|no-align-constructors-decl|no-align-variants-decl|no-break-infix-before-func|no-break-sequences|no-disable|no-disambiguate-non-breaking-match|no-dock-collection-brackets|no-leading-nested-match-parens|no-ocp-indent-compat|no-parens-ite|no-parse-docstrings|no-space-around-arrays|no-space-around-lists|no-space-around-records|no-space-around-variants|no-wrap-comments|no-wrap-fun-args)\\b"
70
+ },
71
+ {
72
+ name: "keyword.other.ocamlformat",
73
+ match: "\\b(ocp-indent-compat)\\b"
74
+ },
75
+ {
76
+ name: "keyword.other.ocamlformat",
77
+ match: "\\b(p|profile|parens-ite|parens-tuple-patterns|parens-tuple|parse-docstrings)\\b"
78
+ },
79
+ {
80
+ name: "keyword.other.ocamlformat",
81
+ match: "\\b(q|quiet)\\b"
82
+ },
83
+ {
84
+ name: "keyword.other.ocamlformat",
85
+ match: "\\b(sequence-blank-line|sequence-style|single-case|space-around-arrays|space-around-lists|space-around-records|space-around-variants|stritem-extension-indent)\\b"
86
+ },
87
+ {
88
+ name: "keyword.other.ocamlformat",
89
+ match: "\\b(type-decl-indent|type-decl)\\b"
90
+ },
91
+ {
92
+ name: "keyword.other.ocamlformat",
93
+ match: "\\b(version)\\b"
94
+ },
95
+ {
96
+ name: "keyword.other.ocamlformat",
97
+ match: "\\b(wrap-comments|wrap-fun-args)\\b"
98
+ }
99
+ ]
100
+ },
101
+ values: {
102
+ patterns: [
103
+ {
104
+ comment: "boolean literal",
105
+ name: "string.other.ocamlformat",
106
+ match: "\\b(true|false)\\b"
107
+ },
108
+ {
109
+ comment: "numeric literal",
110
+ name: "constant.numeric.decimal.ocamlformat",
111
+ match: "\\b([[:digit:]]+(\\.[[:digit:]]*)*)\\b"
112
+ },
113
+ {
114
+ name: "string.other.ocamlformat",
115
+ match: "\\b(after-when-possible|after|align|all|always|auto)\\b"
116
+ },
117
+ {
118
+ name: "string.other.ocamlformat",
119
+ match: "\\b(before-except-val|before|begin-line)\\b"
120
+ },
121
+ {
122
+ name: "string.other.ocamlformat",
123
+ match: "\\b(closing-on-separate-line|compact|conventional)\\b"
124
+ },
125
+ {
126
+ name: "string.other.ocamlformat",
127
+ match: "\\b(decimal|default|double-semicolon)\\b"
128
+ },
129
+ {
130
+ name: "string.other.ocamlformat",
131
+ match: "\\b(end-line)\\b"
132
+ },
133
+ {
134
+ name: "string.other.ocamlformat",
135
+ match: "\\b(fit-or-vertical|fit|force)\\b"
136
+ },
137
+ {
138
+ name: "string.other.ocamlformat",
139
+ match: "\\b(hexadecimal)\\b"
140
+ },
141
+ {
142
+ name: "string.other.ocamlformat",
143
+ match: "\\b(indent)\\b"
144
+ },
145
+ {
146
+ name: "string.other.ocamlformat",
147
+ match: "\\b(janestreet)\\b"
148
+ },
149
+ {
150
+ name: "string.other.ocamlformat",
151
+ match: "\\b(k-r|keyword-first)\\b"
152
+ },
153
+ {
154
+ name: "string.other.ocamlformat",
155
+ match: "\\b(long|loose)\\b"
156
+ },
157
+ {
158
+ name: "string.other.ocamlformat",
159
+ match: "\\b(multi-line-only)\\b"
160
+ },
161
+ {
162
+ name: "string.other.ocamlformat",
163
+ match: "\\b(natural|nested|never|no|normal)\\b"
164
+ },
165
+ {
166
+ name: "string.other.ocamlformat",
167
+ match: "\\b(ocamlformat)\\b"
168
+ },
169
+ {
170
+ name: "string.other.ocamlformat",
171
+ match: "\\b(parens|preserve-one|preserve)\\b"
172
+ },
173
+ {
174
+ name: "string.other.ocamlformat",
175
+ match: "\\b(separator|short|smart|space|sparse)\\b"
176
+ },
177
+ {
178
+ name: "string.other.ocamlformat",
179
+ match: "\\b(terminator|tight-decl|tight|toplevel)\\b"
180
+ },
181
+ {
182
+ name: "string.other.ocamlformat",
183
+ match: "\\b(unsafe-no|unset)\\b"
184
+ },
185
+ {
186
+ name: "string.other.ocamlformat",
187
+ match: "\\b(wrap)\\b"
188
+ }
189
+ ]
190
+ }
191
+ };
192
+ var information_for_contributors = [
193
+ "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
194
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
195
+ "Once accepted there, we are happy to receive an update request."
196
+ ];
197
+ var ocamlformat = {
198
+ name: name,
199
+ scopeName: scopeName,
200
+ fileTypes: fileTypes,
201
+ patterns: patterns,
202
+ repository: repository,
203
+ information_for_contributors: information_for_contributors
204
+ };
205
+
206
+ export { ocamlformat as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName };
@@ -0,0 +1,133 @@
1
+ var name = "OCamllex";
2
+ var scopeName = "source.ocaml.ocamllex";
3
+ var fileTypes = [
4
+ "mll"
5
+ ];
6
+ var foldingStartMarker = "{";
7
+ var foldingStopMarker = "}";
8
+ var keyEquivalent = "^~O";
9
+ var patterns = [
10
+ {
11
+ include: "source.ocaml#comments"
12
+ },
13
+ {
14
+ include: "source.ocaml#strings"
15
+ },
16
+ {
17
+ include: "source.ocaml#characters"
18
+ },
19
+ {
20
+ include: "#rules"
21
+ },
22
+ {
23
+ include: "#keywords"
24
+ },
25
+ {
26
+ include: "#actions"
27
+ },
28
+ {
29
+ include: "#regex"
30
+ },
31
+ {
32
+ match: "(’|‘|“|”)",
33
+ name: "invalid.illegal.unrecognized-character.ocamllex"
34
+ }
35
+ ];
36
+ var repository = {
37
+ rules: {
38
+ match: "\\b(rule|and)[[:space:]]+([[:lower:]][[:word:]']*('|\\b))",
39
+ captures: {
40
+ "1": {
41
+ name: "keyword.other.ocamllex"
42
+ },
43
+ "2": {
44
+ name: "entity.name.function.rule.ocamllex"
45
+ }
46
+ }
47
+ },
48
+ keywords: {
49
+ patterns: [
50
+ {
51
+ comment: "ocamllex reserved keywords",
52
+ name: "keyword.other.ocamllex",
53
+ match: "\\b(let|as|rule|and|parse|shortest|refill)\\b(?!')"
54
+ },
55
+ {
56
+ comment: "assignment operator",
57
+ match: "=",
58
+ name: "keyword.operator.symbol.ocamllex"
59
+ }
60
+ ]
61
+ },
62
+ actions: {
63
+ patterns: [
64
+ {
65
+ comment: "embedded ocaml source",
66
+ begin: "{",
67
+ beginCaptures: [
68
+ {
69
+ name: "keyword.other.ocamllex"
70
+ }
71
+ ],
72
+ end: "}",
73
+ endCaptures: [
74
+ {
75
+ name: "keyword.other.ocamllex"
76
+ }
77
+ ],
78
+ patterns: [
79
+ {
80
+ include: "source.ocaml"
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ },
86
+ regex: {
87
+ patterns: [
88
+ {
89
+ comment: "regex character set",
90
+ name: "punctuation.character-set.ocamllex",
91
+ match: "\\[|\\]"
92
+ },
93
+ {
94
+ comment: "regex group",
95
+ name: "punctuation.group.ocamllex",
96
+ match: "\\(|\\)"
97
+ },
98
+ {
99
+ comment: "regex operators",
100
+ name: "keyword.operator.ocamllex",
101
+ match: "\\^|#|\\*|\\+|\\?|\\||-"
102
+ },
103
+ {
104
+ comment: "end-of-file token",
105
+ name: "constant.language.eof.ocamllex",
106
+ match: "\\beof\\b"
107
+ },
108
+ {
109
+ comment: "reference to regex pattern",
110
+ name: "entity.name.type.reference.ocamllex",
111
+ match: "\\b[[:alpha:]][[:word:]']*('|\\b)"
112
+ }
113
+ ]
114
+ }
115
+ };
116
+ var information_for_contributors = [
117
+ "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
118
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
119
+ "Once accepted there, we are happy to receive an update request."
120
+ ];
121
+ var ocamllex = {
122
+ name: name,
123
+ scopeName: scopeName,
124
+ fileTypes: fileTypes,
125
+ foldingStartMarker: foldingStartMarker,
126
+ foldingStopMarker: foldingStopMarker,
127
+ keyEquivalent: keyEquivalent,
128
+ patterns: patterns,
129
+ repository: repository,
130
+ information_for_contributors: information_for_contributors
131
+ };
132
+
133
+ export { ocamllex as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, keyEquivalent, name, patterns, repository, scopeName };
@@ -0,0 +1,40 @@
1
+ var scopeName = "source.ocaml.opam-install";
2
+ var fileTypes = [
3
+ "install"
4
+ ];
5
+ var patterns = [
6
+ {
7
+ name: "comment.line.opam-install",
8
+ begin: "#",
9
+ end: "$"
10
+ },
11
+ {
12
+ match: "^[[:space:]]*(lib|lib_root|libexec|libexec_root|bin|sbin|toplevel|share|share_root|etc|doc|stublibs|man|misc)[[:space:]]*(:)",
13
+ captures: {
14
+ "1": {
15
+ name: "entity.name.tag.opam-install"
16
+ },
17
+ "2": {
18
+ name: "keyword.operator.opam-install"
19
+ }
20
+ }
21
+ },
22
+ {
23
+ name: "string.quoted.double.opam-install",
24
+ begin: "\"",
25
+ end: "\""
26
+ }
27
+ ];
28
+ var information_for_contributors = [
29
+ "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
30
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
31
+ "Once accepted there, we are happy to receive an update request."
32
+ ];
33
+ var opamInstall = {
34
+ scopeName: scopeName,
35
+ fileTypes: fileTypes,
36
+ patterns: patterns,
37
+ information_for_contributors: information_for_contributors
38
+ };
39
+
40
+ export { opamInstall as default, fileTypes, information_for_contributors, patterns, scopeName };
package/dist/opam.js CHANGED
@@ -4,137 +4,128 @@ var fileTypes = [
4
4
  ];
5
5
  var patterns = [
6
6
  {
7
- include: "#directive"
7
+ include: "#comments"
8
+ },
9
+ {
10
+ include: "#fields"
11
+ },
12
+ {
13
+ include: "#values"
8
14
  }
9
15
  ];
10
16
  var repository = {
11
- directive: {
17
+ comments: {
12
18
  patterns: [
13
19
  {
14
- begin: "\\b(depends)\\b",
15
- end: "(?<=\\])",
16
- beginCaptures: {
17
- "1": {
18
- name: "storage.type"
19
- }
20
- },
21
- patterns: [
22
- {
23
- match: "\\G(:)",
24
- name: "keyword.other"
25
- },
26
- {
27
- begin: "\\[",
28
- end: "\\]",
29
- patterns: [
30
- {
31
- begin: "(\")",
32
- end: "(\")",
33
- beginCaptures: {
34
- "1": {
35
- name: "comment.line"
36
- }
37
- },
38
- endCaptures: {
39
- "1": {
40
- name: "comment.line"
41
- }
42
- },
43
- patterns: [
44
- {
45
- match: "\\b([[:alpha:]][[:word:]]*)\\b[[:space:]]*(\\.)?",
46
- captures: {
47
- "1": {
48
- name: "entity.name.class"
49
- },
50
- "2": {
51
- name: "keyword.other"
52
- }
53
- }
54
- }
55
- ]
56
- }
57
- ]
58
- }
59
- ]
20
+ comment: "block comment",
21
+ name: "comment.block.opam",
22
+ begin: "\\(\\*",
23
+ end: "\\*\\)"
60
24
  },
61
25
  {
62
- end: "(?=[:])",
26
+ comment: "line comment",
27
+ name: "comment.line.opam",
28
+ begin: "#",
29
+ end: "$"
30
+ }
31
+ ]
32
+ },
33
+ fields: {
34
+ comment: "labeled field",
35
+ match: "^([[:word:]-]*[[:alpha:]][[:word:]-]*)(:)",
36
+ captures: {
37
+ "1": {
38
+ name: "entity.name.tag.opam"
39
+ },
40
+ "2": {
41
+ name: "keyword.operator.opam"
42
+ }
43
+ }
44
+ },
45
+ values: {
46
+ patterns: [
47
+ {
48
+ comment: "boolean literal",
49
+ name: "constant.language.opam",
50
+ match: "\\b(true|false)\\b"
51
+ },
52
+ {
53
+ comment: "integer literal",
54
+ name: "constant.numeric.decimal.opam",
55
+ match: "(\\b|\\-?)[[:digit:]]+\\b"
56
+ },
57
+ {
58
+ comment: "double-quote string literal",
59
+ name: "string.quoted.double.opam",
60
+ begin: "\"",
61
+ end: "\"",
63
62
  patterns: [
64
63
  {
65
- begin: "(\")",
66
- end: "(\")",
67
- beginCaptures: {
68
- "1": {
69
- name: "keyword.other"
70
- }
71
- },
72
- endCaptures: {
73
- "1": {
74
- name: "keyword.other"
75
- }
76
- },
77
- patterns: [
78
- {
79
- match: "(?<![\\-\\+])(?:(\\b[[:word:]]+\\b)|([*]+))[[:space:]]*([\\./])?",
80
- captures: {
81
- "1": {
82
- name: "string.double"
83
- },
84
- "2": {
85
- name: "constant.language"
86
- },
87
- "3": {
88
- name: "keyword.other"
89
- }
90
- }
91
- }
92
- ]
93
- },
94
- {
95
- match: "\\b([[:alpha:]][[:word:]]*)\\b([\\-])?",
96
- captures: {
97
- "1": {
98
- name: "constant.language"
99
- },
100
- "2": {
101
- name: "keyword.other"
102
- }
103
- }
64
+ include: "#string-elements"
104
65
  }
105
66
  ]
106
67
  },
107
68
  {
108
- begin: "(:)",
109
- end: "$",
110
- beginCaptures: {
111
- "1": {
112
- name: "keyword.other"
113
- }
114
- },
69
+ comment: "triple-double-quote string literal",
70
+ name: "string.quoted.triple-double.opam",
71
+ begin: "\"\"\"",
72
+ end: "\"\"\"",
115
73
  patterns: [
116
74
  {
117
- begin: "(\")",
118
- end: "(\")",
119
- contentName: "variable.parameter",
120
- beginCaptures: {
121
- "1": {
122
- name: "comment.line"
123
- }
124
- },
125
- endCaptures: {
126
- "1": {
127
- name: "comment.line"
128
- }
129
- }
75
+ include: "#string-elements"
130
76
  }
131
77
  ]
78
+ },
79
+ {
80
+ comment: "operator",
81
+ name: "keyword.operator.opam",
82
+ match: "[!=<>\\|&?:]+"
83
+ },
84
+ {
85
+ comment: "identifier",
86
+ match: "\\b([[:word:]+-]+)\\b",
87
+ name: "variable.parameter.opam"
88
+ }
89
+ ]
90
+ },
91
+ "string-elements": {
92
+ patterns: [
93
+ {
94
+ comment: "escaped backslash",
95
+ name: "constant.character.escape.opam",
96
+ match: "\\\\\\\\"
97
+ },
98
+ {
99
+ comment: "escaped quote or whitespace",
100
+ name: "constant.character.escape.opam",
101
+ match: "\\\\[\"ntbr\\n]"
102
+ },
103
+ {
104
+ comment: "character from decimal ASCII code",
105
+ name: "constant.character.escape.opam",
106
+ match: "\\\\[[:digit:]]{3}"
107
+ },
108
+ {
109
+ comment: "character from hexadecimal ASCII code",
110
+ name: "constant.character.escape.opam",
111
+ match: "\\\\x[[:xdigit:]]{2}"
112
+ },
113
+ {
114
+ comment: "variable interpolation",
115
+ name: "constant.variable.opam",
116
+ begin: "%\\{",
117
+ end: "}\\%"
118
+ },
119
+ {
120
+ comment: "unknown escape sequence",
121
+ name: "invalid.illegal.unknown-escape.opam",
122
+ match: "\\\\."
132
123
  }
133
124
  ]
134
125
  }
135
126
  };
136
127
  var information_for_contributors = [
137
- "This file has been converted from https://github.com/reasonml-editor/vscode-reasonml/blob/master/",
128
+ "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
138
129
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
139
130
  "Once accepted there, we are happy to receive an update request."
140
131
  ];
@@ -26,7 +26,7 @@ var repository = {
26
26
  };
27
27
  var scopeName = "markdown.reason.codeblock";
28
28
  var information_for_contributors = [
29
- "This file has been converted from https://github.com/reasonml-editor/vscode-reasonml/blob/master/",
29
+ "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
30
30
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
31
31
  "Once accepted there, we are happy to receive an update request."
32
32
  ];
package/dist/reason.js CHANGED
@@ -67,10 +67,6 @@ var surroundingPairs = [
67
67
  [
68
68
  "\"",
69
69
  "\""
70
- ],
71
- [
72
- "`",
73
- "`"
74
70
  ]
75
71
  ];
76
72
  var reason = {
package/dist/scalameta.js CHANGED
@@ -4,7 +4,7 @@ var scalameta = [
4
4
  "properties": {
5
5
  "metals.serverVersion": {
6
6
  "type": "string",
7
- "default": "0.11.7+7-67ce8743-SNAPSHOT",
7
+ "default": "0.11.7+19-1405f4de-SNAPSHOT",
8
8
  "markdownDescription": "The version of the Metals server artifact. Requires reloading the window. \n\n**VS Code extension version is guaranteed to work only with the default version, change if you know what you're doing**",
9
9
  "scope": 3
10
10
  },
@@ -0,0 +1,8 @@
1
+ import * as monaco from 'monaco-editor';
2
+ import { OpenEditor, IEditorOptions } from 'vscode/service-override/modelEditor';
3
+ export declare type EditorOpenHandler = (model: monaco.editor.ITextModel, input: IEditorOptions | undefined, editor: monaco.editor.ICodeEditor | null, sideBySide?: boolean) => Promise<monaco.editor.ICodeEditor | null>;
4
+ export default class EditorOpenHandlerRegistry {
5
+ private handlers;
6
+ registerEditorOpenHandler(handler: EditorOpenHandler): monaco.IDisposable;
7
+ openCodeEditor: OpenEditor;
8
+ }