@codingame/monaco-editor-wrapper 1.4.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/buildtarget.js +53 -0
- package/dist/cpptools.js +9 -0
- package/dist/d2.js +2 -2
- package/dist/dcf.js +3 -3
- package/dist/features/extensionConfigurations.js +4 -1
- package/dist/javascript.js +83 -2
- package/dist/javascriptreact.js +83 -2
- package/dist/jsx-tags.js +51 -2
- package/dist/main.js +15 -1
- package/dist/scalameta.js +2 -2
- package/dist/solargraph.js +192 -0
- package/dist/typescript-language-features.js +20 -20
- package/dist/typescript.js +83 -2
- package/dist/typescriptreact.js +83 -2
- package/dist/vscode-R.js +7 -1
- package/package.json +1 -1
- package/stats.html +1 -1
|
@@ -588,25 +588,25 @@ var typescriptLanguageFeatures = [
|
|
|
588
588
|
"type": "boolean",
|
|
589
589
|
"default": true,
|
|
590
590
|
"description": "Enable/disable suggestion to complete JSDoc comments.",
|
|
591
|
-
"scope":
|
|
591
|
+
"scope": 5
|
|
592
592
|
},
|
|
593
593
|
"typescript.suggest.completeJSDocs": {
|
|
594
594
|
"type": "boolean",
|
|
595
595
|
"default": true,
|
|
596
596
|
"description": "Enable/disable suggestion to complete JSDoc comments.",
|
|
597
|
-
"scope":
|
|
597
|
+
"scope": 5
|
|
598
598
|
},
|
|
599
599
|
"javascript.suggest.jsdoc.generateReturns": {
|
|
600
600
|
"type": "boolean",
|
|
601
601
|
"default": true,
|
|
602
602
|
"markdownDescription": "Enable/disable generating `@return` annotations for JSDoc templates. Requires using TypeScript 4.2+ in the workspace.",
|
|
603
|
-
"scope":
|
|
603
|
+
"scope": 5
|
|
604
604
|
},
|
|
605
605
|
"typescript.suggest.jsdoc.generateReturns": {
|
|
606
606
|
"type": "boolean",
|
|
607
607
|
"default": true,
|
|
608
608
|
"markdownDescription": "Enable/disable generating `@return` annotations for JSDoc templates. Requires using TypeScript 4.2+ in the workspace.",
|
|
609
|
-
"scope":
|
|
609
|
+
"scope": 5
|
|
610
610
|
},
|
|
611
611
|
"typescript.locale": {
|
|
612
612
|
"type": "string",
|
|
@@ -646,7 +646,7 @@ var typescriptLanguageFeatures = [
|
|
|
646
646
|
],
|
|
647
647
|
"default": "auto",
|
|
648
648
|
"markdownDescription": "Preferred quote style to use for quick fixes: `single` quotes, `double` quotes, or `auto` infer quote type from existing imports.",
|
|
649
|
-
"scope":
|
|
649
|
+
"scope": 5
|
|
650
650
|
},
|
|
651
651
|
"typescript.preferences.quoteStyle": {
|
|
652
652
|
"type": "string",
|
|
@@ -657,7 +657,7 @@ var typescriptLanguageFeatures = [
|
|
|
657
657
|
],
|
|
658
658
|
"default": "auto",
|
|
659
659
|
"markdownDescription": "Preferred quote style to use for quick fixes: `single` quotes, `double` quotes, or `auto` infer quote type from existing imports.",
|
|
660
|
-
"scope":
|
|
660
|
+
"scope": 5
|
|
661
661
|
},
|
|
662
662
|
"javascript.preferences.importModuleSpecifier": {
|
|
663
663
|
"type": "string",
|
|
@@ -675,7 +675,7 @@ var typescriptLanguageFeatures = [
|
|
|
675
675
|
],
|
|
676
676
|
"default": "shortest",
|
|
677
677
|
"description": "Preferred path style for auto imports.",
|
|
678
|
-
"scope":
|
|
678
|
+
"scope": 5
|
|
679
679
|
},
|
|
680
680
|
"typescript.preferences.importModuleSpecifier": {
|
|
681
681
|
"type": "string",
|
|
@@ -693,7 +693,7 @@ var typescriptLanguageFeatures = [
|
|
|
693
693
|
],
|
|
694
694
|
"default": "shortest",
|
|
695
695
|
"description": "Preferred path style for auto imports.",
|
|
696
|
-
"scope":
|
|
696
|
+
"scope": 5
|
|
697
697
|
},
|
|
698
698
|
"javascript.preferences.importModuleSpecifierEnding": {
|
|
699
699
|
"type": "string",
|
|
@@ -711,7 +711,7 @@ var typescriptLanguageFeatures = [
|
|
|
711
711
|
],
|
|
712
712
|
"default": "auto",
|
|
713
713
|
"description": "Preferred path ending for auto imports. Requires using TypeScript 4.5+ in the workspace.",
|
|
714
|
-
"scope":
|
|
714
|
+
"scope": 5
|
|
715
715
|
},
|
|
716
716
|
"typescript.preferences.importModuleSpecifierEnding": {
|
|
717
717
|
"type": "string",
|
|
@@ -729,7 +729,7 @@ var typescriptLanguageFeatures = [
|
|
|
729
729
|
],
|
|
730
730
|
"default": "auto",
|
|
731
731
|
"description": "Preferred path ending for auto imports. Requires using TypeScript 4.5+ in the workspace.",
|
|
732
|
-
"scope":
|
|
732
|
+
"scope": 5
|
|
733
733
|
},
|
|
734
734
|
"javascript.preferences.jsxAttributeCompletionStyle": {
|
|
735
735
|
"type": "string",
|
|
@@ -745,7 +745,7 @@ var typescriptLanguageFeatures = [
|
|
|
745
745
|
],
|
|
746
746
|
"default": "auto",
|
|
747
747
|
"description": "Preferred style for JSX attribute completions.",
|
|
748
|
-
"scope":
|
|
748
|
+
"scope": 5
|
|
749
749
|
},
|
|
750
750
|
"typescript.preferences.jsxAttributeCompletionStyle": {
|
|
751
751
|
"type": "string",
|
|
@@ -761,7 +761,7 @@ var typescriptLanguageFeatures = [
|
|
|
761
761
|
],
|
|
762
762
|
"default": "auto",
|
|
763
763
|
"description": "Preferred style for JSX attribute completions.",
|
|
764
|
-
"scope":
|
|
764
|
+
"scope": 5
|
|
765
765
|
},
|
|
766
766
|
"typescript.preferences.includePackageJsonAutoImports": {
|
|
767
767
|
"type": "string",
|
|
@@ -784,26 +784,26 @@ var typescriptLanguageFeatures = [
|
|
|
784
784
|
"default": true,
|
|
785
785
|
"description": "Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.",
|
|
786
786
|
"deprecationMessage": "The setting 'typescript.preferences.renameShorthandProperties' has been deprecated in favor of 'typescript.preferences.useAliasesForRenames'",
|
|
787
|
-
"scope":
|
|
787
|
+
"scope": 5
|
|
788
788
|
},
|
|
789
789
|
"typescript.preferences.renameShorthandProperties": {
|
|
790
790
|
"type": "boolean",
|
|
791
791
|
"default": true,
|
|
792
792
|
"description": "Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.",
|
|
793
793
|
"deprecationMessage": "The setting 'typescript.preferences.renameShorthandProperties' has been deprecated in favor of 'typescript.preferences.useAliasesForRenames'",
|
|
794
|
-
"scope":
|
|
794
|
+
"scope": 5
|
|
795
795
|
},
|
|
796
796
|
"javascript.preferences.useAliasesForRenames": {
|
|
797
797
|
"type": "boolean",
|
|
798
798
|
"default": true,
|
|
799
799
|
"description": "Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.",
|
|
800
|
-
"scope":
|
|
800
|
+
"scope": 5
|
|
801
801
|
},
|
|
802
802
|
"typescript.preferences.useAliasesForRenames": {
|
|
803
803
|
"type": "boolean",
|
|
804
804
|
"default": true,
|
|
805
805
|
"description": "Enable/disable introducing aliases for object shorthand properties during renames. Requires using TypeScript 3.4 or newer in the workspace.",
|
|
806
|
-
"scope":
|
|
806
|
+
"scope": 5
|
|
807
807
|
},
|
|
808
808
|
"typescript.updateImportsOnFileMove.enabled": {
|
|
809
809
|
"type": "string",
|
|
@@ -841,25 +841,25 @@ var typescriptLanguageFeatures = [
|
|
|
841
841
|
"type": "boolean",
|
|
842
842
|
"default": true,
|
|
843
843
|
"description": "Enable/disable automatic closing of JSX tags.",
|
|
844
|
-
"scope":
|
|
844
|
+
"scope": 5
|
|
845
845
|
},
|
|
846
846
|
"javascript.autoClosingTags": {
|
|
847
847
|
"type": "boolean",
|
|
848
848
|
"default": true,
|
|
849
849
|
"description": "Enable/disable automatic closing of JSX tags.",
|
|
850
|
-
"scope":
|
|
850
|
+
"scope": 5
|
|
851
851
|
},
|
|
852
852
|
"javascript.suggest.enabled": {
|
|
853
853
|
"type": "boolean",
|
|
854
854
|
"default": true,
|
|
855
855
|
"description": "Enabled/disable autocomplete suggestions.",
|
|
856
|
-
"scope":
|
|
856
|
+
"scope": 5
|
|
857
857
|
},
|
|
858
858
|
"typescript.suggest.enabled": {
|
|
859
859
|
"type": "boolean",
|
|
860
860
|
"default": true,
|
|
861
861
|
"description": "Enabled/disable autocomplete suggestions.",
|
|
862
|
-
"scope":
|
|
862
|
+
"scope": 5
|
|
863
863
|
},
|
|
864
864
|
"typescript.surveys.enabled": {
|
|
865
865
|
"type": "boolean",
|
package/dist/typescript.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 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 };
|
package/dist/typescriptreact.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 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 };
|
package/dist/vscode-R.js
CHANGED
|
@@ -280,6 +280,12 @@ var vscodeR = [
|
|
|
280
280
|
"markdownDescription": "Emulate the RStudio API for addin support and other {rstudioapi} calls. Changes the option `vsc.rstudioapi` in R. Requires `#r.sessionWatcher#` to be set to `true`.",
|
|
281
281
|
"scope": 3
|
|
282
282
|
},
|
|
283
|
+
"r.session.data.rowLimit": {
|
|
284
|
+
"type": "integer",
|
|
285
|
+
"default": 0,
|
|
286
|
+
"markdownDescription": "The maximum number of rows to be displayed in the data viewer. `0` means no limit. Changes the option `vsc.row_limit` in R. Requires `#r.sessionWatcher#` to be set to `true`.",
|
|
287
|
+
"scope": 3
|
|
288
|
+
},
|
|
283
289
|
"r.session.viewers.viewColumn": {
|
|
284
290
|
"type": "object",
|
|
285
291
|
"markdownDescription": "Which view column should R-related webviews be displayed? Requires `#r.sessionWatcher#` to be set to `true`.",
|
|
@@ -449,7 +455,7 @@ var vscodeR = [
|
|
|
449
455
|
"r.plot.useHttpgd": {
|
|
450
456
|
"type": "boolean",
|
|
451
457
|
"default": false,
|
|
452
|
-
"markdownDescription": "Use the httpgd-based plot viewer instead of the base VSCode-R plot viewer. Changes the option `vsc.use_httpgd` in R.",
|
|
458
|
+
"markdownDescription": "Use the httpgd-based plot viewer instead of the base VSCode-R plot viewer. Changes the option `vsc.use_httpgd` in R.\n\nRequires the `httpgd` R package version 1.2.0 or later.",
|
|
453
459
|
"scope": 3
|
|
454
460
|
},
|
|
455
461
|
"r.plot.defaults.colorTheme": {
|