@codingame/monaco-editor-wrapper 1.6.0 → 1.7.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 (87) hide show
  1. package/dist/COBOL Copybook2.js +2017 -0
  2. package/dist/COBOL2.js +2017 -0
  3. package/dist/JavaScript.tmLanguage.js +0 -49
  4. package/dist/JavaScriptReact.tmLanguage.js +0 -49
  5. package/dist/SQL.plist.js +482 -0
  6. package/dist/TypeScript.tmLanguage.js +0 -49
  7. package/dist/TypeScriptReact.tmLanguage.js +0 -49
  8. package/dist/bsv2.js +49 -0
  9. package/dist/c2.js +18 -0
  10. package/dist/cobol-snippets.js +2017 -0
  11. package/dist/codeblock3.js +18 -18
  12. package/dist/coffeescript-coffeescript.code-snippets.js +18 -0
  13. package/dist/coffeescript2.js +18 -0
  14. package/dist/configuration/hack.d.ts +2 -0
  15. package/dist/cpp-c.code-snippets.js +18 -0
  16. package/dist/cpp-cpp.code-snippets.js +18 -0
  17. package/dist/cpp2.js +18 -0
  18. package/dist/cpptools.js +2 -2
  19. package/dist/csharp2.js +508 -0
  20. package/dist/cssContribution.js +10 -0
  21. package/dist/diet3.js +92 -0
  22. package/dist/elixir-snippets.js +184 -0
  23. package/dist/extensionConfigurations.js +9475 -0
  24. package/dist/features/extensionConfigurations.js +3 -3
  25. package/dist/fsharp-fsharp.code-snippets.js +18 -0
  26. package/dist/fsharp2.js +18 -0
  27. package/dist/groovy-groovy.code-snippets.js +229 -0
  28. package/dist/groovy2.js +229 -0
  29. package/dist/html (eex).js +31 -0
  30. package/dist/htmlContribution.js +10 -0
  31. package/dist/java.js +11 -0
  32. package/dist/java2.js +1 -1
  33. package/dist/javascript-javascript.code-snippets.js +196 -0
  34. package/dist/javascript2.js +196 -0
  35. package/dist/javascriptreact2.js +196 -0
  36. package/dist/jsonContribution.js +78 -0
  37. package/dist/kotlin2.js +117 -0
  38. package/dist/kotlinscript2.js +117 -0
  39. package/dist/languages/extensions/configurationLoader.d.ts +2 -20
  40. package/dist/languages/monarch/list.d.ts +7 -0
  41. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  42. package/dist/main.js +42 -124
  43. package/dist/markdown-basics-markdown.code-snippets.js +121 -0
  44. package/dist/markdown-basics-markdown.js +0 -18
  45. package/dist/markdown-basics.js +103 -0
  46. package/dist/markdown2.js +103 -0
  47. package/dist/pgsql-sql.js +21 -0
  48. package/dist/pgsql.js +21 -0
  49. package/dist/php-php.code-snippets.js +265 -0
  50. package/dist/php2.js +265 -0
  51. package/dist/powershell-powershell.code-snippets.js +18 -0
  52. package/dist/powershell2.js +18 -0
  53. package/dist/r.tmLanguage.js +572 -0
  54. package/dist/r2.js +1 -1
  55. package/dist/reason2.js +100 -0
  56. package/dist/scalameta.js +6 -1
  57. package/dist/services/functional.d.ts +1 -0
  58. package/dist/services/lyfecycle.d.ts +13 -0
  59. package/dist/sql2.js +21 -0
  60. package/dist/svlangserver-systemverilog.js +395 -0
  61. package/dist/svlangserver.js +85 -0
  62. package/dist/swift-swift.code-snippets.js +183 -0
  63. package/dist/swift2.js +183 -0
  64. package/dist/systemverilog.js +41 -7
  65. package/dist/systemverilog.tmLanguage.js +676 -496
  66. package/dist/systemverilog2.js +208 -0
  67. package/dist/tcl2.js +151 -0
  68. package/dist/typescript-basics-typescript.code-snippets.js +312 -0
  69. package/dist/typescript-basics.js +312 -0
  70. package/dist/typescript2.js +312 -0
  71. package/dist/typescriptContribution.js +36 -0
  72. package/dist/typescriptreact2.js +312 -0
  73. package/dist/vb-vb.code-snippets.js +88 -0
  74. package/dist/vb2.js +88 -0
  75. package/dist/verilog-systemverilog.js +327 -140
  76. package/dist/verilog.js +85 -3
  77. package/dist/verilog2.js +56 -65
  78. package/dist/vscode-R-r-snippets.js +534 -0
  79. package/dist/vscode-R-rmarkdown.js +91 -0
  80. package/dist/vscode-R-rmd.js +2 -2
  81. package/dist/vscode-python.js +9 -0
  82. package/package.json +1 -1
  83. package/stats.html +1 -1
  84. package/dist/Groovy2.js +0 -28
  85. package/dist/features/mutualizedExtensionConfigurations.d.ts +0 -1
  86. package/dist/features/mutualizedExtensionConfigurations.js +0 -4857
  87. package/dist/services/CustomFoldingRulesLanguageConfigurationService.d.ts +0 -4
