@codingame/monaco-editor-wrapper 1.4.2 → 1.4.3

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 (46) hide show
  1. package/dist/main.js +1 -1
  2. package/package.json +4 -3
  3. package/stats.html +1 -1
  4. package/dist/COBOL Copybook2.js +0 -2017
  5. package/dist/COBOL2.js +0 -2017
  6. package/dist/SQL.plist.js +0 -482
  7. package/dist/bsv2.js +0 -49
  8. package/dist/c2.js +0 -18
  9. package/dist/coffeescript2.js +0 -18
  10. package/dist/configuration/hack.d.ts +0 -2
  11. package/dist/cpp2.js +0 -18
  12. package/dist/csharp2.js +0 -508
  13. package/dist/cssContribution.js +0 -10
  14. package/dist/diet3.js +0 -92
  15. package/dist/extensionConfigurations.js +0 -9475
  16. package/dist/fsharp2.js +0 -18
  17. package/dist/groovy2.js +0 -229
  18. package/dist/html (eex).js +0 -31
  19. package/dist/htmlContribution.js +0 -10
  20. package/dist/javascript2.js +0 -196
  21. package/dist/javascriptreact2.js +0 -196
  22. package/dist/jsonContribution.js +0 -78
  23. package/dist/kotlin2.js +0 -117
  24. package/dist/kotlinscript2.js +0 -117
  25. package/dist/languages/extensions/configurationLoader.d.ts +0 -1306
  26. package/dist/languages/monarch/list.d.ts +0 -7
  27. package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
  28. package/dist/markdown-basics.js +0 -103
  29. package/dist/markdown2.js +0 -103
  30. package/dist/pgsql-sql.js +0 -21
  31. package/dist/pgsql.js +0 -21
  32. package/dist/php2.js +0 -265
  33. package/dist/powershell2.js +0 -18
  34. package/dist/r.tmLanguage.js +0 -572
  35. package/dist/reason2.js +0 -100
  36. package/dist/services/functional.d.ts +0 -1
  37. package/dist/services/lyfecycle.d.ts +0 -13
  38. package/dist/sql2.js +0 -21
  39. package/dist/swift2.js +0 -183
  40. package/dist/systemverilog2.js +0 -208
  41. package/dist/tcl2.js +0 -151
  42. package/dist/typescript-basics.js +0 -312
  43. package/dist/typescript2.js +0 -312
  44. package/dist/typescriptContribution.js +0 -36
  45. package/dist/typescriptreact2.js +0 -312
  46. package/dist/vb2.js +0 -88
@@ -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);
package/dist/kotlin2.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 };