@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.
- package/dist/Groovy2.js +28 -0
- package/dist/JavaScript.tmLanguage.js +22 -1
- package/dist/JavaScriptReact.tmLanguage.js +22 -1
- package/dist/TypeScript.tmLanguage.js +22 -1
- package/dist/TypeScriptReact.tmLanguage.js +22 -1
- package/dist/angular.js +56 -0
- package/dist/buildtarget.js +53 -0
- package/dist/clojure.tmLanguage.js +11 -15
- package/dist/cobol2.js +80 -0
- package/dist/cpptools.js +2320 -0
- package/dist/csharp.tmLanguage.js +5 -5
- package/dist/css.worker.js +1 -1
- package/dist/d2.js +2 -66
- package/dist/d3.js +526 -0
- package/dist/dart3.js +966 -0
- package/dist/dcf.js +3 -3
- package/dist/elixir3.js +40 -0
- package/dist/erlang2.js +92 -0
- package/dist/{cssContribution.js → features/cssContribution.js} +2 -2
- package/dist/features/extensionConfigurations.d.ts +1 -0
- package/dist/features/extensionConfigurations.js +145 -0
- package/dist/{htmlContribution.js → features/htmlContribution.js} +2 -2
- package/dist/{jsonContribution.js → features/jsonContribution.js} +3 -3
- package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
- package/dist/{extensionConfigurations.js → features/mutualizedExtensionConfigurations.js} +1931 -6302
- package/dist/features/typescriptContribution.d.ts +4 -0
- package/dist/{typescriptContribution.js → features/typescriptContribution.js} +31 -3
- package/dist/fsharp.tmLanguage.js +10 -1
- package/dist/haskell2.js +16 -0
- package/dist/html.worker.js +1 -1
- package/dist/java2.js +704 -0
- package/dist/javascript.js +83 -2
- package/dist/javascriptreact.js +83 -2
- package/dist/json.worker.js +1 -1
- package/dist/jsx-tags.js +51 -2
- package/dist/jvm-bytecode-verbose.js +1231 -0
- package/dist/jvm-bytecode.js +565 -0
- package/dist/languages/extensions/configurationLoader.d.ts +7 -1
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/grammarLoader.d.ts +2 -101920
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/snippetLoader.d.ts +3 -5606
- package/dist/lua2.js +1511 -0
- package/dist/main.js +155 -98
- package/dist/ocaml3.js +145 -0
- package/dist/omnisharp.js +522 -0
- package/dist/pascal2.js +26 -0
- package/dist/postgresql.js +75 -0
- package/dist/rmd.js +8 -1
- package/dist/scalameta.js +177 -0
- package/dist/solargraph.js +192 -0
- package/dist/sql.js +9 -2
- package/dist/tasty.js +72 -0
- package/dist/ts.worker.js +1 -1
- package/dist/typescript-language-features.js +998 -0
- package/dist/typescript.js +83 -2
- package/dist/typescriptreact.js +83 -2
- package/dist/verilog2.js +94 -0
- package/dist/vscode-R.js +519 -0
- package/dist/vscode-groovy.js +28 -0
- package/dist/vscode-python.js +677 -0
- package/dist/worker.js +1 -1
- package/package.json +12 -11
- package/stats.html +205 -795
- package/dist/SQL.plist.js +0 -482
- package/dist/html (eex).js +0 -31
- package/dist/pgsql-sql.js +0 -21
- package/dist/r.tmLanguage.js +0 -551
package/dist/javascript.js
CHANGED
|
@@ -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 javascript = {
|
|
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, javascript as default, folding, surroundingPairs };
|
|
197
|
+
export { autoCloseBefore, autoClosingPairs, brackets, comments, javascript as default, folding, indentationRules, onEnterRules, surroundingPairs, wordPattern };
|
package/dist/javascriptreact.js
CHANGED
|
@@ -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 javascriptreact = {
|
|
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, javascriptreact as default, folding, surroundingPairs };
|
|
197
|
+
export { autoCloseBefore, autoClosingPairs, brackets, comments, javascriptreact as default, folding, indentationRules, onEnterRules, surroundingPairs, wordPattern };
|