@codingame/monaco-editor-wrapper 1.2.1 → 1.4.2

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 (95) hide show
  1. package/dist/COBOL Copybook2.js +2017 -0
  2. package/dist/COBOL2.js +2017 -0
  3. package/dist/JavaScript.tmLanguage.js +22 -1
  4. package/dist/JavaScriptReact.tmLanguage.js +22 -1
  5. package/dist/SQL.plist.js +482 -0
  6. package/dist/TypeScript.tmLanguage.js +22 -1
  7. package/dist/TypeScriptReact.tmLanguage.js +22 -1
  8. package/dist/angular.js +56 -0
  9. package/dist/bsv2.js +49 -0
  10. package/dist/buildtarget.js +53 -0
  11. package/dist/c2.js +18 -0
  12. package/dist/clojure.tmLanguage.js +11 -15
  13. package/dist/cobol2.js +80 -0
  14. package/dist/coffeescript2.js +18 -0
  15. package/dist/configuration/hack.d.ts +2 -0
  16. package/dist/cpp2.js +18 -0
  17. package/dist/cpptools.js +2320 -0
  18. package/dist/csharp.tmLanguage.js +5 -5
  19. package/dist/csharp2.js +508 -0
  20. package/dist/d2.js +2 -66
  21. package/dist/d3.js +526 -0
  22. package/dist/dart3.js +966 -0
  23. package/dist/dcf.js +3 -3
  24. package/dist/diet3.js +92 -0
  25. package/dist/elixir3.js +40 -0
  26. package/dist/erlang2.js +92 -0
  27. package/dist/extensionConfigurations.js +1418 -1171
  28. package/dist/features/cssContribution.js +10 -0
  29. package/dist/features/extensionConfigurations.d.ts +1 -0
  30. package/dist/features/extensionConfigurations.js +145 -0
  31. package/dist/features/htmlContribution.js +10 -0
  32. package/dist/features/jsonContribution.js +84 -0
  33. package/dist/features/typescriptContribution.d.ts +4 -0
  34. package/dist/features/typescriptContribution.js +64 -0
  35. package/dist/fsharp.tmLanguage.js +10 -1
  36. package/dist/fsharp2.js +18 -0
  37. package/dist/groovy2.js +229 -0
  38. package/dist/haskell2.js +16 -0
  39. package/dist/html (eex).js +31 -0
  40. package/dist/java2.js +704 -0
  41. package/dist/javascript.js +83 -2
  42. package/dist/javascript2.js +196 -0
  43. package/dist/javascriptreact.js +83 -2
  44. package/dist/javascriptreact2.js +196 -0
  45. package/dist/jsonContribution.js +40 -46
  46. package/dist/jsx-tags.js +51 -2
  47. package/dist/jvm-bytecode-verbose.js +1231 -0
  48. package/dist/jvm-bytecode.js +565 -0
  49. package/dist/kotlin2.js +117 -0
  50. package/dist/kotlinscript2.js +117 -0
  51. package/dist/languages/extensions/configurationLoader.d.ts +1 -13
  52. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
  53. package/dist/languages/extensions/grammarLoader.d.ts +2 -101920
  54. package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
  55. package/dist/languages/extensions/snippetLoader.d.ts +3 -5606
  56. package/dist/languages/monarch/list.d.ts +7 -0
  57. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  58. package/dist/lua2.js +1511 -0
  59. package/dist/main.js +155 -98
  60. package/dist/markdown-basics.js +103 -0
  61. package/dist/markdown2.js +103 -0
  62. package/dist/ocaml3.js +145 -0
  63. package/dist/omnisharp.js +522 -0
  64. package/dist/pascal2.js +26 -0
  65. package/dist/pgsql-sql.js +21 -0
  66. package/dist/pgsql.js +21 -0
  67. package/dist/php2.js +265 -0
  68. package/dist/postgresql.js +75 -0
  69. package/dist/powershell2.js +18 -0
  70. package/dist/r.tmLanguage.js +572 -0
  71. package/dist/reason2.js +100 -0
  72. package/dist/rmd.js +8 -1
  73. package/dist/scalameta.js +177 -0
  74. package/dist/services/functional.d.ts +1 -0
  75. package/dist/services/lyfecycle.d.ts +13 -0
  76. package/dist/solargraph.js +192 -0
  77. package/dist/sql.js +9 -2
  78. package/dist/sql2.js +21 -0
  79. package/dist/swift2.js +183 -0
  80. package/dist/systemverilog2.js +208 -0
  81. package/dist/tasty.js +72 -0
  82. package/dist/tcl2.js +151 -0
  83. package/dist/typescript-basics.js +312 -0
  84. package/dist/typescript-language-features.js +998 -0
  85. package/dist/typescript.js +83 -2
  86. package/dist/typescript2.js +312 -0
  87. package/dist/typescriptreact.js +83 -2
  88. package/dist/typescriptreact2.js +312 -0
  89. package/dist/vb2.js +88 -0
  90. package/dist/verilog2.js +94 -0
  91. package/dist/vscode-R.js +519 -0
  92. package/dist/vscode-groovy.js +28 -0
  93. package/dist/vscode-python.js +677 -0
  94. package/package.json +11 -11
  95. package/stats.html +205 -795
@@ -0,0 +1,117 @@
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 };
@@ -668,19 +668,6 @@ declare const _default: {
668
668
  };
669
669
  };
670
670
  }>;
671
- sql: () => Promise<{
672
- comments: {
673
- lineComment: string;
674
- blockComment: string[];
675
- };
676
- brackets: string[][];
677
- autoClosingPairs: (string[] | {
678
- open: string;
679
- close: string;
680
- notIn: string[];
681
- })[];
682
- surroundingPairs: string[][];
683
- }>;
684
671
  swift: () => Promise<{
685
672
  comments: {
686
673
  lineComment: string;
@@ -1091,6 +1078,7 @@ declare const _default: {
1091
1078
  };
1092
1079
  };
1093
1080
  }>;
1081
+ sql: () => Promise<{}>;
1094
1082
  scala: () => Promise<{
1095
1083
  comments: {
1096
1084
  lineComment: string;
@@ -0,0 +1,3 @@
1
+ import * as monaco from 'monaco-editor';
2
+ declare const loader: Partial<Record<string, () => Promise<monaco.extra.IConfigurationNode[]>>>;
3
+ export default loader;