@codingame/monaco-editor-wrapper 1.2.0 → 1.4.1

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 (68) hide show
  1. package/dist/Groovy2.js +28 -0
  2. package/dist/JavaScript.tmLanguage.js +22 -1
  3. package/dist/JavaScriptReact.tmLanguage.js +22 -1
  4. package/dist/TypeScript.tmLanguage.js +22 -1
  5. package/dist/TypeScriptReact.tmLanguage.js +22 -1
  6. package/dist/angular.js +56 -0
  7. package/dist/buildtarget.js +53 -0
  8. package/dist/clojure.tmLanguage.js +11 -15
  9. package/dist/cobol2.js +80 -0
  10. package/dist/cpptools.js +2320 -0
  11. package/dist/csharp.tmLanguage.js +5 -5
  12. package/dist/css.worker.js +1 -1
  13. package/dist/d2.js +2 -66
  14. package/dist/d3.js +526 -0
  15. package/dist/dart3.js +966 -0
  16. package/dist/dcf.js +3 -3
  17. package/dist/elixir3.js +40 -0
  18. package/dist/erlang2.js +92 -0
  19. package/dist/{cssContribution.js → features/cssContribution.js} +2 -2
  20. package/dist/features/extensionConfigurations.d.ts +1 -0
  21. package/dist/features/extensionConfigurations.js +145 -0
  22. package/dist/{htmlContribution.js → features/htmlContribution.js} +2 -2
  23. package/dist/{jsonContribution.js → features/jsonContribution.js} +3 -3
  24. package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
  25. package/dist/{extensionConfigurations.js → features/mutualizedExtensionConfigurations.js} +1931 -6302
  26. package/dist/features/typescriptContribution.d.ts +4 -0
  27. package/dist/{typescriptContribution.js → features/typescriptContribution.js} +31 -3
  28. package/dist/fsharp.tmLanguage.js +10 -1
  29. package/dist/haskell2.js +16 -0
  30. package/dist/html.worker.js +1 -1
  31. package/dist/java2.js +704 -0
  32. package/dist/javascript.js +83 -2
  33. package/dist/javascriptreact.js +83 -2
  34. package/dist/json.worker.js +1 -1
  35. package/dist/jsx-tags.js +51 -2
  36. package/dist/jvm-bytecode-verbose.js +1231 -0
  37. package/dist/jvm-bytecode.js +565 -0
  38. package/dist/languages/extensions/configurationLoader.d.ts +7 -1
  39. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
  40. package/dist/languages/extensions/grammarLoader.d.ts +2 -101920
  41. package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
  42. package/dist/languages/extensions/snippetLoader.d.ts +3 -5606
  43. package/dist/lua2.js +1511 -0
  44. package/dist/main.js +155 -98
  45. package/dist/ocaml3.js +145 -0
  46. package/dist/omnisharp.js +522 -0
  47. package/dist/pascal2.js +26 -0
  48. package/dist/postgresql.js +75 -0
  49. package/dist/rmd.js +8 -1
  50. package/dist/scalameta.js +177 -0
  51. package/dist/solargraph.js +192 -0
  52. package/dist/sql.js +9 -2
  53. package/dist/tasty.js +72 -0
  54. package/dist/ts.worker.js +1 -1
  55. package/dist/typescript-language-features.js +998 -0
  56. package/dist/typescript.js +83 -2
  57. package/dist/typescriptreact.js +83 -2
  58. package/dist/verilog2.js +94 -0
  59. package/dist/vscode-R.js +519 -0
  60. package/dist/vscode-groovy.js +28 -0
  61. package/dist/vscode-python.js +677 -0
  62. package/dist/worker.js +1 -1
  63. package/package.json +12 -11
  64. package/stats.html +205 -795
  65. package/dist/SQL.plist.js +0 -482
  66. package/dist/html (eex).js +0 -31
  67. package/dist/pgsql-sql.js +0 -21
  68. package/dist/r.tmLanguage.js +0 -551
@@ -104,13 +104,94 @@ var folding = {
104
104
  end: "^\\s*//\\s*#?endregion\\b"
105
105
  }
106
106
  };
