@codingame/monaco-vscode-view-common-service-override 10.1.2 → 10.1.4
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 +4 -4
- package/viewCommon.js +4 -0
- 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/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
- 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 +7 -7
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +2 -2
|
@@ -13,13 +13,13 @@ import { MergeEditor } from '../view/mergeEditor.js';
|
|
|
13
13
|
import { ctxIsMergeEditor } from 'vscode/vscode/vs/workbench/contrib/mergeEditor/common/mergeEditor';
|
|
14
14
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
15
15
|
|
|
16
|
-
const MERGE_EDITOR_CATEGORY = ( localize2(
|
|
16
|
+
const MERGE_EDITOR_CATEGORY = ( localize2(9876, 'Merge Editor (Dev)'));
|
|
17
17
|
class MergeEditorCopyContentsToJSON extends Action2 {
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: 'merge.dev.copyContentsJson',
|
|
21
21
|
category: MERGE_EDITOR_CATEGORY,
|
|
22
|
-
title: ( localize2(
|
|
22
|
+
title: ( localize2(9877, "Copy Merge Editor State as JSON")),
|
|
23
23
|
icon: Codicon.layoutCentered,
|
|
24
24
|
f1: true,
|
|
25
25
|
precondition: ctxIsMergeEditor,
|
|
@@ -31,8 +31,8 @@ class MergeEditorCopyContentsToJSON extends Action2 {
|
|
|
31
31
|
const notificationService = accessor.get(INotificationService);
|
|
32
32
|
if (!(activeEditorPane instanceof MergeEditor)) {
|
|
33
33
|
notificationService.info({
|
|
34
|
-
name: ( localize(
|
|
35
|
-
message: ( localize(
|
|
34
|
+
name: ( localize(9878, 'Merge Editor')),
|
|
35
|
+
message: ( localize(9879, "No active merge editor"))
|
|
36
36
|
});
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
@@ -51,8 +51,8 @@ class MergeEditorCopyContentsToJSON extends Action2 {
|
|
|
51
51
|
const jsonStr = JSON.stringify(contents, undefined, 4);
|
|
52
52
|
clipboardService.writeText(jsonStr);
|
|
53
53
|
notificationService.info({
|
|
54
|
-
name: ( localize(
|
|
55
|
-
message: ( localize(
|
|
54
|
+
name: ( localize(9878, 'Merge Editor')),
|
|
55
|
+
message: ( localize(9880, "Successfully copied merge editor state")),
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -61,7 +61,7 @@ class MergeEditorSaveContentsToFolder extends Action2 {
|
|
|
61
61
|
super({
|
|
62
62
|
id: 'merge.dev.saveContentsToFolder',
|
|
63
63
|
category: MERGE_EDITOR_CATEGORY,
|
|
64
|
-
title: ( localize2(
|
|
64
|
+
title: ( localize2(9881, "Save Merge Editor State to Folder")),
|
|
65
65
|
icon: Codicon.layoutCentered,
|
|
66
66
|
f1: true,
|
|
67
67
|
precondition: ctxIsMergeEditor,
|
|
@@ -75,8 +75,8 @@ class MergeEditorSaveContentsToFolder extends Action2 {
|
|
|
75
75
|
const languageService = accessor.get(ILanguageService);
|
|
76
76
|
if (!(activeEditorPane instanceof MergeEditor)) {
|
|
77
77
|
notificationService.info({
|
|
78
|
-
name: ( localize(
|
|
79
|
-
message: ( localize(
|
|
78
|
+
name: ( localize(9878, 'Merge Editor')),
|
|
79
|
+
message: ( localize(9879, "No active merge editor"))
|
|
80
80
|
});
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
@@ -88,7 +88,7 @@ class MergeEditorSaveContentsToFolder extends Action2 {
|
|
|
88
88
|
canSelectFiles: false,
|
|
89
89
|
canSelectFolders: true,
|
|
90
90
|
canSelectMany: false,
|
|
91
|
-
title: ( localize(
|
|
91
|
+
title: ( localize(9882, 'Select folder to save to'))
|
|
92
92
|
});
|
|
93
93
|
if (!result) {
|
|
94
94
|
return;
|
|
@@ -106,8 +106,8 @@ class MergeEditorSaveContentsToFolder extends Action2 {
|
|
|
106
106
|
write('initialResult', model.getInitialResultValue()),
|
|
107
107
|
]);
|
|
108
108
|
notificationService.info({
|
|
109
|
-
name: ( localize(
|
|
110
|
-
message: ( localize(
|
|
109
|
+
name: ( localize(9878, 'Merge Editor')),
|
|
110
|
+
message: ( localize(9883, "Successfully saved merge editor state to folder")),
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@ class MergeEditorLoadContentsFromFolder extends Action2 {
|
|
|
116
116
|
super({
|
|
117
117
|
id: 'merge.dev.loadContentsFromFolder',
|
|
118
118
|
category: MERGE_EDITOR_CATEGORY,
|
|
119
|
-
title: ( localize2(
|
|
119
|
+
title: ( localize2(9884, "Load Merge Editor State from Folder")),
|
|
120
120
|
icon: Codicon.layoutCentered,
|
|
121
121
|
f1: true
|
|
122
122
|
});
|
|
@@ -135,7 +135,7 @@ class MergeEditorLoadContentsFromFolder extends Action2 {
|
|
|
135
135
|
canSelectFiles: false,
|
|
136
136
|
canSelectFolders: true,
|
|
137
137
|
canSelectMany: false,
|
|
138
|
-
title: ( localize(
|
|
138
|
+
title: ( localize(9882, 'Select folder to save to'))
|
|
139
139
|
});
|
|
140
140
|
if (!result) {
|
|
141
141
|
return;
|
|
@@ -12,7 +12,7 @@ import { MergeEditorInput } from 'vscode/vscode/vs/workbench/contrib/mergeEditor
|
|
|
12
12
|
import { MergeEditor, MergeEditorOpenHandlerContribution, MergeEditorResolverContribution } from './view/mergeEditor.js';
|
|
13
13
|
import { MergeEditorSerializer } from './mergeEditorSerializer.js';
|
|
14
14
|
|
|
15
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(MergeEditor, MergeEditor.ID, ( localize(
|
|
15
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(MergeEditor, MergeEditor.ID, ( localize(4438, "Merge Editor"))), [
|
|
16
16
|
( (new SyncDescriptor(MergeEditorInput)))
|
|
17
17
|
]);
|
|
18
18
|
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(MergeEditorInput.ID, MergeEditorSerializer);
|
|
@@ -23,8 +23,8 @@ import { MergeEditorSerializer } from './mergeEditorSerializer.js';
|
|
|
23
23
|
enum: ['legacy', 'advanced'],
|
|
24
24
|
default: 'advanced',
|
|
25
25
|
markdownEnumDescriptions: [
|
|
26
|
-
( localize(
|
|
27
|
-
( localize(
|
|
26
|
+
( localize(4439, "Uses the legacy diffing algorithm.")),
|
|
27
|
+
( localize(4440, "Uses the advanced diffing algorithm.")),
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
'mergeEditor.showDeletionMarkers': {
|
|
@@ -11,19 +11,19 @@ import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
|
11
11
|
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
12
12
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
13
13
|
|
|
14
|
-
registerColor('mergeEditor.change.background', '#9bb95533', ( localize(
|
|
15
|
-
registerColor('mergeEditor.change.word.background', { dark: '#9ccc2c33', light: '#9ccc2c66', hcDark: '#9ccc2c33', hcLight: '#9ccc2c66', }, ( localize(
|
|
16
|
-
registerColor('mergeEditor.changeBase.background', { dark: '#4B1818FF', light: '#FFCCCCFF', hcDark: '#4B1818FF', hcLight: '#FFCCCCFF', }, ( localize(
|
|
17
|
-
registerColor('mergeEditor.changeBase.word.background', { dark: '#6F1313FF', light: '#FFA3A3FF', hcDark: '#6F1313FF', hcLight: '#FFA3A3FF', }, ( localize(
|
|
18
|
-
registerColor('mergeEditor.conflict.unhandledUnfocused.border', { dark: '#ffa6007a', light: '#ffa600FF', hcDark: '#ffa6007a', hcLight: '#ffa6007a', }, ( localize(
|
|
19
|
-
registerColor('mergeEditor.conflict.unhandledFocused.border', '#ffa600', ( localize(
|
|
20
|
-
registerColor('mergeEditor.conflict.handledUnfocused.border', '#86868649', ( localize(
|
|
21
|
-
registerColor('mergeEditor.conflict.handledFocused.border', '#c1c1c1cc', ( localize(
|
|
22
|
-
const handledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.handled.minimapOverViewRuler', '#adaca8ee', ( localize(
|
|
23
|
-
const unhandledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.unhandled.minimapOverViewRuler', '#fcba03FF', ( localize(
|
|
24
|
-
registerColor('mergeEditor.conflictingLines.background', '#ffea0047', ( localize(
|
|
14
|
+
registerColor('mergeEditor.change.background', '#9bb95533', ( localize(11369, 'The background color for changes.')));
|
|
15
|
+
registerColor('mergeEditor.change.word.background', { dark: '#9ccc2c33', light: '#9ccc2c66', hcDark: '#9ccc2c33', hcLight: '#9ccc2c66', }, ( localize(11370, 'The background color for word changes.')));
|
|
16
|
+
registerColor('mergeEditor.changeBase.background', { dark: '#4B1818FF', light: '#FFCCCCFF', hcDark: '#4B1818FF', hcLight: '#FFCCCCFF', }, ( localize(11371, 'The background color for changes in base.')));
|
|
17
|
+
registerColor('mergeEditor.changeBase.word.background', { dark: '#6F1313FF', light: '#FFA3A3FF', hcDark: '#6F1313FF', hcLight: '#FFA3A3FF', }, ( localize(11372, 'The background color for word changes in base.')));
|
|
18
|
+
registerColor('mergeEditor.conflict.unhandledUnfocused.border', { dark: '#ffa6007a', light: '#ffa600FF', hcDark: '#ffa6007a', hcLight: '#ffa6007a', }, ( localize(11373, 'The border color of unhandled unfocused conflicts.')));
|
|
19
|
+
registerColor('mergeEditor.conflict.unhandledFocused.border', '#ffa600', ( localize(11374, 'The border color of unhandled focused conflicts.')));
|
|
20
|
+
registerColor('mergeEditor.conflict.handledUnfocused.border', '#86868649', ( localize(11375, 'The border color of handled unfocused conflicts.')));
|
|
21
|
+
registerColor('mergeEditor.conflict.handledFocused.border', '#c1c1c1cc', ( localize(11376, 'The border color of handled focused conflicts.')));
|
|
22
|
+
const handledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.handled.minimapOverViewRuler', '#adaca8ee', ( localize(11377, 'The foreground color for changes in input 1.')));
|
|
23
|
+
const unhandledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.unhandled.minimapOverViewRuler', '#fcba03FF', ( localize(11378, 'The foreground color for changes in input 1.')));
|
|
24
|
+
registerColor('mergeEditor.conflictingLines.background', '#ffea0047', ( localize(11379, 'The background of the "Conflicting Lines" text.')));
|
|
25
25
|
const contentTransparency = 0.4;
|
|
26
|
-
registerColor('mergeEditor.conflict.input1.background', ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), ( localize(
|
|
27
|
-
registerColor('mergeEditor.conflict.input2.background', ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), ( localize(
|
|
26
|
+
registerColor('mergeEditor.conflict.input1.background', ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), ( localize(11380, 'The background color of decorations in input 1.')));
|
|
27
|
+
registerColor('mergeEditor.conflict.input2.background', ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), ( localize(11381, 'The background color of decorations in input 2.')));
|
|
28
28
|
|
|
29
29
|
export { handledConflictMinimapOverViewRulerColor, unhandledConflictMinimapOverViewRulerColor };
|
package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js
CHANGED
|
@@ -117,16 +117,16 @@ let BaseCodeEditorView = class BaseCodeEditorView extends CodeEditorView {
|
|
|
117
117
|
return;
|
|
118
118
|
}
|
|
119
119
|
this.editor.setModel(vm.model.base);
|
|
120
|
-
reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(
|
|
120
|
+
reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(11365, 'Base'))));
|
|
121
121
|
const baseShowDiffAgainst = vm.baseShowDiffAgainst.read(reader);
|
|
122
122
|
let node = undefined;
|
|
123
123
|
if (baseShowDiffAgainst) {
|
|
124
124
|
const label = ( localize(
|
|
125
|
-
|
|
125
|
+
11366,
|
|
126
126
|
'Comparing with {0}',
|
|
127
127
|
baseShowDiffAgainst === 1 ? vm.model.input1.title : vm.model.input2.title
|
|
128
128
|
));
|
|
129
|
-
const tooltip = ( localize(
|
|
129
|
+
const tooltip = ( localize(11367, 'Differences are highlighted with a background color.'));
|
|
130
130
|
node = h('span', { title: tooltip }, [label]).root;
|
|
131
131
|
}
|
|
132
132
|
reset(this.htmlElements.description, ...(node ? [node] : []));
|
package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js
CHANGED
|
@@ -159,8 +159,8 @@ let InputCodeEditorView = class InputCodeEditorView extends CodeEditorView {
|
|
|
159
159
|
}
|
|
160
160
|
this.editor.setModel(this.inputNumber === 1 ? vm.model.input1.textModel : vm.model.input2.textModel);
|
|
161
161
|
const title = this.inputNumber === 1
|
|
162
|
-
? vm.model.input1.title || ( localize(
|
|
163
|
-
: vm.model.input2.title || ( localize(
|
|
162
|
+
? vm.model.input1.title || ( localize(11382, 'Input 1'))
|
|
163
|
+
: vm.model.input2.title || ( localize(11383, 'Input 2'));
|
|
164
164
|
const description = this.inputNumber === 1
|
|
165
165
|
? vm.model.input1.description
|
|
166
166
|
: vm.model.input2.description;
|
|
@@ -242,19 +242,19 @@ class ModifiedBaseRangeGutterItemModel {
|
|
|
242
242
|
const both = state.includesInput1 && state.includesInput2;
|
|
243
243
|
return [
|
|
244
244
|
this.baseRange.input1Diffs.length > 0
|
|
245
|
-
? action('mergeEditor.acceptInput1', ( localize(
|
|
245
|
+
? action('mergeEditor.acceptInput1', ( localize(11384, 'Accept {0}', this.model.input1.title)), state.toggle(1), state.includesInput1)
|
|
246
246
|
: undefined,
|
|
247
247
|
this.baseRange.input2Diffs.length > 0
|
|
248
|
-
? action('mergeEditor.acceptInput2', ( localize(
|
|
248
|
+
? action('mergeEditor.acceptInput2', ( localize(11384, 'Accept {0}', this.model.input2.title)), state.toggle(2), state.includesInput2)
|
|
249
249
|
: undefined,
|
|
250
250
|
this.baseRange.isConflicting
|
|
251
|
-
? setFields(action('mergeEditor.acceptBoth', ( localize(
|
|
251
|
+
? setFields(action('mergeEditor.acceptBoth', ( localize(11385, 'Accept Both')), state.withInputValue(1, !both).withInputValue(2, !both), both), { enabled: this.baseRange.canBeCombined })
|
|
252
252
|
: undefined,
|
|
253
253
|
( (new Separator())),
|
|
254
254
|
this.baseRange.isConflicting
|
|
255
|
-
? setFields(action('mergeEditor.swap', ( localize(
|
|
255
|
+
? setFields(action('mergeEditor.swap', ( localize(11386, 'Swap')), state.swap(), false), { enabled: !state.kind && (!both || this.baseRange.isOrderRelevant) })
|
|
256
256
|
: undefined,
|
|
257
|
-
setFields(( (new Action('mergeEditor.markAsHandled', ( localize(
|
|
257
|
+
setFields(( (new Action('mergeEditor.markAsHandled', ( localize(11387, 'Mark as Handled')), undefined, true, () => {
|
|
258
258
|
transaction((tx) => {
|
|
259
259
|
this.model.setHandled(this.baseRange, !handled, tx);
|
|
260
260
|
});
|
|
@@ -297,10 +297,10 @@ class MergeConflictGutterItemView extends Disposable {
|
|
|
297
297
|
const item = this.item.read(reader);
|
|
298
298
|
const value = item.toggleState.read(reader);
|
|
299
299
|
const iconMap = {
|
|
300
|
-
[0 ]: { icon: undefined, checked: false, title: ( localize(
|
|
301
|
-
[3 ]: { icon: Codicon.circleFilled, checked: false, title: ( localize(
|
|
302
|
-
[1 ]: { icon: Codicon.check, checked: true, title: ( localize(
|
|
303
|
-
[2 ]: { icon: Codicon.checkAll, checked: true, title: ( localize(
|
|
300
|
+
[0 ]: { icon: undefined, checked: false, title: ( localize(11388, "Accept")) },
|
|
301
|
+
[3 ]: { icon: Codicon.circleFilled, checked: false, title: ( localize(11389, "Accept (result is dirty)")) },
|
|
302
|
+
[1 ]: { icon: Codicon.check, checked: true, title: ( localize(11390, "Undo accept")) },
|
|
303
|
+
[2 ]: { icon: Codicon.checkAll, checked: true, title: ( localize(11391, "Undo accept (currently second)")) },
|
|
304
304
|
};
|
|
305
305
|
const state = iconMap[value];
|
|
306
306
|
checkBox.setIcon(state.icon);
|
package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js
CHANGED
|
@@ -132,7 +132,7 @@ let ResultCodeEditorView = class ResultCodeEditorView extends CodeEditorView {
|
|
|
132
132
|
return;
|
|
133
133
|
}
|
|
134
134
|
this.editor.setModel(vm.model.resultTextModel);
|
|
135
|
-
reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(
|
|
135
|
+
reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(11392, 'Result'))));
|
|
136
136
|
reset(this.htmlElements.description, ...renderLabelWithIcons(this._labelService.getUriLabel(vm.model.resultTextModel.uri, { relative: true })));
|
|
137
137
|
}));
|
|
138
138
|
const remainingConflictsActionBar = this._register(( (new ActionBar(this.htmlElements.detail))));
|
|
@@ -147,8 +147,8 @@ let ResultCodeEditorView = class ResultCodeEditorView extends CodeEditorView {
|
|
|
147
147
|
}
|
|
148
148
|
const count = model.unhandledConflictsCount.read(reader);
|
|
149
149
|
const text = count === 1
|
|
150
|
-
? ( localize(
|
|
151
|
-
: ( localize(
|
|
150
|
+
? ( localize(11393, '{0} Conflict Remaining', count))
|
|
151
|
+
: ( localize(11394, '{0} Conflicts Remaining ', count));
|
|
152
152
|
remainingConflictsActionBar.clear();
|
|
153
153
|
remainingConflictsActionBar.push({
|
|
154
154
|
class: undefined,
|
|
@@ -160,8 +160,8 @@ let ResultCodeEditorView = class ResultCodeEditorView extends CodeEditorView {
|
|
|
160
160
|
vm.goToNextModifiedBaseRange(m => !model.isHandled(m).get());
|
|
161
161
|
},
|
|
162
162
|
tooltip: count > 0
|
|
163
|
-
? ( localize(
|
|
164
|
-
: ( localize(
|
|
163
|
+
? ( localize(11395, 'Go to next conflict'))
|
|
164
|
+
: ( localize(11396, 'All conflicts handled, the merge can be completed now.')),
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
167
|
this._register(applyObservableDecorations(this.editor, this.decorations));
|
|
@@ -122,7 +122,7 @@ let MergeEditor = class MergeEditor extends AbstractTextEditor {
|
|
|
122
122
|
if (this.input) {
|
|
123
123
|
return this.input.getName();
|
|
124
124
|
}
|
|
125
|
-
return ( localize(
|
|
125
|
+
return ( localize(9885, "Text Merge Editor"));
|
|
126
126
|
}
|
|
127
127
|
createEditorControl(parent, initialOptions) {
|
|
128
128
|
this.rootHtmlElement = parent;
|
|
@@ -206,7 +206,7 @@ let MergeEditorViewModel = class MergeEditorViewModel extends Disposable {
|
|
|
206
206
|
toggleActiveConflict(inputNumber) {
|
|
207
207
|
const activeModifiedBaseRange = this.activeModifiedBaseRange.get();
|
|
208
208
|
if (!activeModifiedBaseRange) {
|
|
209
|
-
this.notificationService.error(( localize(
|
|
209
|
+
this.notificationService.error(( localize(11368, "There is currently no conflict focused that can be toggled.")));
|
|
210
210
|
return;
|
|
211
211
|
}
|
|
212
212
|
transaction(tx => {
|
|
@@ -22,11 +22,11 @@ let KeyboardLayoutPickerContribution = class KeyboardLayoutPickerContribution ex
|
|
|
22
22
|
this.keyboardLayoutService = keyboardLayoutService;
|
|
23
23
|
this.statusbarService = statusbarService;
|
|
24
24
|
this.pickerElement = this._register(( (new MutableDisposable())));
|
|
25
|
-
const name = ( localize(
|
|
25
|
+
const name = ( localize(4454, "Keyboard Layout"));
|
|
26
26
|
const layout = this.keyboardLayoutService.getCurrentKeyboardLayout();
|
|
27
27
|
if (layout) {
|
|
28
28
|
const layoutInfo = parseKeyboardLayoutDescription(layout);
|
|
29
|
-
const text = ( localize(
|
|
29
|
+
const text = ( localize(4455, "Layout: {0}", layoutInfo.label));
|
|
30
30
|
this.pickerElement.value = this.statusbarService.addEntry({
|
|
31
31
|
name,
|
|
32
32
|
text,
|
|
@@ -38,7 +38,7 @@ let KeyboardLayoutPickerContribution = class KeyboardLayoutPickerContribution ex
|
|
|
38
38
|
const layout = this.keyboardLayoutService.getCurrentKeyboardLayout();
|
|
39
39
|
const layoutInfo = parseKeyboardLayoutDescription(layout);
|
|
40
40
|
if (this.pickerElement.value) {
|
|
41
|
-
const text = ( localize(
|
|
41
|
+
const text = ( localize(4455, "Layout: {0}", layoutInfo.label));
|
|
42
42
|
this.pickerElement.value.update({
|
|
43
43
|
name,
|
|
44
44
|
text,
|
|
@@ -47,7 +47,7 @@ let KeyboardLayoutPickerContribution = class KeyboardLayoutPickerContribution ex
|
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
const text = ( localize(
|
|
50
|
+
const text = ( localize(4455, "Layout: {0}", layoutInfo.label));
|
|
51
51
|
this.pickerElement.value = this.statusbarService.addEntry({
|
|
52
52
|
name,
|
|
53
53
|
text,
|
|
@@ -65,11 +65,11 @@ KeyboardLayoutPickerContribution = ( (__decorate([
|
|
|
65
65
|
registerWorkbenchContribution2(KeyboardLayoutPickerContribution.ID, KeyboardLayoutPickerContribution, 1 );
|
|
66
66
|
const DEFAULT_CONTENT = [
|
|
67
67
|
`// ${( localize(
|
|
68
|
-
|
|
68
|
+
4456,
|
|
69
69
|
'Defines the keyboard layout used in VS Code in the browser environment.'
|
|
70
70
|
))}`,
|
|
71
71
|
`// ${( localize(
|
|
72
|
-
|
|
72
|
+
4457,
|
|
73
73
|
'Open VS Code and run "Developer: Inspect Key Mappings (JSON)" from Command Palette.'
|
|
74
74
|
))}`,
|
|
75
75
|
``,
|
|
@@ -80,7 +80,7 @@ registerAction2(class extends Action2 {
|
|
|
80
80
|
constructor() {
|
|
81
81
|
super({
|
|
82
82
|
id: KEYBOARD_LAYOUT_OPEN_PICKER,
|
|
83
|
-
title: ( localize2(
|
|
83
|
+
title: ( localize2(4458, "Change Keyboard Layout")),
|
|
84
84
|
f1: true
|
|
85
85
|
});
|
|
86
86
|
}
|
|
@@ -110,17 +110,17 @@ registerAction2(class extends Action2 {
|
|
|
110
110
|
});
|
|
111
111
|
if (picks.length > 0) {
|
|
112
112
|
const platform = isMacintosh ? 'Mac' : isWindows ? 'Win' : 'Linux';
|
|
113
|
-
picks.unshift({ type: 'separator', label: ( localize(
|
|
113
|
+
picks.unshift({ type: 'separator', label: ( localize(4459, "Keyboard Layouts ({0})", platform)) });
|
|
114
114
|
}
|
|
115
|
-
const configureKeyboardLayout = { label: ( localize(
|
|
115
|
+
const configureKeyboardLayout = { label: ( localize(4460, "Configure Keyboard Layout")) };
|
|
116
116
|
picks.unshift(configureKeyboardLayout);
|
|
117
117
|
const autoDetectMode = {
|
|
118
|
-
label: ( localize(
|
|
118
|
+
label: ( localize(4461, "Auto Detect")),
|
|
119
119
|
description: isAutoDetect ? `Current: ${parseKeyboardLayoutDescription(currentLayout).label}` : undefined,
|
|
120
120
|
picked: isAutoDetect ? true : undefined
|
|
121
121
|
};
|
|
122
122
|
picks.unshift(autoDetectMode);
|
|
123
|
-
const pick = await quickInputService.pick(picks, { placeHolder: ( localize(
|
|
123
|
+
const pick = await quickInputService.pick(picks, { placeHolder: ( localize(4462, "Select Keyboard Layout")), matchOnDescription: true });
|
|
124
124
|
if (!pick) {
|
|
125
125
|
return;
|
|
126
126
|
}
|
|
@@ -143,7 +143,7 @@ registerAction2(class extends Action2 {
|
|
|
143
143
|
});
|
|
144
144
|
}, (error) => {
|
|
145
145
|
throw ( (new Error(
|
|
146
|
-
localize(
|
|
146
|
+
localize(4463, "Unable to create '{0}' ({1}).", ( (file.toString())), error)
|
|
147
147
|
)));
|
|
148
148
|
});
|
|
149
149
|
return Promise.resolve();
|
|
@@ -18,7 +18,7 @@ import { isIOS } from 'vscode/vscode/vs/base/common/platform';
|
|
|
18
18
|
minimum: 1,
|
|
19
19
|
maximum: 20,
|
|
20
20
|
description: ( localize(
|
|
21
|
-
|
|
21
|
+
4452,
|
|
22
22
|
"Controls the feedback area size in pixels of the dragging area in between views/editors. Set it to a larger value if you feel it's hard to resize views using the mouse."
|
|
23
23
|
))
|
|
24
24
|
},
|
|
@@ -28,7 +28,7 @@ import { isIOS } from 'vscode/vscode/vs/base/common/platform';
|
|
|
28
28
|
minimum: 0,
|
|
29
29
|
maximum: 2000,
|
|
30
30
|
description: ( localize(
|
|
31
|
-
|
|
31
|
+
4453,
|
|
32
32
|
"Controls the hover feedback delay in milliseconds of the dragging area in between views/editors."
|
|
33
33
|
))
|
|
34
34
|
},
|
|
@@ -18,12 +18,12 @@ import { TypeHierarchyTreePeekWidget } from './typeHierarchyPeek.js';
|
|
|
18
18
|
import { TypeHierarchyProviderRegistry, TypeHierarchyModel } from 'vscode/vscode/vs/workbench/contrib/typeHierarchy/common/typeHierarchy';
|
|
19
19
|
|
|
20
20
|
var TypeHierarchyController_1;
|
|
21
|
-
const _ctxHasTypeHierarchyProvider = ( (new RawContextKey('editorHasTypeHierarchyProvider', false, ( localize(
|
|
22
|
-
const _ctxTypeHierarchyVisible = ( (new RawContextKey('typeHierarchyVisible', false, ( localize(
|
|
21
|
+
const _ctxHasTypeHierarchyProvider = ( (new RawContextKey('editorHasTypeHierarchyProvider', false, ( localize(4238, 'Whether a type hierarchy provider is available')))));
|
|
22
|
+
const _ctxTypeHierarchyVisible = ( (new RawContextKey('typeHierarchyVisible', false, ( localize(4239, 'Whether type hierarchy peek is currently showing')))));
|
|
23
23
|
const _ctxTypeHierarchyDirection = ( (new RawContextKey(
|
|
24
24
|
'typeHierarchyDirection',
|
|
25
25
|
undefined,
|
|
26
|
-
{ type: 'string', description: ( localize(
|
|
26
|
+
{ type: 'string', description: ( localize(4240, 'whether type hierarchy shows super types or subtypes')) }
|
|
27
27
|
)));
|
|
28
28
|
function sanitizedDirection(candidate) {
|
|
29
29
|
return candidate === "subtypes" || candidate === "supertypes"
|
|
@@ -92,14 +92,14 @@ let TypeHierarchyController = class TypeHierarchyController {
|
|
|
92
92
|
this._widget.showModel(model);
|
|
93
93
|
}
|
|
94
94
|
else {
|
|
95
|
-
this._widget.showMessage(( localize(
|
|
95
|
+
this._widget.showMessage(( localize(4241, "No results")));
|
|
96
96
|
}
|
|
97
97
|
}).catch(err => {
|
|
98
98
|
if (isCancellationError(err)) {
|
|
99
99
|
this.endTypeHierarchy();
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
|
-
this._widget.showMessage(( localize(
|
|
102
|
+
this._widget.showMessage(( localize(4242, "Failed to show type hierarchy")));
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
async startTypeHierarchyFromTypeHierarchy() {
|
|
@@ -144,7 +144,7 @@ registerAction2(class PeekTypeHierarchyAction extends EditorAction2 {
|
|
|
144
144
|
constructor() {
|
|
145
145
|
super({
|
|
146
146
|
id: 'editor.showTypeHierarchy',
|
|
147
|
-
title: ( localize2(
|
|
147
|
+
title: ( localize2(4243, 'Peek Type Hierarchy')),
|
|
148
148
|
menu: {
|
|
149
149
|
id: MenuId.EditorContextPeek,
|
|
150
150
|
group: 'navigation',
|
|
@@ -163,7 +163,7 @@ registerAction2(class extends EditorAction2 {
|
|
|
163
163
|
constructor() {
|
|
164
164
|
super({
|
|
165
165
|
id: 'editor.showSupertypes',
|
|
166
|
-
title: ( localize2(
|
|
166
|
+
title: ( localize2(4244, 'Show Supertypes')),
|
|
167
167
|
icon: Codicon.typeHierarchySuper,
|
|
168
168
|
precondition: ( (ContextKeyExpr.and(
|
|
169
169
|
_ctxTypeHierarchyVisible,
|
|
@@ -188,7 +188,7 @@ registerAction2(class extends EditorAction2 {
|
|
|
188
188
|
constructor() {
|
|
189
189
|
super({
|
|
190
190
|
id: 'editor.showSubtypes',
|
|
191
|
-
title: ( localize2(
|
|
191
|
+
title: ( localize2(4245, 'Show Subtypes')),
|
|
192
192
|
icon: Codicon.typeHierarchySub,
|
|
193
193
|
precondition: ( (ContextKeyExpr.and(
|
|
194
194
|
_ctxTypeHierarchyVisible,
|
|
@@ -213,7 +213,7 @@ registerAction2(class extends EditorAction2 {
|
|
|
213
213
|
constructor() {
|
|
214
214
|
super({
|
|
215
215
|
id: 'editor.refocusTypeHierarchy',
|
|
216
|
-
title: ( localize2(
|
|
216
|
+
title: ( localize2(4246, 'Refocus Type Hierarchy')),
|
|
217
217
|
precondition: _ctxTypeHierarchyVisible,
|
|
218
218
|
keybinding: {
|
|
219
219
|
weight: 200 ,
|
|
@@ -229,7 +229,7 @@ registerAction2(class extends EditorAction2 {
|
|
|
229
229
|
constructor() {
|
|
230
230
|
super({
|
|
231
231
|
id: 'editor.closeTypeHierarchy',
|
|
232
|
-
title: ( localize(
|
|
232
|
+
title: ( localize(4247, 'Close')),
|
|
233
233
|
icon: Codicon.close,
|
|
234
234
|
precondition: _ctxTypeHierarchyVisible,
|
|
235
235
|
keybinding: {
|
|
@@ -252,13 +252,13 @@ let TypeHierarchyTreePeekWidget = class TypeHierarchyTreePeekWidget extends Peek
|
|
|
252
252
|
}
|
|
253
253
|
this._previewDisposable.add(value);
|
|
254
254
|
const title = this._direction === "supertypes"
|
|
255
|
-
? ( localize(
|
|
256
|
-
: ( localize(
|
|
255
|
+
? ( localize(9632, "Supertypes of '{0}'", element.model.root.name))
|
|
256
|
+
: ( localize(9633, "Subtypes of '{0}'", element.model.root.name));
|
|
257
257
|
this.setTitle(title);
|
|
258
258
|
}
|
|
259
259
|
showLoading() {
|
|
260
260
|
this._parent.dataset['state'] = "loading" ;
|
|
261
|
-
this.setTitle(( localize(
|
|
261
|
+
this.setTitle(( localize(9634, "Loading...")));
|
|
262
262
|
this._show();
|
|
263
263
|
}
|
|
264
264
|
showMessage(message) {
|
|
@@ -277,8 +277,8 @@ let TypeHierarchyTreePeekWidget = class TypeHierarchyTreePeekWidget extends Peek
|
|
|
277
277
|
await this._tree.expand(root.element);
|
|
278
278
|
if (root.children.length === 0) {
|
|
279
279
|
this.showMessage(this._direction === "supertypes"
|
|
280
|
-
? ( localize(
|
|
281
|
-
: ( localize(
|
|
280
|
+
? ( localize(9635, "No supertypes of '{0}'", model.root.name))
|
|
281
|
+
: ( localize(9636, "No subtypes of '{0}'", model.root.name)));
|
|
282
282
|
}
|
|
283
283
|
else {
|
|
284
284
|
this._parent.dataset['state'] = "data" ;
|
|
@@ -116,14 +116,14 @@ class AccessibilityProvider {
|
|
|
116
116
|
this.getDirection = getDirection;
|
|
117
117
|
}
|
|
118
118
|
getWidgetAriaLabel() {
|
|
119
|
-
return ( localize(
|
|
119
|
+
return ( localize(11356, "Type Hierarchy"));
|
|
120
120
|
}
|
|
121
121
|
getAriaLabel(element) {
|
|
122
122
|
if (this.getDirection() === "supertypes" ) {
|
|
123
|
-
return ( localize(
|
|
123
|
+
return ( localize(11357, "supertypes of {0}", element.item.name));
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
|
-
return ( localize(
|
|
126
|
+
return ( localize(11358, "subtypes of {0}", element.item.name));
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
}
|
|
@@ -157,7 +157,7 @@ let WebviewElement = class WebviewElement extends Disposable {
|
|
|
157
157
|
this._hasFindResult.fire(didFind);
|
|
158
158
|
}));
|
|
159
159
|
this._register(this.on('fatal-error', (e) => {
|
|
160
|
-
notificationService.error(( localize(
|
|
160
|
+
notificationService.error(( localize(9619, "Error loading webview: {0}", e.message)));
|
|
161
161
|
this._onFatalError.fire({ message: e.message });
|
|
162
162
|
}));
|
|
163
163
|
this._register(this.on('did-keydown', (data) => {
|
|
@@ -15,7 +15,7 @@ const webviewActiveContextKeyExpr = ( (ContextKeyExpr.and(
|
|
|
15
15
|
)));
|
|
16
16
|
class ShowWebViewEditorFindWidgetAction extends Action2 {
|
|
17
17
|
static { this.ID = 'editor.action.webvieweditor.showFind'; }
|
|
18
|
-
static { this.LABEL = ( localize(
|
|
18
|
+
static { this.LABEL = ( localize(9644, "Show find")); }
|
|
19
19
|
constructor() {
|
|
20
20
|
super({
|
|
21
21
|
id: ShowWebViewEditorFindWidgetAction.ID,
|
|
@@ -36,7 +36,7 @@ class ShowWebViewEditorFindWidgetAction extends Action2 {
|
|
|
36
36
|
}
|
|
37
37
|
class HideWebViewEditorFindCommand extends Action2 {
|
|
38
38
|
static { this.ID = 'editor.action.webvieweditor.hideFind'; }
|
|
39
|
-
static { this.LABEL = ( localize(
|
|
39
|
+
static { this.LABEL = ( localize(9645, "Stop find")); }
|
|
40
40
|
constructor() {
|
|
41
41
|
super({
|
|
42
42
|
id: HideWebViewEditorFindCommand.ID,
|
|
@@ -57,7 +57,7 @@ class HideWebViewEditorFindCommand extends Action2 {
|
|
|
57
57
|
}
|
|
58
58
|
class WebViewEditorFindNextCommand extends Action2 {
|
|
59
59
|
static { this.ID = 'editor.action.webvieweditor.findNext'; }
|
|
60
|
-
static { this.LABEL = ( localize(
|
|
60
|
+
static { this.LABEL = ( localize(9646, 'Find next')); }
|
|
61
61
|
constructor() {
|
|
62
62
|
super({
|
|
63
63
|
id: WebViewEditorFindNextCommand.ID,
|
|
@@ -78,7 +78,7 @@ class WebViewEditorFindNextCommand extends Action2 {
|
|
|
78
78
|
}
|
|
79
79
|
class WebViewEditorFindPreviousCommand extends Action2 {
|
|
80
80
|
static { this.ID = 'editor.action.webvieweditor.findPrevious'; }
|
|
81
|
-
static { this.LABEL = ( localize(
|
|
81
|
+
static { this.LABEL = ( localize(9647, 'Find previous')); }
|
|
82
82
|
constructor() {
|
|
83
83
|
super({
|
|
84
84
|
id: WebViewEditorFindPreviousCommand.ID,
|
|
@@ -99,7 +99,7 @@ class WebViewEditorFindPreviousCommand extends Action2 {
|
|
|
99
99
|
}
|
|
100
100
|
class ReloadWebviewAction extends Action2 {
|
|
101
101
|
static { this.ID = 'workbench.action.webview.reloadWebviewAction'; }
|
|
102
|
-
static { this.LABEL = ( localize2(
|
|
102
|
+
static { this.LABEL = ( localize2(9648, "Reload Webviews")); }
|
|
103
103
|
constructor() {
|
|
104
104
|
super({
|
|
105
105
|
id: ReloadWebviewAction.ID,
|
|
@@ -16,7 +16,7 @@ import 'vscode/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbench
|
|
|
16
16
|
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
17
17
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
18
18
|
|
|
19
|
-
(( (Registry.as(EditorExtensions.EditorPane)))).registerEditorPane(EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize(
|
|
19
|
+
(( (Registry.as(EditorExtensions.EditorPane)))).registerEditorPane(EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize(4299, "webview editor"))), [( (new SyncDescriptor(WebviewInput)))]);
|
|
20
20
|
let WebviewPanelContribution = class WebviewPanelContribution extends Disposable {
|
|
21
21
|
static { this.ID = 'workbench.contrib.webviewPanel'; }
|
|
22
22
|
constructor(editorService, editorGroupService) {
|
|
@@ -448,8 +448,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
448
448
|
if (storedChoices[globForResource] && storedChoices[globForResource].find(editorID => editorID === currentEditor.editorId)) {
|
|
449
449
|
return;
|
|
450
450
|
}
|
|
451
|
-
const handle = this.notificationService.prompt(Severity$1.Warning, ( localize(
|
|
452
|
-
label: ( localize(
|
|
451
|
+
const handle = this.notificationService.prompt(Severity$1.Warning, ( localize(4149, 'There are multiple default editors available for the resource.')), [{
|
|
452
|
+
label: ( localize(4150, 'Configure Default')),
|
|
453
453
|
run: async () => {
|
|
454
454
|
const picked = await this.doPickEditor(untypedInput, true);
|
|
455
455
|
if (!picked) {
|
|
@@ -470,7 +470,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
470
470
|
}
|
|
471
471
|
},
|
|
472
472
|
{
|
|
473
|
-
label: ( localize(
|
|
473
|
+
label: ( localize(4151, 'Keep {0}', editorName)),
|
|
474
474
|
run: writeCurrentEditorsToStorage
|
|
475
475
|
}
|
|
476
476
|
]);
|
|
@@ -496,9 +496,9 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
496
496
|
}
|
|
497
497
|
});
|
|
498
498
|
const quickPickEntries = [];
|
|
499
|
-
const currentlyActiveLabel = ( localize(
|
|
500
|
-
const currentDefaultLabel = ( localize(
|
|
501
|
-
const currentDefaultAndActiveLabel = ( localize(
|
|
499
|
+
const currentlyActiveLabel = ( localize(4152, "Active"));
|
|
500
|
+
const currentDefaultLabel = ( localize(4153, "Default"));
|
|
501
|
+
const currentDefaultAndActiveLabel = ( localize(4154, "Active and Default"));
|
|
502
502
|
let defaultViewType = defaultSetting;
|
|
503
503
|
if (!defaultViewType && registeredEditors.length > 2 && registeredEditors[1]?.editorInfo.priority !== RegisteredEditorPriority.option) {
|
|
504
504
|
defaultViewType = registeredEditors[1]?.editorInfo.id;
|
|
@@ -523,7 +523,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
523
523
|
quickPickEntries.push(separator);
|
|
524
524
|
const configureDefaultEntry = {
|
|
525
525
|
id: EditorResolverService_1.configureDefaultID,
|
|
526
|
-
label: ( localize(
|
|
526
|
+
label: ( localize(4155, "Configure default editor for '{0}'...", `*${extname(resource)}`)),
|
|
527
527
|
};
|
|
528
528
|
quickPickEntries.push(configureDefaultEntry);
|
|
529
529
|
}
|
|
@@ -538,8 +538,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
538
538
|
const disposables = ( (new DisposableStore()));
|
|
539
539
|
const editorPicker = disposables.add(this.quickInputService.createQuickPick({ useSeparators: true }));
|
|
540
540
|
const placeHolderMessage = showDefaultPicker ?
|
|
541
|
-
( localize(
|
|
542
|
-
( localize(
|
|
541
|
+
( localize(4156, "Select new default editor for '{0}'", `*${extname(resource)}`)) :
|
|
542
|
+
( localize(4157, "Select editor for '{0}'", basename(resource)));
|
|
543
543
|
editorPicker.placeholder = placeHolderMessage;
|
|
544
544
|
editorPicker.canAcceptInBackground = true;
|
|
545
545
|
editorPicker.items = editorPicks;
|