@codingame/monaco-languageclient-wrapper 1.0.8 → 1.0.9

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 (163) hide show
  1. package/dist/main.js +1 -12
  2. package/package.json +3 -2
  3. package/stats.html +1 -1
  4. package/dist/BSV.tmLanguage.js +0 -299
  5. package/dist/COBOL Copybook.js +0 -2017
  6. package/dist/COBOL.js +0 -2017
  7. package/dist/COBOL.tmLanguage.js +0 -149
  8. package/dist/CodinGameMonacoWorkspace.d.ts +0 -13
  9. package/dist/Configuration.d.ts +0 -15
  10. package/dist/Erlang.plist.js +0 -1752
  11. package/dist/JSON.tmLanguage.js +0 -221
  12. package/dist/JSONC.tmLanguage.js +0 -221
  13. package/dist/JavaScript.tmLanguage.js +0 -5894
  14. package/dist/Kotlin.tmLanguage.js +0 -724
  15. package/dist/MagicPython.tmLanguage.js +0 -5340
  16. package/dist/MagicRegExp.tmLanguage.js +0 -505
  17. package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
  18. package/dist/SQL.plist.js +0 -482
  19. package/dist/Scala.tmLanguage.js +0 -1255
  20. package/dist/TypeScript.tmLanguage.js +0 -5641
  21. package/dist/WatchableConsoleWindow.d.ts +0 -22
  22. package/dist/_rollupPluginBabelHelpers.js +0 -54
  23. package/dist/asp-vb-net.tmlanguage.js +0 -247
  24. package/dist/bsv.js +0 -49
  25. package/dist/c.js +0 -18
  26. package/dist/c.tmLanguage.js +0 -3347
  27. package/dist/cabal.tmLanguage.js +0 -66
  28. package/dist/clojure.tmLanguage.js +0 -443
  29. package/dist/codeblock-cabal.js +0 -42
  30. package/dist/codeblock-haskell.js +0 -42
  31. package/dist/codeblock-literate-haskell.js +0 -42
  32. package/dist/codeblock.js +0 -36
  33. package/dist/codeblock2.js +0 -95
  34. package/dist/coffeescript.js +0 -18
  35. package/dist/coffeescript.tmLanguage.js +0 -1324
  36. package/dist/configuration/index.d.ts +0 -5
  37. package/dist/cpp.js +0 -18
  38. package/dist/cpp.tmLanguage.js +0 -19996
  39. package/dist/csharp.js +0 -18
  40. package/dist/csharp.tmLanguage.js +0 -4750
  41. package/dist/css.tmLanguage.js +0 -1873
  42. package/dist/css.worker.js +0 -6
  43. package/dist/cssContribution.js +0 -10
  44. package/dist/cuda-cpp.tmLanguage.js +0 -19993
  45. package/dist/d.js +0 -3159
  46. package/dist/dart.js +0 -530
  47. package/dist/diet.js +0 -758
  48. package/dist/diet2.js +0 -92
  49. package/dist/dml.js +0 -169
  50. package/dist/eex.js +0 -55
  51. package/dist/elixir.js +0 -2341
  52. package/dist/elixir2.js +0 -184
  53. package/dist/erlang.js +0 -195
  54. package/dist/expression.js +0 -846
  55. package/dist/extensions/autofold.d.ts +0 -2
  56. package/dist/extensions/cobol.d.ts +0 -2
  57. package/dist/extensions/index.d.ts +0 -2
  58. package/dist/features/cssContribution.d.ts +0 -1
  59. package/dist/features/htmlContribution.d.ts +0 -1
  60. package/dist/features/jsonContribution.d.ts +0 -1
  61. package/dist/features/typescriptContribution.d.ts +0 -1
  62. package/dist/fsharp.js +0 -18
  63. package/dist/fsharp.tmLanguage.js +0 -1811
  64. package/dist/go.tmLanguage.js +0 -1025
  65. package/dist/groovy.js +0 -229
  66. package/dist/groovy.tmLanguage.js +0 -1391
  67. package/dist/haskell.tmLanguage.js +0 -629
  68. package/dist/html (eex).js +0 -31
  69. package/dist/html-derivative.tmLanguage.js +0 -57
  70. package/dist/html.tmLanguage.js +0 -2652
  71. package/dist/html.tmLanguage2.js +0 -97
  72. package/dist/html.worker.js +0 -6
  73. package/dist/htmlContribution.js +0 -10
  74. package/dist/inline-styles.js +0 -104
  75. package/dist/inline-template.js +0 -88
  76. package/dist/java.js +0 -18
  77. package/dist/java.tmLanguage.js +0 -1863
  78. package/dist/javascript.js +0 -196
  79. package/dist/javascriptreact.js +0 -196
  80. package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
  81. package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
  82. package/dist/json.worker.js +0 -6
  83. package/dist/jsonContribution.js +0 -78
  84. package/dist/keybindings/index.d.ts +0 -2
  85. package/dist/keybindings/keybindingHelper.d.ts +0 -2
  86. package/dist/keybindings/vim.d.ts +0 -3
  87. package/dist/kotlin.js +0 -117
  88. package/dist/kotlinscript.js +0 -117
  89. package/dist/languages/extensions/grammarLoader.d.ts +0 -91037
  90. package/dist/languages/extensions/snippetLoader.d.ts +0 -4578
  91. package/dist/languages/index.d.ts +0 -3
  92. package/dist/languages/monarch/index.d.ts +0 -7
  93. package/dist/languages/monarch/list.d.ts +0 -7
  94. package/dist/languages/monarch/stub-generator.d.ts +0 -2
  95. package/dist/languages/snippets/index.d.ts +0 -1
  96. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +0 -5
  97. package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
  98. package/dist/languages/textMate/index.d.ts +0 -2
  99. package/dist/literateHaskell.tmLanguage.js +0 -70
  100. package/dist/lua.tmLanguage.js +0 -289
  101. package/dist/markdown.js +0 -103
  102. package/dist/markdown.tmLanguage.js +0 -2784
  103. package/dist/merlin.js +0 -111
  104. package/dist/monaco.d.ts +0 -8
  105. package/dist/objective-c.tmLanguage.js +0 -3618
  106. package/dist/ocaml-hover-info.js +0 -34
  107. package/dist/ocaml-hover-type.js +0 -24
  108. package/dist/ocaml-markdown-codeblock.js +0 -42
  109. package/dist/ocaml.js +0 -2979
  110. package/dist/ocamlbuild.js +0 -239
  111. package/dist/opam.js +0 -149
  112. package/dist/pascal.js +0 -382
  113. package/dist/pascal.tmLanguage.js +0 -169
  114. package/dist/perl.tmLanguage.js +0 -2986
  115. package/dist/perl6.tmLanguage.js +0 -323
  116. package/dist/pgsql.tmLanguage.js +0 -284
  117. package/dist/php.js +0 -265
  118. package/dist/php.tmLanguage.js +0 -3791
  119. package/dist/platform.tmLanguage.js +0 -1135
  120. package/dist/powershell.js +0 -18
  121. package/dist/powershell.tmLanguage.js +0 -1037
  122. package/dist/r.tmLanguage.js +0 -551
  123. package/dist/reason-hover-info.js +0 -34
  124. package/dist/reason-hover-signature.js +0 -21
  125. package/dist/reason-hover-type.js +0 -21
  126. package/dist/reason-markdown-codeblock.js +0 -42
  127. package/dist/reason.js +0 -100
  128. package/dist/ruby.tmLanguage.js +0 -2784
  129. package/dist/rust.tmLanguage.js +0 -1178
  130. package/dist/sassdoc.tmLanguage.js +0 -362
  131. package/dist/scss.tmLanguage.js +0 -1887
  132. package/dist/sdc.tmLanguage.js +0 -712
  133. package/dist/sdl.js +0 -162
  134. package/dist/services/EditorModelResolverService.d.ts +0 -8
  135. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -7
  136. package/dist/shell-unix-bash.tmLanguage.js +0 -1291
  137. package/dist/sql.js +0 -21
  138. package/dist/stub-generator.js +0 -15
  139. package/dist/swift.js +0 -183
  140. package/dist/swift.tmLanguage.js +0 -3288
  141. package/dist/systemverilog.js +0 -208
  142. package/dist/systemverilog.tmLanguage.js +0 -1067
  143. package/dist/tcl.js +0 -151
  144. package/dist/tcl.tmlanguage.yaml.js +0 -5484
  145. package/dist/template.js +0 -207
  146. package/dist/theme/index.d.ts +0 -3
  147. package/dist/theme/registry.d.ts +0 -4
  148. package/dist/theme/semanticHighlight.d.ts +0 -1
  149. package/dist/theme/tools.d.ts +0 -13
  150. package/dist/tools.d.ts +0 -3
  151. package/dist/ts.worker.js +0 -6
  152. package/dist/typescript.js +0 -312
  153. package/dist/typescriptContribution.js +0 -36
  154. package/dist/typescriptreact.js +0 -312
  155. package/dist/ucf.tmLanguage.js +0 -36
  156. package/dist/vb.js +0 -88
  157. package/dist/verilog.js +0 -432
  158. package/dist/verilog.tmLanguage.js +0 -321
  159. package/dist/worker.d.ts +0 -6
  160. package/dist/worker.js +0 -54
  161. package/dist/xml.tmLanguage.js +0 -395
  162. package/dist/xsl.tmLanguage.js +0 -102
  163. package/dist/yaml.tmLanguage.js +0 -629