@@ -0,0 +1,183 @@
1
+ var print = {
2
+ prefix: "print",
3
+ body: "print(\"$1\")\n$0",
4
+ description: "print(\"...\")"
5
+ };
6
+ var guard = {
7
+ prefix: "guard",
8
+ body: [
9
+ "guard ${1:condition} else {",
10
+ "\t$0",
11
+ "}"
12
+ ],
13
+ description: "guard statement"
14
+ };
15
+ var func = {
16
+ prefix: "func",
17
+ body: [
18
+ "func ${1:name}(${2:parameters}) -> ${3:Type} {",
19
+ "\t$0",
20
+ "}"
21
+ ],
22
+ description: "function declaration"
23
+ };
24
+ var struct = {
25
+ prefix: "struct",
26
+ body: [
27
+ "struct ${1:Name} {",
28
+ "",
29
+ "\t$0",
30
+ "}"
31
+ ],
32
+ description: "struct declaration"
33
+ };
34
+ var protocol = {
35
+ prefix: "protocol",
36
+ body: [
37
+ "protocol ${1:Name} {",
38
+ "",
39
+ "\t$0",
40
+ "}"
41
+ ],
42
+ description: "protocol declaration"
43
+ };
44
+ var extension = {
45
+ prefix: "extension",
46
+ body: [
47
+ "extension ${1:Type} {",
48
+ "",
49
+ "\t$0",
50
+ "}"
51
+ ],
52
+ description: "extension declaration"
53
+ };
54
+ var swiftSwift_codeSnippets = {
55
+ print: print,
56
+ "print value": {
57
+ prefix: "printv",
58
+ body: "print(\"\\($1)\")\n$0",
59
+ description: "print(\"\\(...)\")"
60
+ },
61
+ "while": {
62
+ prefix: "while",
63
+ body: [
64
+ "while ${1:condition} {",
65
+ "\t$0",
66
+ "}"
67
+ ],
68
+ description: "while statement"
69
+ },
70
+ "repeat-while": {
71
+ prefix: "repeat",
72
+ body: [
73
+ "repeat {",
74
+ "\t$0",
75
+ "} while ${1:condition}"
76
+ ],
77
+ description: "repeat-while statement"
78
+ },
79
+ "for": {
80
+ prefix: "for",
81
+ body: [
82
+ "for ${1:item} in ${2:collection} {",
83
+ "\t$0",
84
+ "}"
85
+ ],
86
+ description: "for-in statement"
87
+ },
88
+ "if": {
89
+ prefix: "if",
90
+ body: [
91
+ "if ${1:condition} {",
92
+ "\t$0",
93
+ "}"
94
+ ],
95
+ description: "if statement"
96
+ },
97
+ "else if": {
98
+ prefix: "elif",
99
+ body: [
100
+ "else if ${1:condition} {",
101
+ "\t$0",
102
+ "}"
103
+ ],
104
+ description: "else clause with a nested if statement"
105
+ },
106
+ "else": {
107
+ prefix: "else",
108
+ body: [
109
+ "else {",
110
+ "\t$0",
111
+ "}"
112
+ ],
113
+ description: "else clause"
114
+ },
115
+ "if let": {
116
+ prefix: "iflet",
117
+ body: [
118
+ "if let ${1:value} = ${2:optional} {",
119
+ "\t$0",
120
+ "}"
121
+ ],
122
+ description: "if statement with optional binding"
123
+ },
124
+ guard: guard,
125
+ "guard let": {
126
+ prefix: "guardlet",
127
+ body: [
128
+ "guard let ${1:value} = ${2:optional} else {",
129
+ "\t$0",
130
+ "}"
131
+ ],
132
+ description: "guard statement with optional binding"
133
+ },
134
+ "switch": {
135
+ prefix: "switch",
136
+ body: [
137
+ "switch ${1:value} {",
138
+ "case ${2:pattern}:",
139
+ "\t$0",
140
+ "default:",
141
+ "\t",
142
+ "}"
143
+ ],
144
+ description: "switch statement"
145
+ },
146
+ "do": {
147
+ prefix: "do",
148
+ body: [
149
+ "do {",
150
+ "\t$0",
151
+ "} catch ${1:error} {",
152
+ "\t$2",
153
+ "}"
154
+ ],
155
+ description: "do statement"
156
+ },
157
+ func: func,
158
+ struct: struct,
159
+ "enum": {
160
+ prefix: "enum",
161
+ body: [
162
+ "enum ${1:Name} {",
163
+ "",
164
+ "\tcase $0",
165
+ "}"
166
+ ],
167
+ description: "enum declaration"
168
+ },
169
+ "class": {
170
+ prefix: "class",
171
+ body: [
172
+ "class ${1:Name} {",
173
+ "",
174
+ "\t$0",
175
+ "}"
176
+ ],
177
+ description: "class declaration"
178
+ },
179
+ protocol: protocol,
180
+ extension: extension
181
+ };
182
+
183
+ export { swiftSwift_codeSnippets as default, extension, func, guard, print, protocol, struct };
package/dist/swift2.js ADDED
@@ -0,0 +1,183 @@
1
+ var print = {
2
+ prefix: "print",
3
+ body: "print(\"$1\")\n$0",
4
+ description: "print(\"...\")"
5
+ };
6
+ var guard = {
7
+ prefix: "guard",
8
+ body: [
9
+ "guard ${1:condition} else {",
10
+ "\t$0",
11
+ "}"
12
+ ],
13
+ description: "guard statement"
14
+ };
15
+ var func = {
16
+ prefix: "func",
17
+ body: [
18
+ "func ${1:name}(${2:parameters}) -> ${3:Type} {",
19
+ "\t$0",
20
+ "}"
21
+ ],
22
+ description: "function declaration"
23
+ };
24
+ var struct = {
25
+ prefix: "struct",
26
+ body: [
27
+ "struct ${1:Name} {",
28
+ "",
29
+ "\t$0",
30
+ "}"
31
+ ],
32
+ description: "struct declaration"
33
+ };
34
+ var protocol = {
35
+ prefix: "protocol",
36
+ body: [
37
+ "protocol ${1:Name} {",
38
+ "",
39
+ "\t$0",
40
+ "}"
41
+ ],
42
+ description: "protocol declaration"
43
+ };
44
+ var extension = {
45
+ prefix: "extension",
46
+ body: [
47
+ "extension ${1:Type} {",
48
+ "",
49
+ "\t$0",
50
+ "}"
51
+ ],
52
+ description: "extension declaration"
53
+ };
54
+ var swift = {
55
+ print: print,
56
+ "print value": {
57
+ prefix: "printv",
58
+ body: "print(\"\\($1)\")\n$0",
59
+ description: "print(\"\\(...)\")"
60
+ },
61
+ "while": {
62
+ prefix: "while",
63
+ body: [
64
+ "while ${1:condition} {",
65
+ "\t$0",
66
+ "}"
67
+ ],
68
+ description: "while statement"
69
+ },
70
+ "repeat-while": {
71
+ prefix: "repeat",
72
+ body: [
73
+ "repeat {",
74
+ "\t$0",
75
+ "} while ${1:condition}"
76
+ ],
77
+ description: "repeat-while statement"
78
+ },
79
+ "for": {
80
+ prefix: "for",
81
+ body: [
82
+ "for ${1:item} in ${2:collection} {",
83
+ "\t$0",
84
+ "}"
85
+ ],
86
+ description: "for-in statement"
87
+ },
88
+ "if": {
89
+ prefix: "if",
90
+ body: [
91
+ "if ${1:condition} {",
92
+ "\t$0",
93
+ "}"
94
+ ],
95
+ description: "if statement"
96
+ },
97
+ "else if": {
98
+ prefix: "elif",
99
+ body: [
100
+ "else if ${1:condition} {",
101
+ "\t$0",
102
+ "}"
103
+ ],
104
+ description: "else clause with a nested if statement"
105
+ },
106
+ "else": {
107
+ prefix: "else",
108
+ body: [
109
+ "else {",
110
+ "\t$0",
111
+ "}"
112
+ ],
113
+ description: "else clause"
114
+ },
115
+ "if let": {
116
+ prefix: "iflet",
117
+ body: [
118
+ "if let ${1:value} = ${2:optional} {",
119
+ "\t$0",
120
+ "}"
121
+ ],
122
+ description: "if statement with optional binding"
123
+ },
124
+ guard: guard,
125
+ "guard let": {
126
+ prefix: "guardlet",
127
+ body: [
128
+ "guard let ${1:value} = ${2:optional} else {",
129
+ "\t$0",
130
+ "}"
131
+ ],
132
+ description: "guard statement with optional binding"
133
+ },
134
+ "switch": {
135
+ prefix: "switch",
136
+ body: [
137
+ "switch ${1:value} {",
138
+ "case ${2:pattern}:",
139
+ "\t$0",
140
+ "default:",
141
+ "\t",
142
+ "}"
143
+ ],
144
+ description: "switch statement"
145
+ },
146
+ "do": {
147
+ prefix: "do",
148
+ body: [
149
+ "do {",
150
+ "\t$0",
151
+ "} catch ${1:error} {",
152
+ "\t$2",
153
+ "}"
154
+ ],
155
+ description: "do statement"
156
+ },
157
+ func: func,
158
+ struct: struct,
159
+ "enum": {
160
+ prefix: "enum",
161
+ body: [
162
+ "enum ${1:Name} {",
163
+ "",
164
+ "\tcase $0",
165
+ "}"
166
+ ],
167
+ description: "enum declaration"
168
+ },
169
+ "class": {
170
+ prefix: "class",
171
+ body: [
172
+ "class ${1:Name} {",
173
+ "",
174
+ "\t$0",
175
+ "}"
176
+ ],
177
+ description: "class declaration"
178
+ },
179
+ protocol: protocol,
180
+ extension: extension
181
+ };
182
+
183
+ export { swift as default, extension, func, guard, print, protocol, struct };
@@ -23,7 +23,7 @@ var brackets = [
23
23
  "end"
24
24
  ],
