@codingame/monaco-vscode-view-common-service-override 11.0.0 → 11.0.2
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 +5 -5
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +58 -58
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +159 -159
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +8 -8
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +12 -12
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +27 -27
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +11 -11
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +9 -9
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +8 -8
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +4 -4
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +1 -1
|
@@ -52,33 +52,33 @@ let HistoryService = class HistoryService extends Disposable {
|
|
|
52
52
|
this.activeEditorListeners = this._register(( (new DisposableStore())));
|
|
53
53
|
this.lastActiveEditor = undefined;
|
|
54
54
|
this.editorHelper = this.instantiationService.createInstance(EditorHelper);
|
|
55
|
-
this.canNavigateBackContextKey = (( (new RawContextKey('canNavigateBack', false, ( localize(
|
|
56
|
-
this.canNavigateForwardContextKey = (( (new RawContextKey('canNavigateForward', false, ( localize(
|
|
55
|
+
this.canNavigateBackContextKey = (( (new RawContextKey('canNavigateBack', false, ( localize(4201, "Whether it is possible to navigate back in editor history")))))).bindTo(this.contextKeyService);
|
|
56
|
+
this.canNavigateForwardContextKey = (( (new RawContextKey('canNavigateForward', false, ( localize(4202, "Whether it is possible to navigate forward in editor history")))))).bindTo(this.contextKeyService);
|
|
57
57
|
this.canNavigateBackInNavigationsContextKey = (( (new RawContextKey('canNavigateBackInNavigationLocations', false, ( localize(
|
|
58
|
-
|
|
58
|
+
4203,
|
|
59
59
|
"Whether it is possible to navigate back in editor navigation locations history"
|
|
60
60
|
)))))).bindTo(this.contextKeyService);
|
|
61
61
|
this.canNavigateForwardInNavigationsContextKey = (( (new RawContextKey('canNavigateForwardInNavigationLocations', false, ( localize(
|
|
62
|
-
|
|
62
|
+
4204,
|
|
63
63
|
"Whether it is possible to navigate forward in editor navigation locations history"
|
|
64
64
|
)))))).bindTo(this.contextKeyService);
|
|
65
65
|
this.canNavigateToLastNavigationLocationContextKey = (( (new RawContextKey('canNavigateToLastNavigationLocation', false, ( localize(
|
|
66
|
-
|
|
66
|
+
4205,
|
|
67
67
|
"Whether it is possible to navigate to the last editor navigation location"
|
|
68
68
|
)))))).bindTo(this.contextKeyService);
|
|
69
69
|
this.canNavigateBackInEditsContextKey = (( (new RawContextKey('canNavigateBackInEditLocations', false, ( localize(
|
|
70
|
-
|
|
70
|
+
4206,
|
|
71
71
|
"Whether it is possible to navigate back in editor edit locations history"
|
|
72
72
|
)))))).bindTo(this.contextKeyService);
|
|
73
73
|
this.canNavigateForwardInEditsContextKey = (( (new RawContextKey('canNavigateForwardInEditLocations', false, ( localize(
|
|
74
|
-
|
|
74
|
+
4207,
|
|
75
75
|
"Whether it is possible to navigate forward in editor edit locations history"
|
|
76
76
|
)))))).bindTo(this.contextKeyService);
|
|
77
77
|
this.canNavigateToLastEditLocationContextKey = (( (new RawContextKey('canNavigateToLastEditLocation', false, ( localize(
|
|
78
|
-
|
|
78
|
+
4208,
|
|
79
79
|
"Whether it is possible to navigate to the last editor edit location"
|
|
80
80
|
)))))).bindTo(this.contextKeyService);
|
|
81
|
-
this.canReopenClosedEditorContextKey = (( (new RawContextKey('canReopenClosedEditor', false, ( localize(
|
|
81
|
+
this.canReopenClosedEditorContextKey = (( (new RawContextKey('canReopenClosedEditor', false, ( localize(4209, "Whether it is possible to reopen the last closed editor")))))).bindTo(this.contextKeyService);
|
|
82
82
|
this._onDidChangeEditorNavigationStack = this._register(( (new Emitter())));
|
|
83
83
|
this.onDidChangeEditorNavigationStack = this._onDidChangeEditorNavigationStack.event;
|
|
84
84
|
this.defaultScopedEditorNavigationStack = undefined;
|
|
@@ -127,23 +127,23 @@ let ProgressService = class ProgressService extends Disposable {
|
|
|
127
127
|
let title;
|
|
128
128
|
const source = options.source && typeof options.source !== 'string' ? options.source.label : options.source;
|
|
129
129
|
if (progressTitle && progressMessage) {
|
|
130
|
-
text = ( localize(
|
|
131
|
-
title = source ? ( localize(
|
|
130
|
+
text = ( localize(4210, "{0}: {1}", progressTitle, progressMessage));
|
|
131
|
+
title = source ? ( localize(4211, "[{0}] {1}: {2}", source, progressTitle, progressMessage)) : text;
|
|
132
132
|
}
|
|
133
133
|
else if (progressTitle) {
|
|
134
134
|
text = progressTitle;
|
|
135
|
-
title = source ? ( localize(
|
|
135
|
+
title = source ? ( localize(4212, "[{0}]: {1}", source, progressTitle)) : text;
|
|
136
136
|
}
|
|
137
137
|
else if (progressMessage) {
|
|
138
138
|
text = progressMessage;
|
|
139
|
-
title = source ? ( localize(
|
|
139
|
+
title = source ? ( localize(4212, "[{0}]: {1}", source, progressMessage)) : text;
|
|
140
140
|
}
|
|
141
141
|
else {
|
|
142
142
|
this.updateWindowProgress(idx + 1);
|
|
143
143
|
return;
|
|
144
144
|
}
|
|
145
145
|
const statusEntryProperties = {
|
|
146
|
-
name: ( localize(
|
|
146
|
+
name: ( localize(4213, "Progress Message")),
|
|
147
147
|
text,
|
|
148
148
|
showProgress: options.type || true,
|
|
149
149
|
ariaLabel: text,
|
|
@@ -239,7 +239,7 @@ let ProgressService = class ProgressService extends Disposable {
|
|
|
239
239
|
if (options.cancellable) {
|
|
240
240
|
const cancelAction = new (class extends Action {
|
|
241
241
|
constructor() {
|
|
242
|
-
super('progress.cancel', typeof options.cancellable === 'string' ? options.cancellable : ( localize(
|
|
242
|
+
super('progress.cancel', typeof options.cancellable === 'string' ? options.cancellable : ( localize(4214, "Cancel")), undefined, true);
|
|
243
243
|
}
|
|
244
244
|
async run() {
|
|
245
245
|
progressStateModel.cancel();
|
|
@@ -425,8 +425,8 @@ let ProgressService = class ProgressService extends Disposable {
|
|
|
425
425
|
const buttons = options.buttons || [];
|
|
426
426
|
if (!options.sticky) {
|
|
427
427
|
buttons.push(options.cancellable
|
|
428
|
-
? (typeof options.cancellable === 'boolean' ? ( localize(
|
|
429
|
-
: ( localize(
|
|
428
|
+
? (typeof options.cancellable === 'boolean' ? ( localize(4214, "Cancel")) : options.cancellable)
|
|
429
|
+
: ( localize(4215, "Dismiss")));
|
|
430
430
|
}
|
|
431
431
|
dialog = ( (new Dialog(this.layoutService.activeContainer, message, buttons, {
|
|
432
432
|
type: 'pending',
|
|
@@ -555,7 +555,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
|
|
|
555
555
|
title: viewDescriptor.name,
|
|
556
556
|
metadata: {
|
|
557
557
|
description: ( localize2(
|
|
558
|
-
|
|
558
|
+
4147,
|
|
559
559
|
'Toggles the visibility of the {0} view if the view container it is located in is visible',
|
|
560
560
|
viewDescriptor.name.value
|
|
561
561
|
))
|
|
@@ -590,10 +590,10 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
|
|
|
590
590
|
super({
|
|
591
591
|
id: `${viewDescriptor.id}.removeView`,
|
|
592
592
|
viewPaneContainerId: viewContainerModel.viewContainer.id,
|
|
593
|
-
title: ( localize(
|
|
593
|
+
title: ( localize(4148, "Hide '{0}'", viewDescriptor.name.value)),
|
|
594
594
|
metadata: {
|
|
595
595
|
description: ( localize2(
|
|
596
|
-
|
|
596
|
+
4149,
|
|
597
597
|
'Hides the {0} view if it is visible and the view container it is located in is visible',
|
|
598
598
|
viewDescriptor.name.value
|
|
599
599
|
))
|
|
@@ -626,7 +626,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
|
|
|
626
626
|
constructor() {
|
|
627
627
|
super({
|
|
628
628
|
id: `${viewContainer.id}.resetViewContainerLocation`,
|
|
629
|
-
title: ( localize2(
|
|
629
|
+
title: ( localize2(4150, "Reset Location")),
|
|
630
630
|
menu: [{
|
|
631
631
|
id: MenuId.ViewContainerTitleContext,
|
|
632
632
|
when: ( (ContextKeyExpr.or( (ContextKeyExpr.and(
|
|
@@ -23,7 +23,7 @@ registerAction2(class extends Action2 {
|
|
|
23
23
|
constructor() {
|
|
24
24
|
super({
|
|
25
25
|
id: '_workbench.output.showViewsLog',
|
|
26
|
-
title: ( localize2(
|
|
26
|
+
title: ( localize2(9694, "Show Views Log")),
|
|
27
27
|
category: Categories.Developer,
|
|
28
28
|
f1: true
|
|
29
29
|
});
|