@@ -1,78 +0,0 @@
1
- import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers.js';
2
- import 'monaco-editor/esm/vs/language/json/monaco.contribution';
3
- import * as monaco from 'monaco-editor/esm/vs/editor/edcore.main';
4
- import { r as registerWorkerLoader } from './worker.js';
5
-
6
- const schemasById = monaco.extra.Registry.as(monaco.extra.JsonContributionExtensions.JSONContribution).getSchemaContributions().schemas; // Hack because the commands are filled by a code not run in monaco-editor
7
-
8
- {
9
- const allCommands = monaco.extra.CommandsRegistry.getCommands();
10
- const keybindingsCommandSchema = schemasById['vscode://schemas/keybindings'].items.properties.command.anyOf[0];
11
- keybindingsCommandSchema.enum = Array.from(allCommands.keys());
12
- keybindingsCommandSchema.enumDescriptions = Array.from(allCommands.values()).map(command => {
13
- var _command$description;
14
-
15
- return (_command$description = command.description) === null || _command$description === void 0 ? void 0 : _command$description.description;
16
- });
17
- }
18
- const vimKeybindingsSchema = {
19
- type: 'object',
20
- properties: {
21
- before: {
22
- type: 'array',
23
- items: {
24
- type: 'string'
25
- }
26
- },
27
- after: {
28
- type: 'array',
29
- items: {
30
- type: 'string'
31
- }
32
- }
33
- }
34
- };
35
- monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
36
- comments: 'ignore',
37
- validate: true,
38
- schemas: [{
39
- uri: 'vscode://schemas/settings/resourceLanguage',
40
- schema: schemasById['vscode://schemas/settings/resourceLanguage']
41
- }, {
42
- uri: 'vscode://schemas/keybindings',
43
- fileMatch: ['file:///keybindings.json'],
44
- schema: schemasById['vscode://schemas/keybindings']
45
- }, {
46
- uri: 'vscode://schemas/settings/user',
47
- fileMatch: ['file:///settings.json'],
48
- schema: {
49
- properties: _objectSpread2(_objectSpread2({}, monaco.extra.allSettings.properties), {}, {
50
- 'vim.normalModeKeyBindings': {
51
- type: 'array',
52
- description: 'Remapped keys in Normal mode.',
53
- items: vimKeybindingsSchema
54
- },
55
- 'vim.insertModeKeyBindings': {
56
- type: 'array',
57
- description: 'Remapped keys in Insert mode.',
58
- items: vimKeybindingsSchema
59
- },
60
- 'vim.visualModeKeyBindings': {
61
- type: 'array',
62
- description: 'Remapped keys in Visual mode.',
63
- items: vimKeybindingsSchema
64
- }
65
- }),
66
- patternProperties: monaco.extra.allSettings.patternProperties,
67
- additionalProperties: true,
68
- allowTrailingCommas: true,
69
- allowComments: true
70
- }
71
- }]
72
- });
73
-
74
- const workerLoader = async () => (await import(
75
- /* webpackChunkName: "MonacoJsonWorker" */
76
- './json.worker.js').then(module => module)).default;
77
-
78
- registerWorkerLoader('json', workerLoader);
@@ -1,2 +0,0 @@
1
- import * as monaco from 'monaco-editor';
2
- export declare function updateEditorKeybindings(editor: monaco.editor.IStandaloneCodeEditor, keyBindingsMode: "vim" | "classic" | "emacs" | undefined, statusBarElement: Element, keyBindings?: monaco.extra.IUserFriendlyKeybinding[]): monaco.IDisposable;
@@ -1,2 +0,0 @@
1
- import * as monaco from 'monaco-editor';
2
- export declare function updateKeybindings(editor: monaco.editor.IStandaloneCodeEditor, bindings: monaco.extra.IUserFriendlyKeybinding[]): void;
@@ -1,3 +0,0 @@
1
- import { IDisposable } from 'monaco-editor';
2
- import * as monaco from 'monaco-editor';
3
- export declare function initVimMode(editor: monaco.editor.IStandaloneCodeEditor, statusBarElement: Element): IDisposable;
package/dist/kotlin.js DELETED
@@ -1,117 +0,0 @@
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 kotlin = {
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, kotlin as default, fun, fun0, fun1, fun2, main, singleton };
@@ -1,117 +0,0 @@
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 };