25
25
  [
26
- "case",
26
+ "randcase",
27
27
  "endcase"
28
28
  ],
29
29
  [
@@ -34,6 +34,10 @@ var brackets = [
34
34
  "casez",
35
35
  "endcase"
36
36
  ],
37
+ [
38
+ "case",
39
+ "endcase"
40
+ ],
37
41
  [
38
42
  "checker",
39
43
  "endchecker"
@@ -50,6 +54,10 @@ var brackets = [
50
54
  "config",
51
55
  "endconfig"
52
56
  ],
57
+ [
58
+ "coverage",
59
+ "endcoverage"
60
+ ],
53
61
  [
54
62
  "covergroup",
55
63
  "endgroup"
@@ -102,10 +110,6 @@ var brackets = [
102
110
  "property",
103
111
  "endproperty"
104
112
  ],
105
- [
106
- "randcase",
107
- "endcase"
108
- ],
109
113
  [
110
114
  "specify",
111
115
  "endspecify"
@@ -144,10 +148,40 @@ var autoClosingPairs = [
144
148
  ]
145
149
  }
146
150
  ];
151
+ var surroundingPairs = [
152
+ [
153
+ "{",
154
+ "}"
155
+ ],
156
+ [
157
+ "[",
158
+ "]"
159
+ ],
160
+ [
161
+ "(",
162
+ ")"
163
+ ],
164
+ [
165
+ "'",
166
+ "'"
167
+ ],
168
+ [
169
+ "\"",
170
+ "\""
171
+ ]
172
+ ];
173
+ var folding = {
174
+ markers: {
175
+ start: "^[ \\t\\n]*(?://[ \\t\\n]*#?region|`(?:ifdef|ifndef|elsif|else)\\b|\\b(?:(?:macro)?module|class)\\b)",
176
+ end: "^[ \\t\\n]*(?://[ \\t\\n]*#?endregion|`(?:elsif|else|endif)\\b|\\b(?:endmodule|endclass)\\b)"
177
+ }
178
+ };
147
179
  var systemverilog = {
148
180
  comments: comments,
149
181
  brackets: brackets,
150
- autoClosingPairs: autoClosingPairs
182
+ autoClosingPairs: autoClosingPairs,
183
+ surroundingPairs: surroundingPairs,
184
+ folding: folding
151
185
  };
152
186
 
153
- export { autoClosingPairs, brackets, comments, systemverilog as default };
187
+ export { autoClosingPairs, brackets, comments, systemverilog as default, folding, surroundingPairs };