107
+ var wordPattern = {
108
+ pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
109
+ };
110
+ var indentationRules = {
111
+ decreaseIndentPattern: {
112
+ pattern: "^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"
113
+ },
114
+ increaseIndentPattern: {
115
+ pattern: "^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"
116
+ },
117
+ unIndentedLinePattern: {
118
+ pattern: "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
119
+ }
120
+ };
121
+ var onEnterRules = [
122
+ {
123
+ beforeText: {
124
+ pattern: "^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"
125
+ },
126
+ afterText: {
127
+ pattern: "^\\s*\\*/$"
128
+ },
129
+ action: {
130
+ indent: "indentOutdent",
131
+ appendText: " * "
132
+ }
133
+ },
134
+ {
135
+ beforeText: {
136
+ pattern: "^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"
137
+ },
138
+ action: {
139
+ indent: "none",
140
+ appendText: " * "
141
+ }
142
+ },
143
+ {
144
+ beforeText: {
145
+ pattern: "^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
146
+ },
147
+ previousLineText: {
148
+ pattern: "(?=^(\\s*(/\\*\\*|\\*)).*)(?=(?!(\\s*\\*/)))"
149
+ },
150
+ action: {
151
+ indent: "none",
152
+ appendText: "* "
153
+ }
154
+ },
155
+ {
156
+ beforeText: {
157
+ pattern: "^(\\t|[ ])*[ ]\\*/\\s*$"
158
+ },
159
+ action: {
160
+ indent: "none",
161
+ removeText: 1
162
+ }
163
+ },
164
+ {
165
+ beforeText: {
166
+ pattern: "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$"
167
+ },
168
+ action: {
169
+ indent: "none",
170
+ removeText: 1
171
+ }
172
+ },
173
+ {
174
+ beforeText: {
175
+ pattern: "^\\s*(\\bcase\\s.+:|\\bdefault:)$"
176
+ },
177
+ afterText: {
178
+ pattern: "^(?!\\s*(\\bcase\\b|\\bdefault\\b))"
179
+ },
180
+ action: {
181
+ indent: "indent"
182
+ }
183
+ }
184
+ ];
107
185
  var typescript = {
108
186
  comments: comments,
109
187
  brackets: brackets,
110
188
  autoClosingPairs: autoClosingPairs,
111
189
  surroundingPairs: surroundingPairs,
112
190
  autoCloseBefore: autoCloseBefore,
113
- folding: folding
191
+ folding: folding,
192
+ wordPattern: wordPattern,
193
+ indentationRules: indentationRules,
194
+ onEnterRules: onEnterRules
114
195
  };
115
196
 
116
- export { autoCloseBefore, autoClosingPairs, brackets, comments, typescript as default, folding, surroundingPairs };
197
+ export { autoCloseBefore, autoClosingPairs, brackets, comments, typescript as default, folding, indentationRules, onEnterRules, surroundingPairs, wordPattern };
@@ -104,13 +104,94 @@ var folding = {
104
104
  end: "^\\s*//\\s*#?endregion\\b"
105
105
  }
106
106
  };
107
+ var wordPattern = {
108
+ pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
109
+ };
110
+ var indentationRules = {
111
+ decreaseIndentPattern: {
112
+ pattern: "^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"
113
+ },
114
+ increaseIndentPattern: {
115
+ pattern: "^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"
116
+ },
117
+ unIndentedLinePattern: {
118
+ pattern: "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
119
+ }
120
+ };
121
+ var onEnterRules = [
122
+ {
123
+ beforeText: {
124
+ pattern: "^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"
125
+ },
126
+ afterText: {
127
+ pattern: "^\\s*\\*/$"
128
+ },
129
+ action: {
130
+ indent: "indentOutdent",
131
+ appendText: " * "
132
+ }
133
+ },
134
+ {
135
+ beforeText: {
136
+ pattern: "^\\s*/\\*\\*(?!/)([^\\*]|\\*(?!/))*$"
137
+ },
138
+ action: {
139
+ indent: "none",
140
+ appendText: " * "
141
+ }
142
+ },
143
+ {
144
+ beforeText: {
145
+ pattern: "^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
146
+ },
147
+ previousLineText: {
148
+ pattern: "(?=^(\\s*(/\\*\\*|\\*)).*)(?=(?!(\\s*\\*/)))"
149
+ },
150
+ action: {
151
+ indent: "none",
152
+ appendText: "* "
153
+ }
154
+ },
155
+ {
156
+ beforeText: {
157
+ pattern: "^(\\t|[ ])*[ ]\\*/\\s*$"
158
+ },
159
+ action: {
160
+ indent: "none",
161
+ removeText: 1
162
+ }
163
+ },
164
+ {
165
+ beforeText: {
166
+ pattern: "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$"
167
+ },
168
+ action: {
169
+ indent: "none",
170
+ removeText: 1
171
+ }
172
+ },
173
+ {
174
+ beforeText: {
175
+ pattern: "^\\s*(\\bcase\\s.+:|\\bdefault:)$"
176
+ },
177
+ afterText: {
178
+ pattern: "^(?!\\s*(\\bcase\\b|\\bdefault\\b))"
179
+ },
180
+ action: {
181
+ indent: "indent"
182
+ }
183
+ }
184
+ ];
107
185
  var typescriptreact = {
108
186
  comments: comments,
109
187
  brackets: brackets,
110
188
  autoClosingPairs: autoClosingPairs,
111
189
  surroundingPairs: surroundingPairs,
112
190
  autoCloseBefore: autoCloseBefore,
113
- folding: folding
191
+ folding: folding,
192
+ wordPattern: wordPattern,
193
+ indentationRules: indentationRules,
194
+ onEnterRules: onEnterRules
114
195
  };
