@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.
Files changed (98) 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/cpp.tmLanguage.js +50 -15
  8. package/dist/cpptools.js +44 -3
  9. package/dist/cram.js +257 -0
  10. package/dist/dart3.js +37 -1
  11. package/dist/directives.tmLanguage.js +20 -0
  12. package/dist/dune-project.js +65 -0
  13. package/dist/dune-project2.js +481 -0
  14. package/dist/dune-workspace.js +65 -0
  15. package/dist/dune-workspace2.js +298 -0
  16. package/dist/dune.js +65 -0
  17. package/dist/dune2.js +2962 -0
  18. package/dist/erlang.js +4 -4
  19. package/dist/features/extensionConfigurations.js +11 -1
  20. package/dist/fsharp.tmLanguage.js +24 -4
  21. package/dist/index.js +38 -1
  22. package/dist/interpolations.tmLanguage.js +20 -0
  23. package/dist/java2.js +6 -0
  24. package/dist/json.js +1 -1
  25. package/dist/jsonc.js +1 -1
  26. package/dist/lua2.js +1089 -125
  27. package/dist/main.js +825 -426
  28. package/dist/markdown-svelte-css.js +37 -0
  29. package/dist/markdown-svelte-js.js +37 -0
  30. package/dist/markdown-svelte.js +59 -0
  31. package/dist/markdown-vue.js +59 -0
  32. package/dist/menhir-action.js +51 -0
  33. package/dist/menhir.js +597 -0
  34. package/dist/merlin.js +23 -23
  35. package/dist/monaco.d.ts +1 -1
  36. package/dist/oasis.js +99 -0
  37. package/dist/ocaml-dune-project.js +38 -0
  38. package/dist/ocaml-dune.js +53 -0
  39. package/dist/ocaml-markdown-codeblock.js +1 -1
  40. package/dist/ocaml-ocaml.js +88 -0
  41. package/dist/ocaml-ocamllex.js +12 -0
  42. package/dist/ocaml.META.js +29 -0
  43. package/dist/ocaml.interface.js +114 -0
  44. package/dist/ocaml.interface2.js +292 -0
  45. package/dist/ocaml.js +40 -8
  46. package/dist/ocaml.menhir.js +81 -0
  47. package/dist/ocaml.oasis.js +18 -0
  48. package/dist/ocaml.ocamlbuild.js +45 -0
  49. package/dist/ocaml.ocamlformat.js +8 -0
  50. package/dist/ocaml.ocamllex.js +60 -0
  51. package/dist/ocaml.opam-install.js +49 -0
  52. package/dist/ocaml.opam.js +69 -0
  53. package/dist/ocaml2.js +600 -2676
  54. package/dist/ocaml3.js +89 -105
  55. package/dist/ocamlbuild.js +142 -192
  56. package/dist/ocamldoc.js +54 -0
  57. package/dist/ocamlformat.js +206 -0
  58. package/dist/ocamllex.js +133 -0
  59. package/dist/omnisharp.js +2 -2
  60. package/dist/opam-install.js +40 -0
  61. package/dist/opam.js +100 -109
  62. package/dist/postcss.src.yaml.js +393 -0
  63. package/dist/pug-svelte-dotblock.js +69 -0
  64. package/dist/pug-svelte-tags.js +215 -0
  65. package/dist/pug-svelte.js +307 -0
  66. package/dist/reason-markdown-codeblock.js +1 -1
  67. package/dist/reason.js +0 -4
  68. package/dist/scalameta.js +5 -3
  69. package/dist/sql.tmLanguage.js +21 -5
  70. package/dist/svelte.js +118 -0
  71. package/dist/svelte.svelte-vscode-svelte.js +46 -0
  72. package/dist/svelte.svelte-vscode.js +373 -0
  73. package/dist/svelte.tmLanguage.src.yaml.js +1099 -0
  74. package/dist/theme-defaults~light_vs.js +2 -1
  75. package/dist/tools/EditorOpenHandlerRegistry.d.ts +8 -0
  76. package/dist/typescript-language-features.js +16 -0
  77. package/dist/typescript.js +20 -1
  78. package/dist/typescriptreact.js +20 -1
  79. package/dist/vetur.js +407 -0
  80. package/dist/vscode-R.js +55 -0
  81. package/dist/vscode-python.js +6 -6
  82. package/dist/vue-generated.js +1301 -0
  83. package/dist/vue-html.js +99 -0
  84. package/dist/vue-html.tmLanguage.js +573 -0
  85. package/dist/vue-postcss.js +72 -0
  86. package/dist/vue-sugarss.js +60 -0
  87. package/dist/vue-sugarss2.js +396 -0
  88. package/dist/vue.js +106 -0
  89. package/package.json +52 -6
  90. package/stats.html +1 -1
  91. package/dist/ocaml-hover-info.js +0 -34
  92. package/dist/ocaml-hover-type.js +0 -24
  93. package/dist/ocaml-reason.js +0 -100
  94. package/dist/reason-hover-info.js +0 -34
  95. package/dist/reason-hover-signature.js +0 -21
  96. package/dist/reason-hover-type.js +0 -21
  97. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
  98. package/dist/services/TextModelService.d.ts +0 -25
