@codingame/monaco-editor-wrapper 1.4.0 → 1.5.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.
- package/dist/buildtarget.js +53 -0
- package/dist/cpptools.js +15 -0
- package/dist/css.worker.js +1 -1
- package/dist/d2.js +2 -2
- package/dist/dcf.js +3 -3
- package/dist/features/extensionConfigurations.js +4 -1
- package/dist/hacks.d.ts +2 -1
- package/dist/html.worker.js +1 -1
- package/dist/java-java.js +4 -1
- package/dist/java2.js +2 -1
- 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/languages/extensions/languageConfigurationLoader.d.ts +9 -1
- package/dist/languages/textMate/CGTMTokenizationSupport.d.ts +2 -2
- package/dist/lua2.js +36 -1
- package/dist/main.js +153 -99
- package/dist/markdown-basics-markdown.js +18 -0
- package/dist/monaco.d.ts +0 -1
- package/dist/r2.js +1 -1
- package/dist/scalameta.js +8 -2
- package/dist/services/CustomFoldingRulesLanguageConfigurationService.d.ts +4 -0
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +3 -3
- package/dist/services/TextModelService.d.ts +25 -0
- package/dist/solargraph.js +192 -0
- package/dist/theme/tools.d.ts +2 -1
- package/dist/ts.worker.js +1 -1
- package/dist/typescript-language-features.js +34 -24
- package/dist/typescript.js +83 -2
- package/dist/typescriptreact.js +83 -2
- package/dist/vscode-R-rmd.js +2 -2
- package/dist/vscode-R.js +7 -1
- package/dist/worker.js +1 -1
- package/package.json +18 -13
- package/stats.html +1 -1
package/dist/java-java.js
CHANGED
package/dist/java2.js
CHANGED
|
@@ -46,8 +46,9 @@ var java = [
|
|
|
46
46
|
"scope": 3
|
|
47
47
|
},
|
|
48
48
|
"java.configuration.checkProjectSettingsExclusions": {
|
|
49
|
+
"deprecationMessage": "Please use 'java.import.generatesMetadataFilesAtProjectRoot' to control whether to generate the project metadata files at the project root. And use 'files.exclude' to control whether to hide the project metadata files from the file explorer.",
|
|
49
50
|
"type": "boolean",
|
|
50
|
-
"default":
|
|
51
|
+
"default": false,
|
|
51
52
|
"description": "Controls whether to exclude extension-generated project settings files (.project, .classpath, .factorypath, .settings/) from the file explorer.",
|
|
52
53
|
"scope": 3
|
|
53
54
|
},
|
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 };
|