115
196
 
116
- export { autoCloseBefore, autoClosingPairs, brackets, comments, typescriptreact as default, folding, surroundingPairs };
197
+ export { autoCloseBefore, autoClosingPairs, brackets, comments, typescriptreact as default, folding, indentationRules, onEnterRules, surroundingPairs, wordPattern };
@@ -0,0 +1,94 @@
1
+ var verilog = [
2
+ {
3
+ "title": "Verilog configuration",
4
+ "properties": {
5
+ "verilog.linting.linter": {
6
+ "scope": 3,
7
+ "type": "string",
8
+ "enum": [
9
+ "xvlog",
10
+ "iverilog",
11
+ "verilator",
12
+ "modelsim",
13
+ "none"
14
+ ],
15
+ "default": "none",
16
+ "description": "Select the verilog linter. Possible values are 'iverilog', 'verilator', xvlog' or 'none'."
17
+ },
18
+ "verilog.linting.xvlog.arguments": {
19
+ "scope": 3,
20
+ "type": "string",
21
+ "default": "",
22
+ "description": "Add xvlog arguments here. They will be added to xvlog while linting."
23
+ },
24
+ "verilog.linting.iverilog.arguments": {
25
+ "scope": 3,
26
+ "type": "string",
27
+ "default": "",
28
+ "description": "Add Icarus Verilog arguments here (like macros). They will be added to Icarus Verilog while linting (The command \"-t null\" will be added by the linter by default)."
29
+ },
30
+ "verilog.linting.iverilog.runAtFileLocation": {
31
+ "scope": 3,
32
+ "type": "boolean",
33
+ "default": false,
34
+ "description": "If enabled, Icarus Verilog will be run at the file location for linting. Else it will be run at workspace folder. Disabled by default."
35
+ },
36
+ "verilog.linting.modelsim.runAtFileLocation": {
37
+ "scope": 3,
38
+ "type": "boolean",
39
+ "default": false,
40
+ "description": "If enabled, Modelsim will be run at the file location for linting. Else it will be run at workspace folder. Disabled by default."
41
+ },
42
+ "verilog.linting.modelsim.arguments": {
43
+ "scope": 3,
44
+ "type": "string",
45
+ "default": "",
46
+ "description": "Add Modelsim arguments here. They will be added to Modelsim while linting."
47
+ },
48
+ "verilog.linting.modelsim.work": {
49
+ "scope": 3,
50
+ "type": "string",
51
+ "default": "",
52
+ "description": "Add Modelsim work library here."
53
+ },
54
+ "verilog.linting.verilator.arguments": {
55
+ "scope": 3,
56
+ "type": "string",
57
+ "default": "",
58
+ "description": "Add Verilator arguments here (like macros). They will be added to Verilator while linting (The command \"--lint-only -I<document folder>\" will be added by the linter by default)."
59
+ },
60
+ "verilog.linting.verilator.runAtFileLocation": {
61
+ "scope": 3,
62
+ "type": "boolean",
63
+ "default": false,
64
+ "description": "If enabled, Verilator will be run at the file location for linting. Else it will be run at workspace folder. Disabled by default."
65
+ },
66
+ "verilog.linting.verilator.useWSL": {
67
+ "scope": 3,
68
+ "type": "boolean",
69
+ "default": false,
70
+ "description": "If enabled, run verilator in WSL."
71
+ },
72
+ "verilog.ctags.path": {
73
+ "scope": 3,
74
+ "type": "string",
75
+ "default": "ctags",
76
+ "description": "A path to the installation of Universal Ctags."
77
+ },
78
+ "verilog.languageServer": {
79
+ "scope": 3,
80
+ "type": "string",
81
+ "default": "none",
82
+ "description": "Select the Language Server. Currently supports `svls`."
83
+ },
84
+ "verilog.logging.enabled": {
85
+ "scope": 3,
86
+ "type": "boolean",
87
+ "default": false,
88
+ "description": "Enable logging for this extension."
89
+ }
90
+ }
91
+ }
92
+ ];
93
+
94
+ export { verilog as default };