@codingame/monaco-vscode-workbench-service-override 31.0.1 → 32.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-workbench-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "32.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - workbench service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
19
|
-
"@codingame/monaco-vscode-keybindings-service-override": "
|
|
20
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "
|
|
21
|
-
"@codingame/monaco-vscode-view-banner-service-override": "
|
|
22
|
-
"@codingame/monaco-vscode-view-common-service-override": "
|
|
23
|
-
"@codingame/monaco-vscode-view-status-bar-service-override": "
|
|
24
|
-
"@codingame/monaco-vscode-view-title-bar-service-override": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "32.0.1",
|
|
19
|
+
"@codingame/monaco-vscode-keybindings-service-override": "32.0.1",
|
|
20
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "32.0.1",
|
|
21
|
+
"@codingame/monaco-vscode-view-banner-service-override": "32.0.1",
|
|
22
|
+
"@codingame/monaco-vscode-view-common-service-override": "32.0.1",
|
|
23
|
+
"@codingame/monaco-vscode-view-status-bar-service-override": "32.0.1",
|
|
24
|
+
"@codingame/monaco-vscode-view-title-bar-service-override": "32.0.1"
|
|
25
25
|
},
|
|
26
26
|
"main": "index.js",
|
|
27
27
|
"module": "index.js",
|
|
@@ -213,13 +213,15 @@ class Layout extends Disposable {
|
|
|
213
213
|
this.initLayoutState(accessor.get(ILifecycleService), accessor.get(IFileService));
|
|
214
214
|
}
|
|
215
215
|
registerLayoutListeners() {
|
|
216
|
-
const showEditorIfHidden =
|
|
216
|
+
const showEditorIfHidden = explicitUserAction => {
|
|
217
217
|
if (
|
|
218
218
|
this.isVisible(Parts.EDITOR_PART, mainWindow) || this.mainPartEditorService.visibleEditors.length === 0) {
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
221
|
if (this.isAuxiliaryBarMaximized()) {
|
|
222
|
-
|
|
222
|
+
if (explicitUserAction !== false) {
|
|
223
|
+
this.toggleMaximizedAuxiliaryBar();
|
|
224
|
+
}
|
|
223
225
|
} else {
|
|
224
226
|
this.toggleMaximizedPanel();
|
|
225
227
|
}
|
|
@@ -232,10 +234,10 @@ class Layout extends Disposable {
|
|
|
232
234
|
return false;
|
|
233
235
|
};
|
|
234
236
|
this.editorGroupService.whenRestored.then(() => {
|
|
235
|
-
this._register(this.mainPartEditorService.onDidVisibleEditorsChange(
|
|
237
|
+
this._register(this.mainPartEditorService.onDidVisibleEditorsChange(e => {
|
|
236
238
|
const handled = maybeMaximizeAuxiliaryBar();
|
|
237
239
|
if (!handled) {
|
|
238
|
-
showEditorIfHidden();
|
|
240
|
+
showEditorIfHidden(e.isExplicit);
|
|
239
241
|
}
|
|
240
242
|
}));
|
|
241
243
|
this._register(this.editorGroupService.mainPart.onDidActivateGroup(e => {
|
|
@@ -2331,7 +2333,8 @@ class LayoutStateModel extends Disposable {
|
|
|
2331
2333
|
this.isNew = {
|
|
2332
2334
|
[StorageScope.WORKSPACE]: this.storageService.isNew(StorageScope.WORKSPACE),
|
|
2333
2335
|
[StorageScope.PROFILE]: this.storageService.isNew(StorageScope.PROFILE),
|
|
2334
|
-
[StorageScope.APPLICATION]: this.storageService.isNew(StorageScope.APPLICATION)
|
|
2336
|
+
[StorageScope.APPLICATION]: this.storageService.isNew(StorageScope.APPLICATION),
|
|
2337
|
+
[StorageScope.APPLICATION_SHARED]: this.storageService.isNew(StorageScope.APPLICATION_SHARED)
|
|
2335
2338
|
};
|
|
2336
2339
|
this._register(this.configurationService.onDidChangeConfiguration(
|
|
2337
2340
|
configurationChange => this.updateStateFromLegacySettings(configurationChange)
|
|
@@ -54,7 +54,7 @@ class NotificationAccessibleView {
|
|
|
54
54
|
if (!notification || !message) {
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
|
-
return withSeverityPrefix(notification.source ? ( localize(
|
|
57
|
+
return withSeverityPrefix(notification.source ? ( localize(3639, "{0} Source: {1}", message, notification.source)) : message, notification.severity);
|
|
58
58
|
}
|
|
59
59
|
const content = getContentForNotification();
|
|
60
60
|
if (!content) {
|
|
@@ -110,8 +110,8 @@ function getActionsFromNotification(notification, accessibilitySignalService) {
|
|
|
110
110
|
if (actions) {
|
|
111
111
|
actions.push({
|
|
112
112
|
id: "clearNotification",
|
|
113
|
-
label: ( localize(
|
|
114
|
-
tooltip: ( localize(
|
|
113
|
+
label: ( localize(3640, "Clear Notification")),
|
|
114
|
+
tooltip: ( localize(3640, "Clear Notification")),
|
|
115
115
|
run: () => {
|
|
116
116
|
notification.close();
|
|
117
117
|
accessibilitySignalService.playSignal(AccessibilitySignal.clear);
|