@@ -1,34 +0,0 @@
1
- var scopeName = "source.ocaml.hover.info";
2
- var patterns = [
3
- {
4
- begin: "\\b(position)\\b(:)",
5
- end: "$",
6
- beginCaptures: {
7
- "2": {
8
- name: "keyword.other"
9
- }
10
- },
11
- patterns: [
12
- {
13
- match: "\\bnormal\\b",
14
- name: "comment.line"
15
- },
16
- {
17
- match: "\\btail\\b",
18
- name: "entity.name.function"
19
- }
20
- ]
21
- }
22
- ];
23
- var information_for_contributors = [
24
- "This file has been converted from https://github.com/reasonml-editor/vscode-reasonml/blob/master/",
25
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
26
- "Once accepted there, we are happy to receive an update request."
27
- ];
28
- var ocamlHoverInfo = {
29
- scopeName: scopeName,
30
- patterns: patterns,
31
- information_for_contributors: information_for_contributors
32
- };
33
-
34
- export { ocamlHoverInfo as default, information_for_contributors, patterns, scopeName };
@@ -1,24 +0,0 @@
1
- var scopeName = "source.ocaml.hover.type";
2
- var patterns = [
3
- {
4
- include: "source.ocaml#decl"
5
- },
6
- {
7
- include: "source.ocaml#type"
8
- },
9
- {
10
- include: "source.ocaml#signature"
11
- }
12
- ];
13
- var information_for_contributors = [
14
- "This file has been converted from https://github.com/reasonml-editor/vscode-reasonml/blob/master/",
15
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
16
- "Once accepted there, we are happy to receive an update request."
17
- ];
18
- var ocamlHoverType = {
19
- scopeName: scopeName,
20
- patterns: patterns,
21
- information_for_contributors: information_for_contributors
22
- };
23
-
24
- export { ocamlHoverType as default, information_for_contributors, patterns, scopeName };
@@ -1,100 +0,0 @@
1
- var lambda = {
2
- prefix: "fun",
3
- body: [
4
- "(${1:pattern}) => ${2:${1:pattern}}"
5
- ]
6
- };
7
- var module = {
8
- prefix: "module",
9
- body: [
10
- "module ${1:M} = ${2:{}};$0"
11
- ]
12
- };
13
- var type = {
14
- prefix: "type",
15
- body: [
16
- "type ${1:name} ${2:'${3:arg} }=",
17
- "\t| ${4:Con${2: '${3:arg}}}",
18
- "\t;"
19
- ]
20
- };
21
- var ocamlReason = {
22
- "function": {
23
- prefix: "let",
24
- body: [
25
- "let ${1:f} = (${2:pattern}) => ${3:${2:pattern}};$0"
26
- ]
27
- },
28
- "function (block)": {
29
- prefix: "let",
30
- body: [
31
- "let ${1:f} = (${2:pattern}) => {",
32
- "\t${3:${2:pattern}}$0",
33
- "};"
34
- ]
35
- },
36
- lambda: lambda,
37
- "lambda (switch)": {
38
- prefix: "fun",
39
- body: [
40
- "fun",
41
- "\t| ${1:pattern} => ${2:${1:pattern}}",
42
- "\t;"
43
- ]
44
- },
45
- "let": {
46
- prefix: "let",
47
- body: [
48
- "let ${1:pattern} = ${2:()};$0"
49
- ]
50
- },
51
- "let (block)": {
52
- prefix: "let",
53
- body: [
54
- "let ${1:pattern} = {",
55
- "\t$0",
56
- "};"
57
- ]
58
- },
59
- module: module,
60
- "module (block)": {
61
- prefix: "module",
62
- body: [
63
- "module ${1:M} = {",
64
- "\t$0",
65
- "};"
66
- ]
67
- },
68
- "module function": {
69
- prefix: "module",
70
- body: [
71
- "module ${1:M} = (${2:X}: $3{:{}}) => ${4:${2:X}};$0"
72
- ]
73
- },
74
- "module function (block)": {
75
- prefix: "module",
76
- body: [
77
- "module ${1:M} = (${2:X}: $3{:{}}) => {",
78
- "\t${4:include ${2:X}}",
79
- "\t$0",
80
- "};"
81
- ]
82
- },
83
- "switch": {
84
- prefix: "switch",
85
- body: [
86
- "switch ${1:scrutinee} {",
87
- "| ${2:pattern} => ${3:${2:pattern}}",
88
- "};"
89
- ]
90
- },
91
- "type (alias or abstract)": {
92
- prefix: "type",
93
- body: [
94
- "type ${1:name} ${2:${3:'${4:arg} }= ${5:'${4:arg}}};$0"
95
- ]
96
- },
97
- type: type
98
- };
99
-
100
- export { ocamlReason as default, lambda, module, type };
@@ -1,34 +0,0 @@
1
- var scopeName = "source.reason.hover.info";
2
- var patterns = [
3
- {
4
- begin: "\\b(position)\\b(:)",
5
- end: "$",
6
- beginCaptures: {
7
- "2": {
8
- name: "keyword.other"
9
- }
10
- },
11
- patterns: [
12
- {
13
- match: "\\bnormal\\b",
14
- name: "comment.line"
15
- },
16
- {
17
- match: "\\btail\\b",
18
- name: "entity.name.function"
19
- }
20
- ]
21
- }
22
- ];
23
- var information_for_contributors = [
24
- "This file has been converted from https://github.com/reasonml-editor/vscode-reasonml/blob/master/",
25
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
26
- "Once accepted there, we are happy to receive an update request."
27
- ];
28
- var reasonHoverInfo = {
29
- scopeName: scopeName,
30
- patterns: patterns,
31
- information_for_contributors: information_for_contributors
32
- };
33
-
34
- export { reasonHoverInfo as default, information_for_contributors, patterns, scopeName };
@@ -1,21 +0,0 @@
1
- var scopeName = "source.reason.hover.signature";
2
- var patterns = [
3
- {
4
- include: "source.reason#signature-expression"
5
- },
6
- {
7
- include: "source.reason#type-expression"
8
- }
9
- ];
10
- var information_for_contributors = [
11
- "This file has been converted from https://github.com/reasonml-editor/vscode-reasonml/blob/master/",
12
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
13
- "Once accepted there, we are happy to receive an update request."
14
- ];
15
- var reasonHoverSignature = {
16
- scopeName: scopeName,
17
- patterns: patterns,
18
- information_for_contributors: information_for_contributors
19
- };
20
-
21
- export { reasonHoverSignature as default, information_for_contributors, patterns, scopeName };
@@ -1,21 +0,0 @@
1
- var scopeName = "source.reason.hover.type";
2
- var patterns = [
3
- {
4
- include: "source.reason#module-item-type"
5
- },
6
- {
7
- include: "source.reason#type-expression"
8
- }
9
- ];
10
- var information_for_contributors = [
11
- "This file has been converted from https://github.com/reasonml-editor/vscode-reasonml/blob/master/",
12
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
13
- "Once accepted there, we are happy to receive an update request."
14
- ];
15
- var reasonHoverType = {
16
- scopeName: scopeName,
17
- patterns: patterns,
18
- information_for_contributors: information_for_contributors
19
- };
20
-
21
- export { reasonHoverType as default, information_for_contributors, patterns, scopeName };
@@ -1,9 +0,0 @@
1
- import * as monaco from 'monaco-editor';
2
- export declare type EditorOpenHandler = (model: monaco.editor.ITextModel, input: monaco.extra.IResourceEditorInput, editor: monaco.editor.ICodeEditor | null, sideBySide?: boolean) => Promise<monaco.editor.ICodeEditor | null>;
3
- export default class MultiEditorStandaloneCodeEditorServiceImpl extends monaco.extra.StandaloneCodeEditorService {
4
- private textModelService;
5
- constructor(contextKeyService: monaco.extra.IContextKeyService, themeService: monaco.editor.IThemeService, textModelService: monaco.extra.ITextModelService);
6
- private handlers;
7
- registerEditorOpenHandler(handler: EditorOpenHandler): monaco.IDisposable;
8
- openCodeEditor(input: monaco.extra.IResourceEditorInput, editor: monaco.editor.ICodeEditor | null, sideBySide?: boolean): Promise<monaco.editor.ICodeEditor | null>;
9
- }
@@ -1,25 +0,0 @@
1
- import * as monaco from 'monaco-editor';
2
- export declare class SimpleResolvedModel implements monaco.extra.IResolvedTextEditorModel {
3
- private model;
4
- private readonly;
5
- private readonly _onWillDispose;
6
- constructor(model: monaco.editor.ITextModel, readonly: boolean);
7
- getLanguageId(): string | undefined;
8
- get onWillDispose(): monaco.IEvent<void>;
9
- resolve(): Promise<void>;
10
- get textEditorModel(): monaco.editor.ITextModel;
11
- createSnapshot(): monaco.editor.ITextSnapshot;
12
- isReadonly(): boolean;
13
- private disposed;
14
- dispose(): void;
15
- isDisposed(): boolean;
16
- isResolved(): boolean;
17
- getMode(): string | undefined;
18
- }
19
- export default class TextModelService extends monaco.extra.StandaloneTextModelService {
20
- private readonly resourceModelCollection;
21
- private readonly asyncModelCollection;
22
- constructor(modelService: monaco.extra.IModelService);
23
- registerTextModelContentProvider(scheme: string, provider: monaco.extra.ITextModelContentProvider): monaco.IDisposable;
24
- createModelReference(resource: monaco.Uri): Promise<monaco.extra.IReference<monaco.extra.IResolvedTextEditorModel>>;
25
- }