@codingame/monaco-vscode-view-common-service-override 23.0.3 → 23.0.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 +41 -41
- 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.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 +29 -29
- 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/mergeEditorAccessibilityHelp.js +5 -5
- 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/scrollLocking/browser/scrollLocking.js +7 -7
- 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 +5 -5
|
@@ -19,22 +19,22 @@ class MergeEditorAccessibilityHelpProvider {
|
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
21
|
const content = [
|
|
22
|
-
( localize(
|
|
22
|
+
( localize(8932, "You are in a merge editor.")),
|
|
23
23
|
( localize(
|
|
24
|
-
|
|
24
|
+
8933,
|
|
25
25
|
"Navigate between merge conflicts using the commands Go to Next Unhandled Conflict{0} and Go to Previous Unhandled Conflict{1}.",
|
|
26
26
|
'<keybinding:merge.goToNextUnhandledConflict>',
|
|
27
27
|
'<keybinding:merge.goToPreviousUnhandledConflict>'
|
|
28
28
|
)),
|
|
29
29
|
( localize(
|
|
30
|
-
|
|
30
|
+
8934,
|
|
31
31
|
"Run the command Merge Editor: Accept All Incoming Changes from the Left{0} and Merge Editor: Accept All Current Changes from the Right{1}",
|
|
32
32
|
'<keybinding:merge.acceptAllInput1>',
|
|
33
33
|
'<keybinding:merge.acceptAllInput2>'
|
|
34
34
|
)),
|
|
35
|
-
( localize(
|
|
35
|
+
( localize(8935, "Complete the Merge{0}.", '<keybinding:mergeEditor.acceptMerge>')),
|
|
36
36
|
( localize(
|
|
37
|
-
|
|
37
|
+
8936,
|
|
38
38
|
"Toggle between merge editor inputs, incoming and current changes {0}.",
|
|
39
39
|
'<keybinding:mergeEditor.toggleBetweenInputs>'
|
|
40
40
|
)),
|
|
@@ -12,19 +12,19 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/misc
|
|
|
12
12
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
13
13
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
14
14
|
|
|
15
|
-
registerColor('mergeEditor.change.background', '#9bb95533', ( localize(
|
|
16
|
-
registerColor('mergeEditor.change.word.background', { dark: '#9ccc2c33', light: '#9ccc2c66', hcDark: '#9ccc2c33', hcLight: '#9ccc2c66', }, ( localize(
|
|
17
|
-
registerColor('mergeEditor.changeBase.background', { dark: '#4B1818FF', light: '#FFCCCCFF', hcDark: '#4B1818FF', hcLight: '#FFCCCCFF', }, ( localize(
|
|
18
|
-
registerColor('mergeEditor.changeBase.word.background', { dark: '#6F1313FF', light: '#FFA3A3FF', hcDark: '#6F1313FF', hcLight: '#FFA3A3FF', }, ( localize(
|
|
19
|
-
registerColor('mergeEditor.conflict.unhandledUnfocused.border', { dark: '#ffa6007a', light: '#ffa600FF', hcDark: '#ffa6007a', hcLight: '#ffa6007a', }, ( localize(
|
|
20
|
-
registerColor('mergeEditor.conflict.unhandledFocused.border', '#ffa600', ( localize(
|
|
21
|
-
registerColor('mergeEditor.conflict.handledUnfocused.border', '#86868649', ( localize(
|
|
22
|
-
registerColor('mergeEditor.conflict.handledFocused.border', '#c1c1c1cc', ( localize(
|
|
23
|
-
const handledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.handled.minimapOverViewRuler', '#adaca8ee', ( localize(
|
|
24
|
-
const unhandledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.unhandled.minimapOverViewRuler', '#fcba03FF', ( localize(
|
|
25
|
-
registerColor('mergeEditor.conflictingLines.background', '#ffea0047', ( localize(
|
|
15
|
+
registerColor('mergeEditor.change.background', '#9bb95533', ( localize(8972, 'The background color for changes.')));
|
|
16
|
+
registerColor('mergeEditor.change.word.background', { dark: '#9ccc2c33', light: '#9ccc2c66', hcDark: '#9ccc2c33', hcLight: '#9ccc2c66', }, ( localize(8973, 'The background color for word changes.')));
|
|
17
|
+
registerColor('mergeEditor.changeBase.background', { dark: '#4B1818FF', light: '#FFCCCCFF', hcDark: '#4B1818FF', hcLight: '#FFCCCCFF', }, ( localize(8974, 'The background color for changes in base.')));
|
|
18
|
+
registerColor('mergeEditor.changeBase.word.background', { dark: '#6F1313FF', light: '#FFA3A3FF', hcDark: '#6F1313FF', hcLight: '#FFA3A3FF', }, ( localize(8975, 'The background color for word changes in base.')));
|
|
19
|
+
registerColor('mergeEditor.conflict.unhandledUnfocused.border', { dark: '#ffa6007a', light: '#ffa600FF', hcDark: '#ffa6007a', hcLight: '#ffa6007a', }, ( localize(8976, 'The border color of unhandled unfocused conflicts.')));
|
|
20
|
+
registerColor('mergeEditor.conflict.unhandledFocused.border', '#ffa600', ( localize(8977, 'The border color of unhandled focused conflicts.')));
|
|
21
|
+
registerColor('mergeEditor.conflict.handledUnfocused.border', '#86868649', ( localize(8978, 'The border color of handled unfocused conflicts.')));
|
|
22
|
+
registerColor('mergeEditor.conflict.handledFocused.border', '#c1c1c1cc', ( localize(8979, 'The border color of handled focused conflicts.')));
|
|
23
|
+
const handledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.handled.minimapOverViewRuler', '#adaca8ee', ( localize(8980, 'The foreground color for changes in input 1.')));
|
|
24
|
+
const unhandledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.unhandled.minimapOverViewRuler', '#fcba03FF', ( localize(8981, 'The foreground color for changes in input 1.')));
|
|
25
|
+
registerColor('mergeEditor.conflictingLines.background', '#ffea0047', ( localize(8982, 'The background of the "Conflicting Lines" text.')));
|
|
26
26
|
const contentTransparency = 0.4;
|
|
27
|
-
registerColor('mergeEditor.conflict.input1.background', ( transparent(mergeCurrentHeaderBackground, contentTransparency)), ( localize(
|
|
28
|
-
registerColor('mergeEditor.conflict.input2.background', ( transparent(mergeIncomingHeaderBackground, contentTransparency)), ( localize(
|
|
27
|
+
registerColor('mergeEditor.conflict.input1.background', ( transparent(mergeCurrentHeaderBackground, contentTransparency)), ( localize(8983, 'The background color of decorations in input 1.')));
|
|
28
|
+
registerColor('mergeEditor.conflict.input2.background', ( transparent(mergeIncomingHeaderBackground, contentTransparency)), ( localize(8984, 'The background color of decorations in input 2.')));
|
|
29
29
|
|
|
30
30
|
export { handledConflictMinimapOverViewRulerColor, unhandledConflictMinimapOverViewRulerColor };
|
package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js
CHANGED
|
@@ -114,16 +114,16 @@ let BaseCodeEditorView = class BaseCodeEditorView extends CodeEditorView {
|
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
116
|
this.editor.setModel(vm.model.base);
|
|
117
|
-
reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(
|
|
117
|
+
reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(9003, 'Base'))));
|
|
118
118
|
const baseShowDiffAgainst = vm.baseShowDiffAgainst.read(reader);
|
|
119
119
|
let node = undefined;
|
|
120
120
|
if (baseShowDiffAgainst) {
|
|
121
121
|
const label = ( localize(
|
|
122
|
-
|
|
122
|
+
9004,
|
|
123
123
|
'Comparing with {0}',
|
|
124
124
|
baseShowDiffAgainst === 1 ? vm.model.input1.title : vm.model.input2.title
|
|
125
125
|
));
|
|
126
|
-
const tooltip = ( localize(
|
|
126
|
+
const tooltip = ( localize(9005, 'Differences are highlighted with a background color.'));
|
|
127
127
|
node = h('span', { title: tooltip }, [label]).root;
|
|
128
128
|
}
|
|
129
129
|
reset(this.htmlElements.description, ...(node ? [node] : []));
|
package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js
CHANGED
|
@@ -155,8 +155,8 @@ let InputCodeEditorView = class InputCodeEditorView extends CodeEditorView {
|
|
|
155
155
|
}
|
|
156
156
|
this.editor.setModel(this.inputNumber === 1 ? vm.model.input1.textModel : vm.model.input2.textModel);
|
|
157
157
|
const title = this.inputNumber === 1
|
|
158
|
-
? vm.model.input1.title || ( localize(
|
|
159
|
-
: vm.model.input2.title || ( localize(
|
|
158
|
+
? vm.model.input1.title || ( localize(9006, 'Input 1'))
|
|
159
|
+
: vm.model.input2.title || ( localize(9007, 'Input 2'));
|
|
160
160
|
const description = this.inputNumber === 1
|
|
161
161
|
? vm.model.input1.description
|
|
162
162
|
: vm.model.input2.description;
|
|
@@ -238,19 +238,19 @@ class ModifiedBaseRangeGutterItemModel {
|
|
|
238
238
|
const both = state.includesInput1 && state.includesInput2;
|
|
239
239
|
return [
|
|
240
240
|
this.baseRange.input1Diffs.length > 0
|
|
241
|
-
? action('mergeEditor.acceptInput1', ( localize(
|
|
241
|
+
? action('mergeEditor.acceptInput1', ( localize(9008, 'Accept {0}', this.model.input1.title)), state.toggle(1), state.includesInput1)
|
|
242
242
|
: undefined,
|
|
243
243
|
this.baseRange.input2Diffs.length > 0
|
|
244
|
-
? action('mergeEditor.acceptInput2', ( localize(
|
|
244
|
+
? action('mergeEditor.acceptInput2', ( localize(9008, 'Accept {0}', this.model.input2.title)), state.toggle(2), state.includesInput2)
|
|
245
245
|
: undefined,
|
|
246
246
|
this.baseRange.isConflicting
|
|
247
|
-
? setFields(action('mergeEditor.acceptBoth', ( localize(
|
|
247
|
+
? setFields(action('mergeEditor.acceptBoth', ( localize(9009, 'Accept Both')), state.withInputValue(1, !both).withInputValue(2, !both), both), { enabled: this.baseRange.canBeCombined })
|
|
248
248
|
: undefined,
|
|
249
249
|
( new Separator()),
|
|
250
250
|
this.baseRange.isConflicting
|
|
251
|
-
? setFields(action('mergeEditor.swap', ( localize(
|
|
251
|
+
? setFields(action('mergeEditor.swap', ( localize(9010, 'Swap')), state.swap(), false), { enabled: !state.kind && (!both || this.baseRange.isOrderRelevant) })
|
|
252
252
|
: undefined,
|
|
253
|
-
setFields(( new Action('mergeEditor.markAsHandled', ( localize(
|
|
253
|
+
setFields(( new Action('mergeEditor.markAsHandled', ( localize(9011, 'Mark as Handled')), undefined, true, () => {
|
|
254
254
|
transaction((tx) => {
|
|
255
255
|
this.model.setHandled(this.baseRange, !handled, tx);
|
|
256
256
|
});
|
|
@@ -293,10 +293,10 @@ class MergeConflictGutterItemView extends Disposable {
|
|
|
293
293
|
const item = this.item.read(reader);
|
|
294
294
|
const value = item.toggleState.read(reader);
|
|
295
295
|
const iconMap = {
|
|
296
|
-
[InputState.excluded]: { icon: undefined, checked: false, title: ( localize(
|
|
297
|
-
[InputState.unrecognized]: { icon: Codicon.circleFilled, checked: false, title: ( localize(
|
|
298
|
-
[InputState.first]: { icon: Codicon.check, checked: true, title: ( localize(
|
|
299
|
-
[InputState.second]: { icon: Codicon.checkAll, checked: true, title: ( localize(
|
|
296
|
+
[InputState.excluded]: { icon: undefined, checked: false, title: ( localize(9012, "Accept")) },
|
|
297
|
+
[InputState.unrecognized]: { icon: Codicon.circleFilled, checked: false, title: ( localize(9013, "Accept (result is dirty)")) },
|
|
298
|
+
[InputState.first]: { icon: Codicon.check, checked: true, title: ( localize(9014, "Undo accept")) },
|
|
299
|
+
[InputState.second]: { icon: Codicon.checkAll, checked: true, title: ( localize(9015, "Undo accept (currently second)")) },
|
|
300
300
|
};
|
|
301
301
|
const state = iconMap[value];
|
|
302
302
|
checkBox.setIcon(state.icon);
|
package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js
CHANGED
|
@@ -131,7 +131,7 @@ let ResultCodeEditorView = class ResultCodeEditorView extends CodeEditorView {
|
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
133
|
this.editor.setModel(vm.model.resultTextModel);
|
|
134
|
-
reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(
|
|
134
|
+
reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(9016, 'Result'))));
|
|
135
135
|
reset(this.htmlElements.description, ...renderLabelWithIcons(this._labelService.getUriLabel(vm.model.resultTextModel.uri, { relative: true })));
|
|
136
136
|
}));
|
|
137
137
|
const remainingConflictsActionBar = this._register(( new ActionBar(this.htmlElements.detail)));
|
|
@@ -146,8 +146,8 @@ let ResultCodeEditorView = class ResultCodeEditorView extends CodeEditorView {
|
|
|
146
146
|
}
|
|
147
147
|
const count = model.unhandledConflictsCount.read(reader);
|
|
148
148
|
const text = count === 1
|
|
149
|
-
? ( localize(
|
|
150
|
-
: ( localize(
|
|
149
|
+
? ( localize(9017, '{0} Conflict Remaining', count))
|
|
150
|
+
: ( localize(9018, '{0} Conflicts Remaining ', count));
|
|
151
151
|
remainingConflictsActionBar.clear();
|
|
152
152
|
remainingConflictsActionBar.push({
|
|
153
153
|
class: undefined,
|
|
@@ -159,8 +159,8 @@ let ResultCodeEditorView = class ResultCodeEditorView extends CodeEditorView {
|
|
|
159
159
|
vm.goToNextModifiedBaseRange(m => !model.isHandled(m).read(undefined));
|
|
160
160
|
},
|
|
161
161
|
tooltip: count > 0
|
|
162
|
-
? ( localize(
|
|
163
|
-
: ( localize(
|
|
162
|
+
? ( localize(9019, 'Go to next conflict'))
|
|
163
|
+
: ( localize(9020, 'All conflicts handled, the merge can be completed now.')),
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
166
|
this._register(applyObservableDecorations(this.editor, this.decorations));
|
|
@@ -118,7 +118,7 @@ let MergeEditor = class MergeEditor extends AbstractTextEditor {
|
|
|
118
118
|
if (this.input) {
|
|
119
119
|
return this.input.getName();
|
|
120
120
|
}
|
|
121
|
-
return localize(
|
|
121
|
+
return localize(9021, "Text Merge Editor");
|
|
122
122
|
}
|
|
123
123
|
createEditorControl(parent, initialOptions) {
|
|
124
124
|
this.rootHtmlElement = parent;
|
|
@@ -222,7 +222,7 @@ let MergeEditorViewModel = class MergeEditorViewModel extends Disposable {
|
|
|
222
222
|
toggleActiveConflict(inputNumber) {
|
|
223
223
|
const activeModifiedBaseRange = this.activeModifiedBaseRange.get();
|
|
224
224
|
if (!activeModifiedBaseRange) {
|
|
225
|
-
this.notificationService.error(( localize(
|
|
225
|
+
this.notificationService.error(( localize(9022, "There is currently no conflict focused that can be toggled.")));
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
228
|
transaction(tx => {
|
|
@@ -24,11 +24,11 @@ let KeyboardLayoutPickerContribution = class KeyboardLayoutPickerContribution ex
|
|
|
24
24
|
this.keyboardLayoutService = keyboardLayoutService;
|
|
25
25
|
this.statusbarService = statusbarService;
|
|
26
26
|
this.pickerElement = this._register(( new MutableDisposable()));
|
|
27
|
-
const name = ( localize(
|
|
27
|
+
const name = ( localize(9690, "Keyboard Layout"));
|
|
28
28
|
const layout = this.keyboardLayoutService.getCurrentKeyboardLayout();
|
|
29
29
|
if (layout) {
|
|
30
30
|
const layoutInfo = parseKeyboardLayoutDescription(layout);
|
|
31
|
-
const text = ( localize(
|
|
31
|
+
const text = ( localize(9691, "Layout: {0}", layoutInfo.label));
|
|
32
32
|
this.pickerElement.value = this.statusbarService.addEntry({
|
|
33
33
|
name,
|
|
34
34
|
text,
|
|
@@ -40,7 +40,7 @@ let KeyboardLayoutPickerContribution = class KeyboardLayoutPickerContribution ex
|
|
|
40
40
|
const layout = this.keyboardLayoutService.getCurrentKeyboardLayout();
|
|
41
41
|
const layoutInfo = parseKeyboardLayoutDescription(layout);
|
|
42
42
|
if (this.pickerElement.value) {
|
|
43
|
-
const text = ( localize(
|
|
43
|
+
const text = ( localize(9691, "Layout: {0}", layoutInfo.label));
|
|
44
44
|
this.pickerElement.value.update({
|
|
45
45
|
name,
|
|
46
46
|
text,
|
|
@@ -49,7 +49,7 @@ let KeyboardLayoutPickerContribution = class KeyboardLayoutPickerContribution ex
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
|
-
const text = ( localize(
|
|
52
|
+
const text = ( localize(9691, "Layout: {0}", layoutInfo.label));
|
|
53
53
|
this.pickerElement.value = this.statusbarService.addEntry({
|
|
54
54
|
name,
|
|
55
55
|
text,
|
|
@@ -67,11 +67,11 @@ KeyboardLayoutPickerContribution = ( __decorate([
|
|
|
67
67
|
registerWorkbenchContribution2(KeyboardLayoutPickerContribution.ID, KeyboardLayoutPickerContribution, WorkbenchPhase.BlockStartup);
|
|
68
68
|
const DEFAULT_CONTENT = [
|
|
69
69
|
`// ${( localize(
|
|
70
|
-
|
|
70
|
+
9692,
|
|
71
71
|
'Defines the keyboard layout used in VS Code in the browser environment.'
|
|
72
72
|
))}`,
|
|
73
73
|
`// ${( localize(
|
|
74
|
-
|
|
74
|
+
9693,
|
|
75
75
|
'Open VS Code and run "Developer: Inspect Key Mappings (JSON)" from Command Palette.'
|
|
76
76
|
))}`,
|
|
77
77
|
``,
|
|
@@ -82,7 +82,7 @@ registerAction2(class extends Action2 {
|
|
|
82
82
|
constructor() {
|
|
83
83
|
super({
|
|
84
84
|
id: KEYBOARD_LAYOUT_OPEN_PICKER,
|
|
85
|
-
title: ( localize2(
|
|
85
|
+
title: ( localize2(9694, "Change Keyboard Layout")),
|
|
86
86
|
f1: true
|
|
87
87
|
});
|
|
88
88
|
}
|
|
@@ -112,17 +112,17 @@ registerAction2(class extends Action2 {
|
|
|
112
112
|
});
|
|
113
113
|
if (picks.length > 0) {
|
|
114
114
|
const platform = isMacintosh ? 'Mac' : isWindows ? 'Win' : 'Linux';
|
|
115
|
-
picks.unshift({ type: 'separator', label: ( localize(
|
|
115
|
+
picks.unshift({ type: 'separator', label: ( localize(9695, "Keyboard Layouts ({0})", platform)) });
|
|
116
116
|
}
|
|
117
|
-
const configureKeyboardLayout = { label: ( localize(
|
|
117
|
+
const configureKeyboardLayout = { label: ( localize(9696, "Configure Keyboard Layout")) };
|
|
118
118
|
picks.unshift(configureKeyboardLayout);
|
|
119
119
|
const autoDetectMode = {
|
|
120
|
-
label: ( localize(
|
|
120
|
+
label: ( localize(9697, "Auto Detect")),
|
|
121
121
|
description: isAutoDetect ? `Current: ${parseKeyboardLayoutDescription(currentLayout).label}` : undefined,
|
|
122
122
|
picked: isAutoDetect ? true : undefined
|
|
123
123
|
};
|
|
124
124
|
picks.unshift(autoDetectMode);
|
|
125
|
-
const pick = await quickInputService.pick(picks, { placeHolder: ( localize(
|
|
125
|
+
const pick = await quickInputService.pick(picks, { placeHolder: ( localize(9698, "Select Keyboard Layout")), matchOnDescription: true });
|
|
126
126
|
if (!pick) {
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
@@ -144,7 +144,7 @@ registerAction2(class extends Action2 {
|
|
|
144
144
|
options: { pinned: true }
|
|
145
145
|
});
|
|
146
146
|
}, (error) => {
|
|
147
|
-
throw ( new Error(( localize(
|
|
147
|
+
throw ( new Error(( localize(9699, "Unable to create '{0}' ({1}).", (file.toString()), error))));
|
|
148
148
|
});
|
|
149
149
|
return Promise.resolve();
|
|
150
150
|
}
|
|
@@ -18,7 +18,7 @@ registerWorkbenchContribution2(SashSettingsController.ID, SashSettingsController
|
|
|
18
18
|
minimum: 1,
|
|
19
19
|
maximum: 20,
|
|
20
20
|
description: ( localize(
|
|
21
|
-
|
|
21
|
+
10250,
|
|
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 @@ registerWorkbenchContribution2(SashSettingsController.ID, SashSettingsController
|
|
|
28
28
|
minimum: 0,
|
|
29
29
|
maximum: 2000,
|
|
30
30
|
description: ( localize(
|
|
31
|
-
|
|
31
|
+
10251,
|
|
32
32
|
"Controls the hover feedback delay in milliseconds of the dragging area in between views/editors."
|
|
33
33
|
))
|
|
34
34
|
},
|
|
@@ -117,8 +117,8 @@ let SyncScroll = class SyncScroll extends Disposable {
|
|
|
117
117
|
toggleStatusbarItem(active) {
|
|
118
118
|
if (active) {
|
|
119
119
|
if (!this.statusBarEntry.value) {
|
|
120
|
-
const text = ( localize(
|
|
121
|
-
const tooltip = ( localize(
|
|
120
|
+
const text = ( localize(10467, 'Scrolling Locked'));
|
|
121
|
+
const tooltip = ( localize(10468, 'Lock Scrolling Enabled'));
|
|
122
122
|
this.statusBarEntry.value = this.statusbarService.addEntry({
|
|
123
123
|
name: text,
|
|
124
124
|
text,
|
|
@@ -144,13 +144,13 @@ let SyncScroll = class SyncScroll extends Disposable {
|
|
|
144
144
|
super({
|
|
145
145
|
id: 'workbench.action.toggleLockedScrolling',
|
|
146
146
|
title: {
|
|
147
|
-
...( localize2(
|
|
148
|
-
mnemonicTitle: ( localize(
|
|
147
|
+
...( localize2(10469, "Toggle Locked Scrolling Across Editors")),
|
|
148
|
+
mnemonicTitle: ( localize(10470, "Locked Scrolling")),
|
|
149
149
|
},
|
|
150
150
|
category: Categories.View,
|
|
151
151
|
f1: true,
|
|
152
152
|
metadata: {
|
|
153
|
-
description: ( localize(
|
|
153
|
+
description: ( localize(10471, "Synchronize Scrolling Editors")),
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
}
|
|
@@ -163,8 +163,8 @@ let SyncScroll = class SyncScroll extends Disposable {
|
|
|
163
163
|
super({
|
|
164
164
|
id: 'workbench.action.holdLockedScrolling',
|
|
165
165
|
title: {
|
|
166
|
-
...( localize2(
|
|
167
|
-
mnemonicTitle: ( localize(
|
|
166
|
+
...( localize2(10472, "Hold Locked Scrolling Across Editors")),
|
|
167
|
+
mnemonicTitle: ( localize(10473, "Locked Scrolling")),
|
|
168
168
|
},
|
|
169
169
|
category: Categories.View,
|
|
170
170
|
});
|
|
@@ -22,12 +22,12 @@ import { TypeHierarchyTreePeekWidget } from './typeHierarchyPeek.js';
|
|
|
22
22
|
import { TypeHierarchyDirection, TypeHierarchyProviderRegistry, TypeHierarchyModel } from '@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/typeHierarchy/common/typeHierarchy';
|
|
23
23
|
|
|
24
24
|
var TypeHierarchyController_1;
|
|
25
|
-
const _ctxHasTypeHierarchyProvider = ( new RawContextKey('editorHasTypeHierarchyProvider', false, ( localize(
|
|
26
|
-
const _ctxTypeHierarchyVisible = ( new RawContextKey('typeHierarchyVisible', false, ( localize(
|
|
25
|
+
const _ctxHasTypeHierarchyProvider = ( new RawContextKey('editorHasTypeHierarchyProvider', false, ( localize(12629, 'Whether a type hierarchy provider is available'))));
|
|
26
|
+
const _ctxTypeHierarchyVisible = ( new RawContextKey('typeHierarchyVisible', false, ( localize(12630, 'Whether type hierarchy peek is currently showing'))));
|
|
27
27
|
const _ctxTypeHierarchyDirection = ( new RawContextKey(
|
|
28
28
|
'typeHierarchyDirection',
|
|
29
29
|
undefined,
|
|
30
|
-
{ type: 'string', description: ( localize(
|
|
30
|
+
{ type: 'string', description: ( localize(12631, 'whether type hierarchy shows super types or subtypes')) }
|
|
31
31
|
));
|
|
32
32
|
function sanitizedDirection(candidate) {
|
|
33
33
|
return candidate === TypeHierarchyDirection.Subtypes || candidate === TypeHierarchyDirection.Supertypes
|
|
@@ -96,14 +96,14 @@ let TypeHierarchyController = class TypeHierarchyController {
|
|
|
96
96
|
this._widget.showModel(model);
|
|
97
97
|
}
|
|
98
98
|
else {
|
|
99
|
-
this._widget.showMessage(( localize(
|
|
99
|
+
this._widget.showMessage(( localize(12632, "No results")));
|
|
100
100
|
}
|
|
101
101
|
}).catch(err => {
|
|
102
102
|
if (isCancellationError(err)) {
|
|
103
103
|
this.endTypeHierarchy();
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
|
-
this._widget.showMessage(( localize(
|
|
106
|
+
this._widget.showMessage(( localize(12633, "Failed to show type hierarchy")));
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
109
|
async startTypeHierarchyFromTypeHierarchy() {
|
|
@@ -148,7 +148,7 @@ registerAction2(class PeekTypeHierarchyAction extends EditorAction2 {
|
|
|
148
148
|
constructor() {
|
|
149
149
|
super({
|
|
150
150
|
id: 'editor.showTypeHierarchy',
|
|
151
|
-
title: ( localize2(
|
|
151
|
+
title: ( localize2(12634, 'Peek Type Hierarchy')),
|
|
152
152
|
menu: {
|
|
153
153
|
id: MenuId.EditorContextPeek,
|
|
154
154
|
group: 'navigation',
|
|
@@ -167,7 +167,7 @@ registerAction2(class extends EditorAction2 {
|
|
|
167
167
|
constructor() {
|
|
168
168
|
super({
|
|
169
169
|
id: 'editor.showSupertypes',
|
|
170
|
-
title: ( localize2(
|
|
170
|
+
title: ( localize2(12635, 'Show Supertypes')),
|
|
171
171
|
icon: Codicon.typeHierarchySuper,
|
|
172
172
|
precondition: ( ContextKeyExpr.and(_ctxTypeHierarchyVisible, ( _ctxTypeHierarchyDirection.isEqualTo(TypeHierarchyDirection.Subtypes)))),
|
|
173
173
|
keybinding: {
|
|
@@ -189,7 +189,7 @@ registerAction2(class extends EditorAction2 {
|
|
|
189
189
|
constructor() {
|
|
190
190
|
super({
|
|
191
191
|
id: 'editor.showSubtypes',
|
|
192
|
-
title: ( localize2(
|
|
192
|
+
title: ( localize2(12636, 'Show Subtypes')),
|
|
193
193
|
icon: Codicon.typeHierarchySub,
|
|
194
194
|
precondition: ( ContextKeyExpr.and(_ctxTypeHierarchyVisible, ( _ctxTypeHierarchyDirection.isEqualTo(TypeHierarchyDirection.Supertypes)))),
|
|
195
195
|
keybinding: {
|
|
@@ -211,7 +211,7 @@ registerAction2(class extends EditorAction2 {
|
|
|
211
211
|
constructor() {
|
|
212
212
|
super({
|
|
213
213
|
id: 'editor.refocusTypeHierarchy',
|
|
214
|
-
title: ( localize2(
|
|
214
|
+
title: ( localize2(12637, 'Refocus Type Hierarchy')),
|
|
215
215
|
precondition: _ctxTypeHierarchyVisible,
|
|
216
216
|
keybinding: {
|
|
217
217
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -227,7 +227,7 @@ registerAction2(class extends EditorAction2 {
|
|
|
227
227
|
constructor() {
|
|
228
228
|
super({
|
|
229
229
|
id: 'editor.closeTypeHierarchy',
|
|
230
|
-
title: ( localize(
|
|
230
|
+
title: ( localize(12638, 'Close')),
|
|
231
231
|
icon: Codicon.close,
|
|
232
232
|
precondition: _ctxTypeHierarchyVisible,
|
|
233
233
|
keybinding: {
|
|
@@ -265,13 +265,13 @@ let TypeHierarchyTreePeekWidget = class TypeHierarchyTreePeekWidget extends Peek
|
|
|
265
265
|
}
|
|
266
266
|
this._previewDisposable.add(value);
|
|
267
267
|
const title = this._direction === TypeHierarchyDirection.Supertypes
|
|
268
|
-
? ( localize(
|
|
269
|
-
: ( localize(
|
|
268
|
+
? ( localize(12639, "Supertypes of '{0}'", element.model.root.name))
|
|
269
|
+
: ( localize(12640, "Subtypes of '{0}'", element.model.root.name));
|
|
270
270
|
this.setTitle(title);
|
|
271
271
|
}
|
|
272
272
|
showLoading() {
|
|
273
273
|
this._parent.dataset['state'] = State.Loading;
|
|
274
|
-
this.setTitle(( localize(
|
|
274
|
+
this.setTitle(( localize(12641, "Loading...")));
|
|
275
275
|
this._show();
|
|
276
276
|
}
|
|
277
277
|
showMessage(message) {
|
|
@@ -290,8 +290,8 @@ let TypeHierarchyTreePeekWidget = class TypeHierarchyTreePeekWidget extends Peek
|
|
|
290
290
|
await this._tree.expand(root.element);
|
|
291
291
|
if (root.children.length === 0) {
|
|
292
292
|
this.showMessage(this._direction === TypeHierarchyDirection.Supertypes
|
|
293
|
-
? ( localize(
|
|
294
|
-
: ( localize(
|
|
293
|
+
? ( localize(12642, "No supertypes of '{0}'", model.root.name))
|
|
294
|
+
: ( localize(12643, "No subtypes of '{0}'", model.root.name)));
|
|
295
295
|
}
|
|
296
296
|
else {
|
|
297
297
|
this._parent.dataset['state'] = State.Data;
|
|
@@ -106,14 +106,14 @@ class AccessibilityProvider {
|
|
|
106
106
|
this.getDirection = getDirection;
|
|
107
107
|
}
|
|
108
108
|
getWidgetAriaLabel() {
|
|
109
|
-
return localize(
|
|
109
|
+
return localize(12644, "Type Hierarchy");
|
|
110
110
|
}
|
|
111
111
|
getAriaLabel(element) {
|
|
112
112
|
if (this.getDirection() === TypeHierarchyDirection.Supertypes) {
|
|
113
|
-
return localize(
|
|
113
|
+
return localize(12645, "supertypes of {0}", element.item.name);
|
|
114
114
|
}
|
|
115
115
|
else {
|
|
116
|
-
return localize(
|
|
116
|
+
return localize(12646, "subtypes of {0}", element.item.name);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -159,7 +159,7 @@ let WebviewElement = class WebviewElement extends Disposable {
|
|
|
159
159
|
this._hasFindResult.fire(didFind);
|
|
160
160
|
}));
|
|
161
161
|
this._register(this.on('fatal-error', (e) => {
|
|
162
|
-
notificationService.error(( localize(
|
|
162
|
+
notificationService.error(( localize(12946, "Error loading webview: {0}", e.message)));
|
|
163
163
|
this._onFatalError.fire({ message: e.message });
|
|
164
164
|
}));
|
|
165
165
|
this._register(this.on('did-keydown', (data) => {
|
|
@@ -15,7 +15,7 @@ import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench
|
|
|
15
15
|
const webviewActiveContextKeyExpr = ( ContextKeyExpr.and(( ContextKeyExpr.equals('activeEditor', WebviewEditor.ID)), ( EditorContextKeys.focus.toNegated() )));
|
|
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(12947, "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(12948, "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(12949, '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(12950, '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(12951, "Reload Webviews")); }
|
|
103
103
|
constructor() {
|
|
104
104
|
super({
|
|
105
105
|
id: ReloadWebviewAction.ID,
|
|
@@ -18,7 +18,7 @@ import '@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vsc
|
|
|
18
18
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
19
19
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
20
20
|
|
|
21
|
-
(( Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize(
|
|
21
|
+
(( Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize(12953, "webview editor"))), [( new SyncDescriptor(WebviewInput))]);
|
|
22
22
|
let WebviewPanelContribution = class WebviewPanelContribution extends Disposable {
|
|
23
23
|
static { this.ID = 'workbench.contrib.webviewPanel'; }
|
|
24
24
|
constructor(editorService, editorGroupService) {
|
|
@@ -450,8 +450,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
450
450
|
if (storedChoices[globForResource]?.find(editorID => editorID === currentEditor.editorId)) {
|
|
451
451
|
return;
|
|
452
452
|
}
|
|
453
|
-
const handle = this.notificationService.prompt(Severity.Warning, ( localize(
|
|
454
|
-
label: ( localize(
|
|
453
|
+
const handle = this.notificationService.prompt(Severity.Warning, ( localize(13666, 'There are multiple default editors available for the resource.')), [{
|
|
454
|
+
label: ( localize(13667, 'Configure Default')),
|
|
455
455
|
run: async () => {
|
|
456
456
|
const picked = await this.doPickEditor(untypedInput, true);
|
|
457
457
|
if (!picked) {
|
|
@@ -472,7 +472,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
472
472
|
}
|
|
473
473
|
},
|
|
474
474
|
{
|
|
475
|
-
label: ( localize(
|
|
475
|
+
label: ( localize(13668, 'Keep {0}', editorName)),
|
|
476
476
|
run: writeCurrentEditorsToStorage
|
|
477
477
|
}
|
|
478
478
|
]);
|
|
@@ -498,9 +498,9 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
498
498
|
}
|
|
499
499
|
});
|
|
500
500
|
const quickPickEntries = [];
|
|
501
|
-
const currentlyActiveLabel = ( localize(
|
|
502
|
-
const currentDefaultLabel = ( localize(
|
|
503
|
-
const currentDefaultAndActiveLabel = ( localize(
|
|
501
|
+
const currentlyActiveLabel = ( localize(13669, "Active"));
|
|
502
|
+
const currentDefaultLabel = ( localize(13670, "Default"));
|
|
503
|
+
const currentDefaultAndActiveLabel = ( localize(13671, "Active and Default"));
|
|
504
504
|
let defaultViewType = defaultSetting;
|
|
505
505
|
if (!defaultViewType && registeredEditors.length > 2 && registeredEditors[1]?.editorInfo.priority !== RegisteredEditorPriority.option) {
|
|
506
506
|
defaultViewType = registeredEditors[1]?.editorInfo.id;
|
|
@@ -525,7 +525,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
525
525
|
quickPickEntries.push(separator);
|
|
526
526
|
const configureDefaultEntry = {
|
|
527
527
|
id: EditorResolverService_1.configureDefaultID,
|
|
528
|
-
label: ( localize(
|
|
528
|
+
label: ( localize(13672, "Configure default editor for '{0}'...", `*${extname(resource)}`)),
|
|
529
529
|
};
|
|
530
530
|
quickPickEntries.push(configureDefaultEntry);
|
|
531
531
|
}
|
|
@@ -540,8 +540,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
|
|
|
540
540
|
const disposables = ( new DisposableStore());
|
|
541
541
|
const editorPicker = disposables.add(this.quickInputService.createQuickPick({ useSeparators: true }));
|
|
542
542
|
const placeHolderMessage = showDefaultPicker ?
|
|
543
|
-
( localize(
|
|
544
|
-
( localize(
|
|
543
|
+
( localize(13673, "Select new default editor for '{0}'", `*${extname(resource)}`)) :
|
|
544
|
+
( localize(13674, "Select editor for '{0}'", basename(resource)));
|
|
545
545
|
editorPicker.placeholder = placeHolderMessage;
|
|
546
546
|
editorPicker.canAcceptInBackground = true;
|
|
547
547
|
editorPicker.items = editorPicks;
|
|
@@ -77,33 +77,33 @@ let HistoryService = class HistoryService extends Disposable {
|
|
|
77
77
|
return matcher;
|
|
78
78
|
})));
|
|
79
79
|
this.editorHelper = this.instantiationService.createInstance(EditorHelper);
|
|
80
|
-
this.canNavigateBackContextKey = (( new RawContextKey('canNavigateBack', false, ( localize(
|
|
81
|
-
this.canNavigateForwardContextKey = (( new RawContextKey('canNavigateForward', false, ( localize(
|
|
80
|
+
this.canNavigateBackContextKey = (( new RawContextKey('canNavigateBack', false, ( localize(13887, "Whether it is possible to navigate back in editor history"))))).bindTo(this.contextKeyService);
|
|
81
|
+
this.canNavigateForwardContextKey = (( new RawContextKey('canNavigateForward', false, ( localize(13888, "Whether it is possible to navigate forward in editor history"))))).bindTo(this.contextKeyService);
|
|
82
82
|
this.canNavigateBackInNavigationsContextKey = (( new RawContextKey('canNavigateBackInNavigationLocations', false, ( localize(
|
|
83
|
-
|
|
83
|
+
13889,
|
|
84
84
|
"Whether it is possible to navigate back in editor navigation locations history"
|
|
85
85
|
))))).bindTo(this.contextKeyService);
|
|
86
86
|
this.canNavigateForwardInNavigationsContextKey = (( new RawContextKey('canNavigateForwardInNavigationLocations', false, ( localize(
|
|
87
|
-
|
|
87
|
+
13890,
|
|
88
88
|
"Whether it is possible to navigate forward in editor navigation locations history"
|
|
89
89
|
))))).bindTo(this.contextKeyService);
|
|
90
90
|
this.canNavigateToLastNavigationLocationContextKey = (( new RawContextKey('canNavigateToLastNavigationLocation', false, ( localize(
|
|
91
|
-
|
|
91
|
+
13891,
|
|
92
92
|
"Whether it is possible to navigate to the last editor navigation location"
|
|
93
93
|
))))).bindTo(this.contextKeyService);
|
|
94
94
|
this.canNavigateBackInEditsContextKey = (( new RawContextKey('canNavigateBackInEditLocations', false, ( localize(
|
|
95
|
-
|
|
95
|
+
13892,
|
|
96
96
|
"Whether it is possible to navigate back in editor edit locations history"
|
|
97
97
|
))))).bindTo(this.contextKeyService);
|
|
98
98
|
this.canNavigateForwardInEditsContextKey = (( new RawContextKey('canNavigateForwardInEditLocations', false, ( localize(
|
|
99
|
-
|
|
99
|
+
13893,
|
|
100
100
|
"Whether it is possible to navigate forward in editor edit locations history"
|
|
101
101
|
))))).bindTo(this.contextKeyService);
|
|
102
102
|
this.canNavigateToLastEditLocationContextKey = (( new RawContextKey('canNavigateToLastEditLocation', false, ( localize(
|
|
103
|
-
|
|
103
|
+
13894,
|
|
104
104
|
"Whether it is possible to navigate to the last editor edit location"
|
|
105
105
|
))))).bindTo(this.contextKeyService);
|
|
106
|
-
this.canReopenClosedEditorContextKey = (( new RawContextKey('canReopenClosedEditor', false, ( localize(
|
|
106
|
+
this.canReopenClosedEditorContextKey = (( new RawContextKey('canReopenClosedEditor', false, ( localize(13895, "Whether it is possible to reopen the last closed editor"))))).bindTo(this.contextKeyService);
|
|
107
107
|
this.registerListeners();
|
|
108
108
|
if (this.editorService.activeEditorPane) {
|
|
109
109
|
this.onDidActiveEditorChange();
|