@theia/monaco 1.68.0-next.8 → 1.68.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/data/monaco-themes/vscode/dark_plus.json +8 -4
- package/data/monaco-themes/vscode/dark_vs.json +28 -10
- package/data/monaco-themes/vscode/hc_black.json +24 -12
- package/data/monaco-themes/vscode/hc_light.json +15 -8
- package/data/monaco-themes/vscode/light_plus.json +8 -4
- package/data/monaco-themes/vscode/light_vs.json +27 -11
- package/lib/browser/content-hover-widget-patcher.js +1 -2
- package/lib/browser/content-hover-widget-patcher.js.map +1 -1
- package/lib/browser/markdown-renderer/monaco-markdown-renderer.js +2 -2
- package/lib/browser/markdown-renderer/monaco-markdown-renderer.js.map +1 -1
- package/lib/browser/monaco-bulk-edit-service.js +1 -1
- package/lib/browser/monaco-bulk-edit-service.js.map +1 -1
- package/lib/browser/monaco-code-action-save-participant.js +1 -1
- package/lib/browser/monaco-code-action-save-participant.js.map +1 -1
- package/lib/browser/monaco-color-registry.js +2 -3
- package/lib/browser/monaco-color-registry.js.map +1 -1
- package/lib/browser/monaco-command.js +4 -7
- package/lib/browser/monaco-command.js.map +1 -1
- package/lib/browser/monaco-context-key-service.d.ts +1 -0
- package/lib/browser/monaco-context-key-service.d.ts.map +1 -1
- package/lib/browser/monaco-context-key-service.js +14 -2
- package/lib/browser/monaco-context-key-service.js.map +1 -1
- package/lib/browser/monaco-context-menu.js +1 -2
- package/lib/browser/monaco-context-menu.js.map +1 -1
- package/lib/browser/monaco-diff-computer.js +8 -11
- package/lib/browser/monaco-diff-computer.js.map +1 -1
- package/lib/browser/monaco-diff-editor.d.ts +3 -4
- package/lib/browser/monaco-diff-editor.d.ts.map +1 -1
- package/lib/browser/monaco-diff-editor.js +8 -27
- package/lib/browser/monaco-diff-editor.js.map +1 -1
- package/lib/browser/monaco-diff-navigator-factory.d.ts.map +1 -1
- package/lib/browser/monaco-diff-navigator-factory.js +6 -6
- package/lib/browser/monaco-diff-navigator-factory.js.map +1 -1
- package/lib/browser/monaco-editor-content-menu.js +1 -2
- package/lib/browser/monaco-editor-content-menu.js.map +1 -1
- package/lib/browser/monaco-editor-model.d.ts.map +1 -1
- package/lib/browser/monaco-editor-model.js +6 -11
- package/lib/browser/monaco-editor-model.js.map +1 -1
- package/lib/browser/monaco-editor-overlay-button.js +1 -1
- package/lib/browser/monaco-editor-overlay-button.js.map +1 -1
- package/lib/browser/monaco-editor-peek-view-widget.js +1 -2
- package/lib/browser/monaco-editor-peek-view-widget.js.map +1 -1
- package/lib/browser/monaco-editor-provider.d.ts +1 -1
- package/lib/browser/monaco-editor-provider.d.ts.map +1 -1
- package/lib/browser/monaco-editor-provider.js +28 -28
- package/lib/browser/monaco-editor-provider.js.map +1 -1
- package/lib/browser/monaco-editor-service.js +6 -6
- package/lib/browser/monaco-editor-service.js.map +1 -1
- package/lib/browser/monaco-editor.d.ts +19 -3
- package/lib/browser/monaco-editor.d.ts.map +1 -1
- package/lib/browser/monaco-editor.js +38 -15
- package/lib/browser/monaco-editor.js.map +1 -1
- package/lib/browser/monaco-frontend-application-contribution.js +1 -2
- package/lib/browser/monaco-frontend-application-contribution.js.map +1 -1
- package/lib/browser/monaco-frontend-module.js +6 -8
- package/lib/browser/monaco-frontend-module.js.map +1 -1
- package/lib/browser/monaco-gotoline-quick-access.js +1 -2
- package/lib/browser/monaco-gotoline-quick-access.js.map +1 -1
- package/lib/browser/monaco-gotosymbol-quick-access.js +1 -2
- package/lib/browser/monaco-gotosymbol-quick-access.js.map +1 -1
- package/lib/browser/monaco-indexed-db.js +8 -9
- package/lib/browser/monaco-indexed-db.js.map +1 -1
- package/lib/browser/monaco-keybinding.js +2 -4
- package/lib/browser/monaco-keybinding.js.map +1 -1
- package/lib/browser/monaco-languages.js +3 -6
- package/lib/browser/monaco-languages.js.map +1 -1
- package/lib/browser/monaco-mime-service.d.ts +0 -1
- package/lib/browser/monaco-mime-service.d.ts.map +1 -1
- package/lib/browser/monaco-outline-contribution.js +1 -2
- package/lib/browser/monaco-outline-contribution.js.map +1 -1
- package/lib/browser/monaco-outline-decorator.d.ts.map +1 -1
- package/lib/browser/monaco-quick-input-service.d.ts +9 -1
- package/lib/browser/monaco-quick-input-service.d.ts.map +1 -1
- package/lib/browser/monaco-quick-input-service.js +18 -20
- package/lib/browser/monaco-quick-input-service.js.map +1 -1
- package/lib/browser/monaco-resolved-keybinding.js +5 -6
- package/lib/browser/monaco-resolved-keybinding.js.map +1 -1
- package/lib/browser/monaco-snippet-suggest-provider.js +4 -3
- package/lib/browser/monaco-snippet-suggest-provider.js.map +1 -1
- package/lib/browser/monaco-utilities.js +5 -6
- package/lib/browser/monaco-utilities.js.map +1 -1
- package/lib/browser/monaco-workspace.js +6 -8
- package/lib/browser/monaco-workspace.js.map +1 -1
- package/lib/browser/simple-monaco-editor.js +2 -2
- package/lib/browser/simple-monaco-editor.js.map +1 -1
- package/lib/browser/textmate/monaco-textmate-frontend-bindings.d.ts.map +1 -1
- package/lib/browser/textmate/monaco-textmate-frontend-bindings.js +3 -3
- package/lib/browser/textmate/monaco-textmate-frontend-bindings.js.map +1 -1
- package/lib/browser/textmate/monaco-textmate-service.js +1 -1
- package/lib/browser/textmate/monaco-textmate-service.js.map +1 -1
- package/lib/browser/textmate/textmate-contribution.js +2 -2
- package/lib/browser/textmate/textmate-contribution.js.map +1 -1
- package/lib/browser/textmate/textmate-tokenizer.js +2 -2
- package/lib/browser/textmate/textmate-tokenizer.js.map +1 -1
- package/lib/browser/workspace-symbol-command.js +3 -2
- package/lib/browser/workspace-symbol-command.js.map +1 -1
- package/package.json +9 -9
- package/src/browser/monaco-context-key-service.ts +15 -2
- package/src/browser/monaco-diff-editor.ts +8 -26
- package/src/browser/monaco-editor-provider.ts +4 -5
- package/src/browser/monaco-editor.ts +40 -15
- package/src/browser/monaco-quick-input-service.ts +25 -13
- package/src/browser/textmate/monaco-textmate-service.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "vscode://schemas/color-theme",
|
|
3
|
-
"name": "Dark+
|
|
3
|
+
"name": "Dark+",
|
|
4
4
|
"include": "./dark_vs.json",
|
|
5
5
|
"tokenColors": [
|
|
6
6
|
{
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
{
|
|
20
20
|
"name": "Types declaration and references",
|
|
21
21
|
"scope": [
|
|
22
|
-
"meta.return-type",
|
|
23
22
|
"support.class",
|
|
24
23
|
"support.type",
|
|
25
24
|
"entity.name.type",
|
|
@@ -65,7 +64,8 @@
|
|
|
65
64
|
"support.constant.math",
|
|
66
65
|
"support.constant.dom",
|
|
67
66
|
"support.constant.json",
|
|
68
|
-
"entity.other.inherited-class"
|
|
67
|
+
"entity.other.inherited-class",
|
|
68
|
+
"punctuation.separator.namespace.ruby"
|
|
69
69
|
],
|
|
70
70
|
"settings": {
|
|
71
71
|
"foreground": "#4EC9B0"
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"source.cpp keyword.operator.new",
|
|
79
79
|
"keyword.operator.delete",
|
|
80
80
|
"keyword.other.using",
|
|
81
|
+
"keyword.other.directive.using",
|
|
81
82
|
"keyword.other.operator",
|
|
82
83
|
"entity.name.operator"
|
|
83
84
|
],
|
|
@@ -174,7 +175,10 @@
|
|
|
174
175
|
}
|
|
175
176
|
},
|
|
176
177
|
{
|
|
177
|
-
"scope":
|
|
178
|
+
"scope": [
|
|
179
|
+
"constant.character",
|
|
180
|
+
"constant.other.option"
|
|
181
|
+
],
|
|
178
182
|
"settings": {
|
|
179
183
|
"foreground": "#569cd6"
|
|
180
184
|
}
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
"$schema": "vscode://schemas/color-theme",
|
|
3
3
|
"name": "Dark (Visual Studio)",
|
|
4
4
|
"colors": {
|
|
5
|
+
"checkbox.border": "#6B6B6B",
|
|
5
6
|
"editor.background": "#1E1E1E",
|
|
6
7
|
"editor.foreground": "#D4D4D4",
|
|
7
8
|
"editor.inactiveSelectionBackground": "#3A3D41",
|
|
8
|
-
"editorIndentGuide.
|
|
9
|
-
"editorIndentGuide.
|
|
9
|
+
"editorIndentGuide.background1": "#404040",
|
|
10
|
+
"editorIndentGuide.activeBackground1": "#707070",
|
|
10
11
|
"editor.selectionHighlightBackground": "#ADD6FF26",
|
|
11
12
|
"list.dropBackground": "#383B3D",
|
|
12
13
|
"activityBarBadge.background": "#007ACC",
|
|
@@ -14,20 +15,29 @@
|
|
|
14
15
|
"input.placeholderForeground": "#A6A6A6",
|
|
15
16
|
"menu.background": "#252526",
|
|
16
17
|
"menu.foreground": "#CCCCCC",
|
|
18
|
+
"menu.separatorBackground": "#454545",
|
|
17
19
|
"menu.border": "#454545",
|
|
20
|
+
"menu.selectionBackground": "#0078d4",
|
|
18
21
|
"statusBarItem.remoteForeground": "#FFF",
|
|
19
22
|
"statusBarItem.remoteBackground": "#16825D",
|
|
20
23
|
"ports.iconRunningProcessForeground": "#369432",
|
|
21
24
|
"sideBarSectionHeader.background": "#0000",
|
|
22
25
|
"sideBarSectionHeader.border": "#ccc3",
|
|
26
|
+
"tab.selectedBackground": "#222222",
|
|
27
|
+
"tab.selectedForeground": "#ffffffa0",
|
|
23
28
|
"tab.lastPinnedBorder": "#ccc3",
|
|
24
|
-
"list.activeSelectionIconForeground": "#FFF"
|
|
29
|
+
"list.activeSelectionIconForeground": "#FFF",
|
|
30
|
+
"terminal.inactiveSelectionBackground": "#3A3D41",
|
|
31
|
+
"widget.border": "#303031",
|
|
32
|
+
"actionBar.toggledBackground": "#383a49"
|
|
25
33
|
},
|
|
26
34
|
"tokenColors": [
|
|
27
35
|
{
|
|
28
36
|
"scope": [
|
|
29
37
|
"meta.embedded",
|
|
30
|
-
"source.groovy.embedded"
|
|
38
|
+
"source.groovy.embedded",
|
|
39
|
+
"string meta.image.inline.markdown",
|
|
40
|
+
"variable.legacy.builtin.python"
|
|
31
41
|
],
|
|
32
42
|
"settings": {
|
|
33
43
|
"foreground": "#D4D4D4"
|
|
@@ -87,7 +97,10 @@
|
|
|
87
97
|
}
|
|
88
98
|
},
|
|
89
99
|
{
|
|
90
|
-
"scope":
|
|
100
|
+
"scope": [
|
|
101
|
+
"entity.name.tag.css",
|
|
102
|
+
"entity.name.tag.less"
|
|
103
|
+
],
|
|
91
104
|
"settings": {
|
|
92
105
|
"foreground": "#d7ba7d"
|
|
93
106
|
}
|
|
@@ -101,10 +114,11 @@
|
|
|
101
114
|
{
|
|
102
115
|
"scope": [
|
|
103
116
|
"entity.other.attribute-name.class.css",
|
|
104
|
-
"entity.other.attribute-name.class
|
|
117
|
+
"source.css entity.other.attribute-name.class",
|
|
105
118
|
"entity.other.attribute-name.id.css",
|
|
106
119
|
"entity.other.attribute-name.parent-selector.css",
|
|
107
|
-
"entity.other.attribute-name.
|
|
120
|
+
"entity.other.attribute-name.parent.less",
|
|
121
|
+
"source.css entity.other.attribute-name.pseudo-class",
|
|
108
122
|
"entity.other.attribute-name.pseudo-element.css",
|
|
109
123
|
"source.css.less entity.other.attribute-name.id",
|
|
110
124
|
"entity.other.attribute-name.scss"
|
|
@@ -145,6 +159,12 @@
|
|
|
145
159
|
"fontStyle": "italic"
|
|
146
160
|
}
|
|
147
161
|
},
|
|
162
|
+
{
|
|
163
|
+
"scope": "markup.strikethrough",
|
|
164
|
+
"settings": {
|
|
165
|
+
"fontStyle": "strikethrough"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
148
168
|
{
|
|
149
169
|
"scope": "markup.inserted",
|
|
150
170
|
"settings": {
|
|
@@ -293,9 +313,7 @@
|
|
|
293
313
|
"scope": [
|
|
294
314
|
"support.type.vendored.property-name",
|
|
295
315
|
"support.type.property-name",
|
|
296
|
-
"
|
|
297
|
-
"variable.scss",
|
|
298
|
-
"variable.other.less",
|
|
316
|
+
"source.css variable",
|
|
299
317
|
"source.coffee.embedded"
|
|
300
318
|
],
|
|
301
319
|
"settings": {
|
|
@@ -4,20 +4,23 @@
|
|
|
4
4
|
"colors": {
|
|
5
5
|
"editor.background": "#000000",
|
|
6
6
|
"editor.foreground": "#FFFFFF",
|
|
7
|
-
"editorIndentGuide.
|
|
8
|
-
"editorIndentGuide.
|
|
7
|
+
"editorIndentGuide.background1": "#FFFFFF",
|
|
8
|
+
"editorIndentGuide.activeBackground1": "#FFFFFF",
|
|
9
9
|
"sideBarTitle.foreground": "#FFFFFF",
|
|
10
10
|
"selection.background": "#008000",
|
|
11
11
|
"editor.selectionBackground": "#FFFFFF",
|
|
12
12
|
"statusBarItem.remoteBackground": "#00000000",
|
|
13
13
|
"ports.iconRunningProcessForeground": "#FFFFFF",
|
|
14
|
-
"editorWhitespace.foreground": "#7c7c7c"
|
|
14
|
+
"editorWhitespace.foreground": "#7c7c7c",
|
|
15
|
+
"actionBar.toggledBackground": "#383a49"
|
|
15
16
|
},
|
|
16
17
|
"tokenColors": [
|
|
17
18
|
{
|
|
18
19
|
"scope": [
|
|
19
20
|
"meta.embedded",
|
|
20
|
-
"source.groovy.embedded"
|
|
21
|
+
"source.groovy.embedded",
|
|
22
|
+
"string meta.image.inline.markdown",
|
|
23
|
+
"variable.legacy.builtin.python"
|
|
21
24
|
],
|
|
22
25
|
"settings": {
|
|
23
26
|
"foreground": "#FFFFFF"
|
|
@@ -83,7 +86,10 @@
|
|
|
83
86
|
}
|
|
84
87
|
},
|
|
85
88
|
{
|
|
86
|
-
"scope":
|
|
89
|
+
"scope": [
|
|
90
|
+
"entity.name.tag.css",
|
|
91
|
+
"entity.name.tag.less"
|
|
92
|
+
],
|
|
87
93
|
"settings": {
|
|
88
94
|
"foreground": "#d7ba7d"
|
|
89
95
|
}
|
|
@@ -97,10 +103,11 @@
|
|
|
97
103
|
{
|
|
98
104
|
"scope": [
|
|
99
105
|
"entity.other.attribute-name.class.css",
|
|
100
|
-
"entity.other.attribute-name.class
|
|
106
|
+
"source.css entity.other.attribute-name.class",
|
|
101
107
|
"entity.other.attribute-name.id.css",
|
|
102
108
|
"entity.other.attribute-name.parent-selector.css",
|
|
103
|
-
"entity.other.attribute-name.
|
|
109
|
+
"entity.other.attribute-name.parent.less",
|
|
110
|
+
"source.css entity.other.attribute-name.pseudo-class",
|
|
104
111
|
"entity.other.attribute-name.pseudo-element.css",
|
|
105
112
|
"source.css.less entity.other.attribute-name.id",
|
|
106
113
|
"entity.other.attribute-name.scss"
|
|
@@ -140,6 +147,12 @@
|
|
|
140
147
|
"fontStyle": "italic"
|
|
141
148
|
}
|
|
142
149
|
},
|
|
150
|
+
{
|
|
151
|
+
"scope": "markup.strikethrough",
|
|
152
|
+
"settings": {
|
|
153
|
+
"fontStyle": "strikethrough"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
143
156
|
{
|
|
144
157
|
"scope": "markup.inserted",
|
|
145
158
|
"settings": {
|
|
@@ -257,9 +270,7 @@
|
|
|
257
270
|
"scope": [
|
|
258
271
|
"support.type.vendored.property-name",
|
|
259
272
|
"support.type.property-name",
|
|
260
|
-
"
|
|
261
|
-
"variable.scss",
|
|
262
|
-
"variable.other.less",
|
|
273
|
+
"source.css variable",
|
|
263
274
|
"source.coffee.embedded"
|
|
264
275
|
],
|
|
265
276
|
"settings": {
|
|
@@ -347,7 +358,6 @@
|
|
|
347
358
|
{
|
|
348
359
|
"name": "Types declaration and references",
|
|
349
360
|
"scope": [
|
|
350
|
-
"meta.return-type",
|
|
351
361
|
"support.class",
|
|
352
362
|
"support.type",
|
|
353
363
|
"entity.name.type",
|
|
@@ -385,7 +395,8 @@
|
|
|
385
395
|
"support.constant.math",
|
|
386
396
|
"support.constant.dom",
|
|
387
397
|
"support.constant.json",
|
|
388
|
-
"entity.other.inherited-class"
|
|
398
|
+
"entity.other.inherited-class",
|
|
399
|
+
"punctuation.separator.namespace.ruby"
|
|
389
400
|
],
|
|
390
401
|
"settings": {
|
|
391
402
|
"foreground": "#4EC9B0"
|
|
@@ -398,6 +409,7 @@
|
|
|
398
409
|
"source.cpp keyword.operator.new",
|
|
399
410
|
"source.cpp keyword.operator.delete",
|
|
400
411
|
"keyword.other.using",
|
|
412
|
+
"keyword.other.directive.using",
|
|
401
413
|
"keyword.other.operator"
|
|
402
414
|
],
|
|
403
415
|
"settings": {
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
{
|
|
6
6
|
"scope": [
|
|
7
7
|
"meta.embedded",
|
|
8
|
-
"source.groovy.embedded"
|
|
8
|
+
"source.groovy.embedded",
|
|
9
|
+
"variable.legacy.builtin.python"
|
|
9
10
|
],
|
|
10
11
|
"settings": {
|
|
11
12
|
"foreground": "#292929"
|
|
@@ -79,10 +80,11 @@
|
|
|
79
80
|
{
|
|
80
81
|
"scope": [
|
|
81
82
|
"entity.other.attribute-name.class.css",
|
|
82
|
-
"entity.other.attribute-name.class
|
|
83
|
+
"source.css entity.other.attribute-name.class",
|
|
83
84
|
"entity.other.attribute-name.id.css",
|
|
84
85
|
"entity.other.attribute-name.parent-selector.css",
|
|
85
|
-
"entity.other.attribute-name.
|
|
86
|
+
"entity.other.attribute-name.parent.less",
|
|
87
|
+
"source.css entity.other.attribute-name.pseudo-class",
|
|
86
88
|
"entity.other.attribute-name.pseudo-element.css",
|
|
87
89
|
"source.css.less entity.other.attribute-name.id",
|
|
88
90
|
"entity.other.attribute-name.scss"
|
|
@@ -289,9 +291,7 @@
|
|
|
289
291
|
"scope": [
|
|
290
292
|
"support.type.vendored.property-name",
|
|
291
293
|
"support.type.property-name",
|
|
292
|
-
"
|
|
293
|
-
"variable.scss",
|
|
294
|
-
"variable.other.less",
|
|
294
|
+
"source.css variable",
|
|
295
295
|
"source.coffee.embedded"
|
|
296
296
|
],
|
|
297
297
|
"settings": {
|
|
@@ -442,7 +442,8 @@
|
|
|
442
442
|
"support.constant.math",
|
|
443
443
|
"support.constant.dom",
|
|
444
444
|
"support.constant.json",
|
|
445
|
-
"entity.other.inherited-class"
|
|
445
|
+
"entity.other.inherited-class",
|
|
446
|
+
"punctuation.separator.namespace.ruby"
|
|
446
447
|
],
|
|
447
448
|
"settings": {
|
|
448
449
|
"foreground": "#185E73"
|
|
@@ -454,6 +455,7 @@
|
|
|
454
455
|
"source.cpp keyword.operator.new",
|
|
455
456
|
"source.cpp keyword.operator.delete",
|
|
456
457
|
"keyword.other.using",
|
|
458
|
+
"keyword.other.directive.using",
|
|
457
459
|
"keyword.other.operator",
|
|
458
460
|
"entity.name.operator"
|
|
459
461
|
],
|
|
@@ -586,5 +588,10 @@
|
|
|
586
588
|
"foreground": "#800080"
|
|
587
589
|
}
|
|
588
590
|
}
|
|
589
|
-
]
|
|
591
|
+
],
|
|
592
|
+
"colors": {
|
|
593
|
+
"actionBar.toggledBackground": "#dddddd",
|
|
594
|
+
"statusBarItem.remoteBackground": "#FFFFFF",
|
|
595
|
+
"statusBarItem.remoteForeground": "#000000"
|
|
596
|
+
}
|
|
590
597
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "vscode://schemas/color-theme",
|
|
3
|
-
"name": "Light+
|
|
3
|
+
"name": "Light+",
|
|
4
4
|
"include": "./light_vs.json",
|
|
5
5
|
"tokenColors": [
|
|
6
6
|
{
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
{
|
|
20
20
|
"name": "Types declaration and references",
|
|
21
21
|
"scope": [
|
|
22
|
-
"meta.return-type",
|
|
23
22
|
"support.class",
|
|
24
23
|
"support.type",
|
|
25
24
|
"entity.name.type",
|
|
@@ -65,7 +64,8 @@
|
|
|
65
64
|
"support.constant.math",
|
|
66
65
|
"support.constant.dom",
|
|
67
66
|
"support.constant.json",
|
|
68
|
-
"entity.other.inherited-class"
|
|
67
|
+
"entity.other.inherited-class",
|
|
68
|
+
"punctuation.separator.namespace.ruby"
|
|
69
69
|
],
|
|
70
70
|
"settings": {
|
|
71
71
|
"foreground": "#267f99"
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"source.cpp keyword.operator.new",
|
|
79
79
|
"source.cpp keyword.operator.delete",
|
|
80
80
|
"keyword.other.using",
|
|
81
|
+
"keyword.other.directive.using",
|
|
81
82
|
"keyword.other.operator",
|
|
82
83
|
"entity.name.operator"
|
|
83
84
|
],
|
|
@@ -174,7 +175,10 @@
|
|
|
174
175
|
}
|
|
175
176
|
},
|
|
176
177
|
{
|
|
177
|
-
"scope":
|
|
178
|
+
"scope": [
|
|
179
|
+
"constant.character",
|
|
180
|
+
"constant.other.option"
|
|
181
|
+
],
|
|
178
182
|
"settings": {
|
|
179
183
|
"foreground": "#0000ff"
|
|
180
184
|
}
|
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
"$schema": "vscode://schemas/color-theme",
|
|
3
3
|
"name": "Light (Visual Studio)",
|
|
4
4
|
"colors": {
|
|
5
|
+
"checkbox.border": "#919191",
|
|
5
6
|
"editor.background": "#FFFFFF",
|
|
6
7
|
"editor.foreground": "#000000",
|
|
7
8
|
"editor.inactiveSelectionBackground": "#E5EBF1",
|
|
8
|
-
"editorIndentGuide.
|
|
9
|
-
"editorIndentGuide.
|
|
9
|
+
"editorIndentGuide.background1": "#D3D3D3",
|
|
10
|
+
"editorIndentGuide.activeBackground1": "#939393",
|
|
10
11
|
"editor.selectionHighlightBackground": "#ADD6FF80",
|
|
11
12
|
"editorSuggestWidget.background": "#F3F3F3",
|
|
12
13
|
"activityBarBadge.background": "#007ACC",
|
|
13
14
|
"sideBarTitle.foreground": "#6F6F6F",
|
|
14
15
|
"list.hoverBackground": "#E8E8E8",
|
|
16
|
+
"menu.border": "#D4D4D4",
|
|
15
17
|
"input.placeholderForeground": "#767676",
|
|
16
18
|
"searchEditor.textInputBorder": "#CECECE",
|
|
17
19
|
"settings.textInputBorder": "#CECECE",
|
|
@@ -21,17 +23,26 @@
|
|
|
21
23
|
"ports.iconRunningProcessForeground": "#369432",
|
|
22
24
|
"sideBarSectionHeader.background": "#0000",
|
|
23
25
|
"sideBarSectionHeader.border": "#61616130",
|
|
26
|
+
"tab.selectedForeground": "#333333b3",
|
|
27
|
+
"tab.selectedBackground": "#ffffffa5",
|
|
24
28
|
"tab.lastPinnedBorder": "#61616130",
|
|
25
29
|
"notebook.cellBorderColor": "#E8E8E8",
|
|
26
30
|
"notebook.selectedCellBackground": "#c8ddf150",
|
|
27
31
|
"statusBarItem.errorBackground": "#c72e0f",
|
|
28
|
-
"list.activeSelectionIconForeground": "#FFF"
|
|
32
|
+
"list.activeSelectionIconForeground": "#FFF",
|
|
33
|
+
"list.focusAndSelectionOutline": "#90C2F9",
|
|
34
|
+
"terminal.inactiveSelectionBackground": "#E5EBF1",
|
|
35
|
+
"widget.border": "#d4d4d4",
|
|
36
|
+
"actionBar.toggledBackground": "#dddddd",
|
|
37
|
+
"diffEditor.unchangedRegionBackground": "#f8f8f8"
|
|
29
38
|
},
|
|
30
39
|
"tokenColors": [
|
|
31
40
|
{
|
|
32
41
|
"scope": [
|
|
33
42
|
"meta.embedded",
|
|
34
|
-
"source.groovy.embedded"
|
|
43
|
+
"source.groovy.embedded",
|
|
44
|
+
"string meta.image.inline.markdown",
|
|
45
|
+
"variable.legacy.builtin.python"
|
|
35
46
|
],
|
|
36
47
|
"settings": {
|
|
37
48
|
"foreground": "#000000ff"
|
|
@@ -100,16 +111,17 @@
|
|
|
100
111
|
{
|
|
101
112
|
"scope": "entity.other.attribute-name",
|
|
102
113
|
"settings": {
|
|
103
|
-
"foreground": "#
|
|
114
|
+
"foreground": "#e50000"
|
|
104
115
|
}
|
|
105
116
|
},
|
|
106
117
|
{
|
|
107
118
|
"scope": [
|
|
108
119
|
"entity.other.attribute-name.class.css",
|
|
109
|
-
"entity.other.attribute-name.class
|
|
120
|
+
"source.css entity.other.attribute-name.class",
|
|
110
121
|
"entity.other.attribute-name.id.css",
|
|
111
122
|
"entity.other.attribute-name.parent-selector.css",
|
|
112
|
-
"entity.other.attribute-name.
|
|
123
|
+
"entity.other.attribute-name.parent.less",
|
|
124
|
+
"source.css entity.other.attribute-name.pseudo-class",
|
|
113
125
|
"entity.other.attribute-name.pseudo-element.css",
|
|
114
126
|
"source.css.less entity.other.attribute-name.id",
|
|
115
127
|
"entity.other.attribute-name.scss"
|
|
@@ -150,6 +162,12 @@
|
|
|
150
162
|
"fontStyle": "italic"
|
|
151
163
|
}
|
|
152
164
|
},
|
|
165
|
+
{
|
|
166
|
+
"scope": "markup.strikethrough",
|
|
167
|
+
"settings": {
|
|
168
|
+
"fontStyle": "strikethrough"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
153
171
|
{
|
|
154
172
|
"scope": "markup.inserted",
|
|
155
173
|
"settings": {
|
|
@@ -313,13 +331,11 @@
|
|
|
313
331
|
"scope": [
|
|
314
332
|
"support.type.vendored.property-name",
|
|
315
333
|
"support.type.property-name",
|
|
316
|
-
"
|
|
317
|
-
"variable.scss",
|
|
318
|
-
"variable.other.less",
|
|
334
|
+
"source.css variable",
|
|
319
335
|
"source.coffee.embedded"
|
|
320
336
|
],
|
|
321
337
|
"settings": {
|
|
322
|
-
"foreground": "#
|
|
338
|
+
"foreground": "#e50000"
|
|
323
339
|
}
|
|
324
340
|
},
|
|
325
341
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
16
|
// *****************************************************************************
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.createContentHoverWidgetPatcher =
|
|
18
|
+
exports.createContentHoverWidgetPatcher = createContentHoverWidgetPatcher;
|
|
19
19
|
const contentHoverWidget_1 = require("@theia/monaco-editor-core/esm/vs/editor/contrib/hover/browser/contentHoverWidget");
|
|
20
20
|
// https://github.com/microsoft/vscode/blob/1430e1845cbf5ec29a2fc265f12c7fb5c3d685c3/src/vs/editor/contrib/hover/browser/resizableContentWidget.ts#L13-L14
|
|
21
21
|
const VSCODE_TOP_HEIGHT = 30;
|
|
@@ -59,5 +59,4 @@ function createContentHoverWidgetPatcher() {
|
|
|
59
59
|
},
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
exports.createContentHoverWidgetPatcher = createContentHoverWidgetPatcher;
|
|
63
62
|
//# sourceMappingURL=content-hover-widget-patcher.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-hover-widget-patcher.js","sourceRoot":"","sources":["../../src/browser/content-hover-widget-patcher.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,iCAAiC;AACjC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF
|
|
1
|
+
{"version":3,"file":"content-hover-widget-patcher.js","sourceRoot":"","sources":["../../src/browser/content-hover-widget-patcher.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,iCAAiC;AACjC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAkBhF,0EAyCC;AAxDD,yHAAsH;AAEtH,0JAA0J;AAC1J,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAC7B,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAWhC,SAAgB,+BAA+B;IAC3C,IAAI,aAAiC,CAAC;IACtC,IAAI,gBAAoC,CAAC;IAEzC,MAAM,mCAAmC,GAAG,uCAAkB,CAAC,SAAS,CAAC,8BAA8B,CAAC,CAAC;IACzG,uCAAkB,CAAC,SAAS,CAAC,8BAA8B,CAAC,GAAG,UAAU,QAAmB;QACxF,MAAM,aAAa,GAAG,mCAAmC,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC/E,IAAI,OAAO,aAAa,KAAK,QAAQ,IAAI,CAAC,aAAa,EAAE,CAAC;YACtD,OAAO,aAAa,CAAC;QACzB,CAAC;QACD,kGAAkG;QAClG,sJAAsJ;QACtJ,0GAA0G;QAC1G,uGAAuG;QACvG,OAAO,aAAa,GAAG,aAAa,CAAC;IACzC,CAAC,CAAC;IAEF,MAAM,mCAAmC,GAAG,uCAAkB,CAAC,SAAS,CAAC,8BAA8B,CAAC,CAAC;IACzG,uCAAkB,CAAC,SAAS,CAAC,8BAA8B,CAAC,GAAG,UAAU,QAAmB;QACxF,MAAM,aAAa,GAAG,mCAAmC,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC/E,IAAI,OAAO,aAAa,KAAK,QAAQ,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACzD,OAAO,aAAa,CAAC;QACzB,CAAC;QACD,kGAAkG;QAClG,sJAAsJ;QACtJ,6FAA6F;QAC7F,+EAA+E;QAC/E,uEAAuE;QACvE,OAAO,aAAa,GAAG,gBAAgB,CAAC;IAC5C,CAAC,CAAC;IAEF,OAAO;QACH,oCAAoC,CAAC,MAAM;YACvC,IAAI,OAAO,MAAM,CAAC,SAAS,KAAK,QAAQ,EAAE,CAAC;gBACvC,aAAa,GAAG,MAAM,CAAC,SAAS,GAAG,iBAAiB,CAAC;YACzD,CAAC;YACD,IAAI,OAAO,MAAM,CAAC,YAAY,KAAK,QAAQ,EAAE,CAAC;gBAC1C,gBAAgB,GAAG,MAAM,CAAC,YAAY,GAAG,oBAAoB,CAAC;YAClE,CAAC;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -31,12 +31,12 @@ let MonacoMarkdownRenderer = class MonacoMarkdownRenderer {
|
|
|
31
31
|
return this.delegate.render(markdown, this.transformOptions(options), markedOptions);
|
|
32
32
|
}
|
|
33
33
|
transformOptions(options) {
|
|
34
|
-
if (!
|
|
34
|
+
if (!options?.actionHandler) {
|
|
35
35
|
return options;
|
|
36
36
|
}
|
|
37
37
|
const monacoActionHandler = {
|
|
38
38
|
disposables: this.toDisposableStore(options.actionHandler.disposables),
|
|
39
|
-
callback: (content, e) => options.actionHandler.callback(content, e
|
|
39
|
+
callback: (content, e) => options.actionHandler.callback(content, e?.browserEvent)
|
|
40
40
|
};
|
|
41
41
|
return { ...options, actionHandler: monacoActionHandler };
|
|
42
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monaco-markdown-renderer.js","sourceRoot":"","sources":["../../../src/browser/markdown-renderer/monaco-markdown-renderer.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAiF;AACjF,gGAAqG;AACrG,uIAC4G;AAC5G,sHAAmH;AAEnH,qDAAmF;AACnF,2FAA0I;AAE1I,oDAAiD;AAIjD,sFAAyF;AACzF,sCAAuF;AAGhF,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAO/B,MAAM,CAAC,QAAoC,EAAE,OAA+B,EAAE,aAA6B;QACvG,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,CAAC;IACzF,CAAC;IAES,gBAAgB,CAAC,OAA+B;QACtD,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"monaco-markdown-renderer.js","sourceRoot":"","sources":["../../../src/browser/markdown-renderer/monaco-markdown-renderer.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAiF;AACjF,gGAAqG;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,EAAC,IAAI,CAAC,aAAa,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;YAC7C,OAAO,IAAI,CAAC;QAChB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,OAAO,CAAC,KAAK,CAAC,iBAAiB,GAAG,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;YACtD,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;CACJ,CAAA;AA5EY,wDAAsB;AACW;IAAzC,IAAA,kBAAM,EAAC,uBAAa,CAAC;;6DAAiD;AACzB;IAA7C,IAAA,kBAAM,EAAC,wBAAiB,CAAC;;2DAAmD;AAiCnE;IADT,IAAA,yBAAa,GAAE;;;;kDAef;iCAjDQ,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CA4ElC"}
|
|
@@ -23,7 +23,7 @@ const bulkEditService_1 = require("@theia/monaco-editor-core/esm/vs/editor/brows
|
|
|
23
23
|
let MonacoBulkEditService = class MonacoBulkEditService {
|
|
24
24
|
async apply(editsIn, options) {
|
|
25
25
|
const edits = Array.isArray(editsIn) ? editsIn : bulkEditService_1.ResourceEdit.convert(editsIn);
|
|
26
|
-
if (this._previewHandler && (
|
|
26
|
+
if (this._previewHandler && (options?.showPreview || edits.some(value => value.metadata?.needsConfirmation))) {
|
|
27
27
|
editsIn = await this._previewHandler(edits, options);
|
|
28
28
|
return { ariaSummary: '', isApplied: true };
|
|
29
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monaco-bulk-edit-service.js","sourceRoot":"","sources":["../../src/browser/monaco-bulk-edit-service.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gF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EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;QAChD,CAAC;aAAM,CAAC;YACJ,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACxD,CAAC;IACL,CAAC;IAED,iBAAiB;QACb,OAAO,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IACzC,CAAC;IAED,iBAAiB,CAAC,OAAgC;QAC9C,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC;QAE/B,MAAM,qBAAqB,GAAG,GAAG,EAAE;YAC/B,IAAI,IAAI,CAAC,eAAe,KAAK,OAAO,EAAE,CAAC;gBACnC,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;YACrC,CAAC;QACL,CAAC,CAAC;QAEF,OAAO;YACH,OAAO;gBACH,qBAAqB,EAAE,CAAC;YAC5B,CAAC;SACJ,CAAC;IACN,CAAC;CACJ,CAAA;AAtCY,sDAAqB;AAIX;IADlB,IAAA,kBAAM,EAAC,kCAAe,CAAC;sCACM,kCAAe;wDAAC;gCAJrC,qBAAqB;IADjC,IAAA,sBAAU,GAAE;GACA,qBAAqB,CAsCjC"}
|
|
@@ -31,7 +31,7 @@ let MonacoCodeActionSaveParticipant = class MonacoCodeActionSaveParticipant {
|
|
|
31
31
|
this.order = monaco_editor_provider_1.SAVE_PARTICIPANT_DEFAULT_ORDER;
|
|
32
32
|
}
|
|
33
33
|
async applyChangesOnSave(editor, cancellationToken, options) {
|
|
34
|
-
if (
|
|
34
|
+
if (options?.saveReason !== browser_1.SaveReason.Manual) {
|
|
35
35
|
return undefined;
|
|
36
36
|
}
|
|
37
37
|
await this.codeActionService.applyOnSaveCodeActions(editor.document.textEditorModel, editor.document.textEditorModel.getLanguageId(), editor.document.textEditorModel.uri.toString(), cancellationToken);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monaco-code-action-save-participant.js","sourceRoot":"","sources":["../../src/browser/monaco-code-action-save-participant.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAGhF,qDAAkE;AAElE,qEAA2F;AAC3F,4DAAkE;AAClE,6EAAuE;AAEvE;;;gGAGgG;AAChG,+KAA+K;AAExK,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IAArC;QAIM,UAAK,GAAG,uDAA8B,CAAC;IAepD,CAAC;IAbG,KAAK,CAAC,kBAAkB,CAAC,MAAoB,EAAE,iBAAoC,EAAE,OAAqB;QACtG,IAAI,
|
|
1
|
+
{"version":3,"file":"monaco-code-action-save-participant.js","sourceRoot":"","sources":["../../src/browser/monaco-code-action-save-participant.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAGhF,qDAAkE;AAElE,qEAA2F;AAC3F,4DAAkE;AAClE,6EAAuE;AAEvE;;;gGAGgG;AAChG,+KAA+K;AAExK,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IAArC;QAIM,UAAK,GAAG,uDAA8B,CAAC;IAepD,CAAC;IAbG,KAAK,CAAC,kBAAkB,CAAC,MAAoB,EAAE,iBAAoC,EAAE,OAAqB;QACtG,IAAI,OAAO,EAAE,UAAU,KAAK,oBAAU,CAAC,MAAM,EAAE,CAAC;YAC5C,OAAO,SAAS,CAAC;QACrB,CAAC;QAED,MAAM,IAAI,CAAC,iBAAiB,CAAC,sBAAsB,CAC/C,MAAM,CAAC,QAAQ,CAAC,eAAe,EAC/B,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,aAAa,EAAE,EAC/C,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,GAAG,CAAC,QAAQ,EAAE,EAC9C,iBAAiB,CACpB,CAAC;IACN,CAAC;CAEJ,CAAA;AAnBY,0EAA+B;AAErB;IADlB,IAAA,kBAAM,EAAC,oDAAuB,CAAC;;0EAC8B;0CAFrD,+BAA+B;IAD3C,IAAA,sBAAU,GAAE;GACA,+BAA+B,CAmB3C"}
|
|
@@ -38,8 +38,7 @@ let MonacoColorRegistry = class MonacoColorRegistry extends color_registry_1.Col
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
getCurrentColor(id) {
|
|
41
|
-
|
|
42
|
-
return (_a = this.monacoThemeService.getColorTheme().getColor(id)) === null || _a === void 0 ? void 0 : _a.toString();
|
|
41
|
+
return this.monacoThemeService.getColorTheme().getColor(id)?.toString();
|
|
43
42
|
}
|
|
44
43
|
getColor(id) {
|
|
45
44
|
return this.monacoThemeService.getColorTheme().getColor(id);
|
|
@@ -56,7 +55,7 @@ let MonacoColorRegistry = class MonacoColorRegistry extends color_registry_1.Col
|
|
|
56
55
|
}
|
|
57
56
|
toColor(value) {
|
|
58
57
|
if (!value || typeof value === 'string') {
|
|
59
|
-
return value
|
|
58
|
+
return value ?? null; // eslint-disable-line no-null/no-null
|
|
60
59
|
}
|
|
61
60
|
if ('kind' in value) {
|
|
62
61
|
return Colors[value.kind](value.v, value.f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monaco-color-registry.js","sourceRoot":"","sources":["../../src/browser/monaco-color-registry.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAC1D,2EAAuE;AACvE,wDAA2G;AAC3G,kEAA+D;AAC/D,wGAAmI;AACnI,sHAAmH;AACnH,+GAAoH;AACpH,8EAAsG;AACtG,+FAA+F;AAGxF,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,8BAAa;IAA/C;;QAEgB,uBAAkB,GAAG,uCAAkB,CAAC,GAAG,CAAC,yCAAuB,CAAC,CAAC;QACrE,wBAAmB,GAAG,IAAA,gCAAgB,GAAE,CAAC;IA0ChE,CAAC;IAxCY,CAAC,SAAS;QACf,KAAK,MAAM,EAAE,EAAE,EAAE,IAAI,IAAI,CAAC,mBAAmB,CAAC,SAAS,EAAE,EAAE,CAAC;YACxD,MAAM,EAAE,CAAC;QACb,CAAC;IACL,CAAC;IAEQ,eAAe,CAAC,EAAU
|
|
1
|
+
{"version":3,"file":"monaco-color-registry.js","sourceRoot":"","sources":["../../src/browser/monaco-color-registry.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAC1D,2EAAuE;AACvE,wDAA2G;AAC3G,kEAA+D;AAC/D,wGAAmI;AACnI,sHAAmH;AACnH,+GAAoH;AACpH,8EAAsG;AACtG,+FAA+F;AAGxF,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,8BAAa;IAA/C;;QAEgB,uBAAkB,GAAG,uCAAkB,CAAC,GAAG,CAAC,yCAAuB,CAAC,CAAC;QACrE,wBAAmB,GAAG,IAAA,gCAAgB,GAAE,CAAC;IA0ChE,CAAC;IAxCY,CAAC,SAAS;QACf,KAAK,MAAM,EAAE,EAAE,EAAE,IAAI,I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C;QAChE,CAAC;QACD,IAAI,MAAM,IAAI,KAAK,EAAE,CAAC;YAClB,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;QAChD,CAAC;aAAM,IAAI,GAAG,IAAI,KAAK,EAAE,CAAC;YACtB,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,KAAK,CAAC;YAC7B,OAAO,IAAI,aAAW,CAAC,IAAI,YAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACjD,CAAC;aAAM,CAAC;YACJ,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,KAAK,CAAC;YAC7B,OAAO,IAAI,aAAW,CAAC,IAAI,YAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACjD,CAAC;IACL,CAAC;CAEJ,CAAA;AA7CY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,sBAAU,GAAE;GACA,mBAAmB,CA6C/B"}
|
|
@@ -145,7 +145,7 @@ let MonacoEditorCommandHandlers = class MonacoEditorCommandHandlers {
|
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
const commandAction = editorActions.get(id);
|
|
148
|
-
this.commandRegistry.registerCommand({ id, label: commandAction
|
|
148
|
+
this.commandRegistry.registerCommand({ id, label: commandAction?.label, originalLabel: commandAction?.alias }, handler);
|
|
149
149
|
const coreCommand = MonacoCommands.COMMON_ACTIONS.get(id);
|
|
150
150
|
if (coreCommand) {
|
|
151
151
|
this.commandRegistry.registerHandler(coreCommand, handler);
|
|
@@ -186,12 +186,11 @@ let MonacoEditorCommandHandlers = class MonacoEditorCommandHandlers {
|
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
188
|
configureIndentation(editor) {
|
|
189
|
-
var _a;
|
|
190
189
|
const items = [true, false].map(useSpaces => ({
|
|
191
190
|
label: nls_1.nls.localizeByDefault(`Indent Using ${useSpaces ? 'Spaces' : 'Tabs'}`),
|
|
192
191
|
execute: () => this.configureTabSize(editor, useSpaces)
|
|
193
192
|
}));
|
|
194
|
-
|
|
193
|
+
this.quickInputService?.showQuickPick(items, { placeholder: nls_1.nls.localizeByDefault('Select Action') });
|
|
195
194
|
}
|
|
196
195
|
newConfigEolHandler() {
|
|
197
196
|
return {
|
|
@@ -199,12 +198,11 @@ let MonacoEditorCommandHandlers = class MonacoEditorCommandHandlers {
|
|
|
199
198
|
};
|
|
200
199
|
}
|
|
201
200
|
configureEol(editor) {
|
|
202
|
-
var _a;
|
|
203
201
|
const items = ['LF', 'CRLF'].map(lineEnding => ({
|
|
204
202
|
label: lineEnding,
|
|
205
203
|
execute: () => this.setEol(editor, lineEnding)
|
|
206
204
|
}));
|
|
207
|
-
|
|
205
|
+
this.quickInputService?.showQuickPick(items, { placeholder: nls_1.nls.localizeByDefault('Select End of Line Sequence') });
|
|
208
206
|
}
|
|
209
207
|
setEol(editor, lineEnding) {
|
|
210
208
|
const model = editor.document && editor.document.textEditorModel;
|
|
@@ -223,7 +221,6 @@ let MonacoEditorCommandHandlers = class MonacoEditorCommandHandlers {
|
|
|
223
221
|
};
|
|
224
222
|
}
|
|
225
223
|
configureTabSize(editor, useSpaces) {
|
|
226
|
-
var _a;
|
|
227
224
|
const model = editor.document && editor.document.textEditorModel;
|
|
228
225
|
if (model) {
|
|
229
226
|
const { tabSize } = model.getOptions();
|
|
@@ -237,7 +234,7 @@ let MonacoEditorCommandHandlers = class MonacoEditorCommandHandlers {
|
|
|
237
234
|
insertSpaces: useSpaces
|
|
238
235
|
})
|
|
239
236
|
}));
|
|
240
|
-
|
|
237
|
+
this.quickInputService?.showQuickPick(tabSizeOptions, { placeholder: nls_1.nls.localizeByDefault('Select Tab Size for Current File') });
|
|
241
238
|
}
|
|
242
239
|
}
|
|
243
240
|
newRevertActiveEditorHandler() {
|