@codingame/monaco-vscode-view-common-service-override 14.0.2 → 14.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.
Files changed (27) hide show
  1. package/package.json +39 -39
  2. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
  3. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
  4. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +12 -12
  5. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +7 -7
  6. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
  7. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +27 -27
  8. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
  9. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +3 -3
  10. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
  11. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
  12. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +11 -11
  13. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +5 -5
  14. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -1
  15. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
  16. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
  17. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
  18. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
  19. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +5 -5
  20. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
  21. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
  23. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
  24. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +9 -9
  25. package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
  26. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +8 -8
  27. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +5 -5
@@ -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(7373, 'The background color for changes.')));
16
- registerColor('mergeEditor.change.word.background', { dark: '#9ccc2c33', light: '#9ccc2c66', hcDark: '#9ccc2c33', hcLight: '#9ccc2c66', }, ( localize(7374, 'The background color for word changes.')));
17
- registerColor('mergeEditor.changeBase.background', { dark: '#4B1818FF', light: '#FFCCCCFF', hcDark: '#4B1818FF', hcLight: '#FFCCCCFF', }, ( localize(7375, 'The background color for changes in base.')));
18
- registerColor('mergeEditor.changeBase.word.background', { dark: '#6F1313FF', light: '#FFA3A3FF', hcDark: '#6F1313FF', hcLight: '#FFA3A3FF', }, ( localize(7376, 'The background color for word changes in base.')));
19
- registerColor('mergeEditor.conflict.unhandledUnfocused.border', { dark: '#ffa6007a', light: '#ffa600FF', hcDark: '#ffa6007a', hcLight: '#ffa6007a', }, ( localize(7377, 'The border color of unhandled unfocused conflicts.')));
20
- registerColor('mergeEditor.conflict.unhandledFocused.border', '#ffa600', ( localize(7378, 'The border color of unhandled focused conflicts.')));
21
- registerColor('mergeEditor.conflict.handledUnfocused.border', '#86868649', ( localize(7379, 'The border color of handled unfocused conflicts.')));
22
- registerColor('mergeEditor.conflict.handledFocused.border', '#c1c1c1cc', ( localize(7380, 'The border color of handled focused conflicts.')));
23
- const handledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.handled.minimapOverViewRuler', '#adaca8ee', ( localize(7381, 'The foreground color for changes in input 1.')));
24
- const unhandledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.unhandled.minimapOverViewRuler', '#fcba03FF', ( localize(7382, 'The foreground color for changes in input 1.')));
25
- registerColor('mergeEditor.conflictingLines.background', '#ffea0047', ( localize(7383, 'The background of the "Conflicting Lines" text.')));
15
+ registerColor('mergeEditor.change.background', '#9bb95533', ( localize(7374, 'The background color for changes.')));
16
+ registerColor('mergeEditor.change.word.background', { dark: '#9ccc2c33', light: '#9ccc2c66', hcDark: '#9ccc2c33', hcLight: '#9ccc2c66', }, ( localize(7375, 'The background color for word changes.')));
17
+ registerColor('mergeEditor.changeBase.background', { dark: '#4B1818FF', light: '#FFCCCCFF', hcDark: '#4B1818FF', hcLight: '#FFCCCCFF', }, ( localize(7376, 'The background color for changes in base.')));
18
+ registerColor('mergeEditor.changeBase.word.background', { dark: '#6F1313FF', light: '#FFA3A3FF', hcDark: '#6F1313FF', hcLight: '#FFA3A3FF', }, ( localize(7377, 'The background color for word changes in base.')));
19
+ registerColor('mergeEditor.conflict.unhandledUnfocused.border', { dark: '#ffa6007a', light: '#ffa600FF', hcDark: '#ffa6007a', hcLight: '#ffa6007a', }, ( localize(7378, 'The border color of unhandled unfocused conflicts.')));
20
+ registerColor('mergeEditor.conflict.unhandledFocused.border', '#ffa600', ( localize(7379, 'The border color of unhandled focused conflicts.')));
21
+ registerColor('mergeEditor.conflict.handledUnfocused.border', '#86868649', ( localize(7380, 'The border color of handled unfocused conflicts.')));
22
+ registerColor('mergeEditor.conflict.handledFocused.border', '#c1c1c1cc', ( localize(7381, 'The border color of handled focused conflicts.')));
23
+ const handledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.handled.minimapOverViewRuler', '#adaca8ee', ( localize(7382, 'The foreground color for changes in input 1.')));
24
+ const unhandledConflictMinimapOverViewRulerColor = registerColor('mergeEditor.conflict.unhandled.minimapOverViewRuler', '#fcba03FF', ( localize(7383, 'The foreground color for changes in input 1.')));
25
+ registerColor('mergeEditor.conflictingLines.background', '#ffea0047', ( localize(7384, 'The background of the "Conflicting Lines" text.')));
26
26
  const contentTransparency = 0.4;
27
- registerColor('mergeEditor.conflict.input1.background', ( transparent(mergeCurrentHeaderBackground, contentTransparency)), ( localize(7384, 'The background color of decorations in input 1.')));
28
- registerColor('mergeEditor.conflict.input2.background', ( transparent(mergeIncomingHeaderBackground, contentTransparency)), ( localize(7385, 'The background color of decorations in input 2.')));
27
+ registerColor('mergeEditor.conflict.input1.background', ( transparent(mergeCurrentHeaderBackground, contentTransparency)), ( localize(7385, 'The background color of decorations in input 1.')));
28
+ registerColor('mergeEditor.conflict.input2.background', ( transparent(mergeIncomingHeaderBackground, contentTransparency)), ( localize(7386, 'The background color of decorations in input 2.')));
29
29
 
30
30
  export { handledConflictMinimapOverViewRulerColor, unhandledConflictMinimapOverViewRulerColor };
@@ -118,16 +118,16 @@ let BaseCodeEditorView = class BaseCodeEditorView extends CodeEditorView {
118
118
  return;
119
119
  }
120
120
  this.editor.setModel(vm.model.base);
121
- reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(7404, 'Base'))));
121
+ reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(7405, 'Base'))));
122
122
  const baseShowDiffAgainst = vm.baseShowDiffAgainst.read(reader);
123
123
  let node = undefined;
124
124
  if (baseShowDiffAgainst) {
125
125
  const label = ( localize(
126
- 7405,
126
+ 7406,
127
127
  'Comparing with {0}',
128
128
  baseShowDiffAgainst === 1 ? vm.model.input1.title : vm.model.input2.title
129
129
  ));
130
- const tooltip = ( localize(7406, 'Differences are highlighted with a background color.'));
130
+ const tooltip = ( localize(7407, 'Differences are highlighted with a background color.'));
131
131
  node = h('span', { title: tooltip }, [label]).root;
132
132
  }
133
133
  reset(this.htmlElements.description, ...(node ? [node] : []));
@@ -157,8 +157,8 @@ let InputCodeEditorView = class InputCodeEditorView extends CodeEditorView {
157
157
  }
158
158
  this.editor.setModel(this.inputNumber === 1 ? vm.model.input1.textModel : vm.model.input2.textModel);
159
159
  const title = this.inputNumber === 1
160
- ? vm.model.input1.title || ( localize(7407, 'Input 1'))
161
- : vm.model.input2.title || ( localize(7408, 'Input 2'));
160
+ ? vm.model.input1.title || ( localize(7408, 'Input 1'))
161
+ : vm.model.input2.title || ( localize(7409, 'Input 2'));
162
162
  const description = this.inputNumber === 1
163
163
  ? vm.model.input1.description
164
164
  : vm.model.input2.description;
@@ -240,19 +240,19 @@ class ModifiedBaseRangeGutterItemModel {
240
240
  const both = state.includesInput1 && state.includesInput2;
241
241
  return [
242
242
  this.baseRange.input1Diffs.length > 0
243
- ? action('mergeEditor.acceptInput1', ( localize(7409, 'Accept {0}', this.model.input1.title)), state.toggle(1), state.includesInput1)
243
+ ? action('mergeEditor.acceptInput1', ( localize(7410, 'Accept {0}', this.model.input1.title)), state.toggle(1), state.includesInput1)
244
244
  : undefined,
245
245
  this.baseRange.input2Diffs.length > 0
246
- ? action('mergeEditor.acceptInput2', ( localize(7409, 'Accept {0}', this.model.input2.title)), state.toggle(2), state.includesInput2)
246
+ ? action('mergeEditor.acceptInput2', ( localize(7410, 'Accept {0}', this.model.input2.title)), state.toggle(2), state.includesInput2)
247
247
  : undefined,
248
248
  this.baseRange.isConflicting
249
- ? setFields(action('mergeEditor.acceptBoth', ( localize(7410, 'Accept Both')), state.withInputValue(1, !both).withInputValue(2, !both), both), { enabled: this.baseRange.canBeCombined })
249
+ ? setFields(action('mergeEditor.acceptBoth', ( localize(7411, 'Accept Both')), state.withInputValue(1, !both).withInputValue(2, !both), both), { enabled: this.baseRange.canBeCombined })
250
250
  : undefined,
251
251
  ( new Separator()),
252
252
  this.baseRange.isConflicting
253
- ? setFields(action('mergeEditor.swap', ( localize(7411, 'Swap')), state.swap(), false), { enabled: !state.kind && (!both || this.baseRange.isOrderRelevant) })
253
+ ? setFields(action('mergeEditor.swap', ( localize(7412, 'Swap')), state.swap(), false), { enabled: !state.kind && (!both || this.baseRange.isOrderRelevant) })
254
254
  : undefined,
255
- setFields(( new Action('mergeEditor.markAsHandled', ( localize(7412, 'Mark as Handled')), undefined, true, () => {
255
+ setFields(( new Action('mergeEditor.markAsHandled', ( localize(7413, 'Mark as Handled')), undefined, true, () => {
256
256
  transaction((tx) => {
257
257
  this.model.setHandled(this.baseRange, !handled, tx);
258
258
  });
@@ -295,10 +295,10 @@ class MergeConflictGutterItemView extends Disposable {
295
295
  const item = this.item.read(reader);
296
296
  const value = item.toggleState.read(reader);
297
297
  const iconMap = {
298
- [InputState.excluded]: { icon: undefined, checked: false, title: ( localize(7413, "Accept")) },
299
- [InputState.unrecognized]: { icon: Codicon.circleFilled, checked: false, title: ( localize(7414, "Accept (result is dirty)")) },
300
- [InputState.first]: { icon: Codicon.check, checked: true, title: ( localize(7415, "Undo accept")) },
301
- [InputState.second]: { icon: Codicon.checkAll, checked: true, title: ( localize(7416, "Undo accept (currently second)")) },
298
+ [InputState.excluded]: { icon: undefined, checked: false, title: ( localize(7414, "Accept")) },
299
+ [InputState.unrecognized]: { icon: Codicon.circleFilled, checked: false, title: ( localize(7415, "Accept (result is dirty)")) },
300
+ [InputState.first]: { icon: Codicon.check, checked: true, title: ( localize(7416, "Undo accept")) },
301
+ [InputState.second]: { icon: Codicon.checkAll, checked: true, title: ( localize(7417, "Undo accept (currently second)")) },
302
302
  };
303
303
  const state = iconMap[value];
304
304
  checkBox.setIcon(state.icon);
@@ -133,7 +133,7 @@ let ResultCodeEditorView = class ResultCodeEditorView extends CodeEditorView {
133
133
  return;
134
134
  }
135
135
  this.editor.setModel(vm.model.resultTextModel);
136
- reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(7417, 'Result'))));
136
+ reset(this.htmlElements.title, ...renderLabelWithIcons(( localize(7418, 'Result'))));
137
137
  reset(this.htmlElements.description, ...renderLabelWithIcons(this._labelService.getUriLabel(vm.model.resultTextModel.uri, { relative: true })));
138
138
  }));
139
139
  const remainingConflictsActionBar = this._register(( new ActionBar(this.htmlElements.detail)));
@@ -148,8 +148,8 @@ let ResultCodeEditorView = class ResultCodeEditorView extends CodeEditorView {
148
148
  }
149
149
  const count = model.unhandledConflictsCount.read(reader);
150
150
  const text = count === 1
151
- ? ( localize(7418, '{0} Conflict Remaining', count))
152
- : ( localize(7419, '{0} Conflicts Remaining ', count));
151
+ ? ( localize(7419, '{0} Conflict Remaining', count))
152
+ : ( localize(7420, '{0} Conflicts Remaining ', count));
153
153
  remainingConflictsActionBar.clear();
154
154
  remainingConflictsActionBar.push({
155
155
  class: undefined,
@@ -161,8 +161,8 @@ let ResultCodeEditorView = class ResultCodeEditorView extends CodeEditorView {
161
161
  vm.goToNextModifiedBaseRange(m => !model.isHandled(m).get());
162
162
  },
163
163
  tooltip: count > 0
164
- ? ( localize(7420, 'Go to next conflict'))
165
- : ( localize(7421, 'All conflicts handled, the merge can be completed now.')),
164
+ ? ( localize(7421, 'Go to next conflict'))
165
+ : ( localize(7422, 'All conflicts handled, the merge can be completed now.')),
166
166
  });
167
167
  }));
168
168
  this._register(applyObservableDecorations(this.editor, this.decorations));
@@ -126,7 +126,7 @@ let MergeEditor = class MergeEditor extends AbstractTextEditor {
126
126
  if (this.input) {
127
127
  return this.input.getName();
128
128
  }
129
- return localize(7422, "Text Merge Editor");
129
+ return localize(7423, "Text Merge Editor");
130
130
  }
131
131
  createEditorControl(parent, initialOptions) {
132
132
  this.rootHtmlElement = parent;
@@ -208,7 +208,7 @@ let MergeEditorViewModel = class MergeEditorViewModel extends Disposable {
208
208
  toggleActiveConflict(inputNumber) {
209
209
  const activeModifiedBaseRange = this.activeModifiedBaseRange.get();
210
210
  if (!activeModifiedBaseRange) {
211
- this.notificationService.error(( localize(7423, "There is currently no conflict focused that can be toggled.")));
211
+ this.notificationService.error(( localize(7424, "There is currently no conflict focused that can be toggled.")));
212
212
  return;
213
213
  }
214
214
  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(8092, "Keyboard Layout"));
27
+ const name = ( localize(8093, "Keyboard Layout"));
28
28
  const layout = this.keyboardLayoutService.getCurrentKeyboardLayout();
29
29
  if (layout) {
30
30
  const layoutInfo = parseKeyboardLayoutDescription(layout);
31
- const text = ( localize(8093, "Layout: {0}", layoutInfo.label));
31
+ const text = ( localize(8094, "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(8093, "Layout: {0}", layoutInfo.label));
43
+ const text = ( localize(8094, "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(8093, "Layout: {0}", layoutInfo.label));
52
+ const text = ( localize(8094, "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
- 8094,
70
+ 8095,
71
71
  'Defines the keyboard layout used in VS Code in the browser environment.'
72
72
  ))}`,
73
73
  `// ${( localize(
74
- 8095,
74
+ 8096,
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(8096, "Change Keyboard Layout")),
85
+ title: ( localize2(8097, "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(8097, "Keyboard Layouts ({0})", platform)) });
115
+ picks.unshift({ type: 'separator', label: ( localize(8098, "Keyboard Layouts ({0})", platform)) });
116
116
  }
117
- const configureKeyboardLayout = { label: ( localize(8098, "Configure Keyboard Layout")) };
117
+ const configureKeyboardLayout = { label: ( localize(8099, "Configure Keyboard Layout")) };
118
118
  picks.unshift(configureKeyboardLayout);
119
119
  const autoDetectMode = {
120
- label: ( localize(8099, "Auto Detect")),
120
+ label: ( localize(8100, "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(8100, "Select Keyboard Layout")), matchOnDescription: true });
125
+ const pick = await quickInputService.pick(picks, { placeHolder: ( localize(8101, "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(8101, "Unable to create '{0}' ({1}).", (file.toString()), error))));
147
+ throw ( new Error(( localize(8102, "Unable to create '{0}' ({1}).", (file.toString()), error))));
148
148
  });
149
149
  return Promise.resolve();
150
150
  }
@@ -20,7 +20,7 @@ import { isIOS } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platfo
20
20
  minimum: 1,
21
21
  maximum: 20,
22
22
  description: ( localize(
23
- 8581,
23
+ 8582,
24
24
  "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."
25
25
  ))
26
26
  },
@@ -30,7 +30,7 @@ import { isIOS } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platfo
30
30
  minimum: 0,
31
31
  maximum: 2000,
32
32
  description: ( localize(
33
- 8582,
33
+ 8583,
34
34
  "Controls the hover feedback delay in milliseconds of the dragging area in between views/editors."
35
35
  ))
36
36
  },
@@ -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(10606, 'Whether a type hierarchy provider is available'))));
26
- const _ctxTypeHierarchyVisible = ( new RawContextKey('typeHierarchyVisible', false, ( localize(10607, 'Whether type hierarchy peek is currently showing'))));
25
+ const _ctxHasTypeHierarchyProvider = ( new RawContextKey('editorHasTypeHierarchyProvider', false, ( localize(10607, 'Whether a type hierarchy provider is available'))));
26
+ const _ctxTypeHierarchyVisible = ( new RawContextKey('typeHierarchyVisible', false, ( localize(10608, 'Whether type hierarchy peek is currently showing'))));
27
27
  const _ctxTypeHierarchyDirection = ( new RawContextKey(
28
28
  'typeHierarchyDirection',
29
29
  undefined,
30
- { type: 'string', description: ( localize(10608, 'whether type hierarchy shows super types or subtypes')) }
30
+ { type: 'string', description: ( localize(10609, '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(10609, "No results")));
99
+ this._widget.showMessage(( localize(10610, "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(10610, "Failed to show type hierarchy")));
106
+ this._widget.showMessage(( localize(10611, "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(10611, 'Peek Type Hierarchy')),
151
+ title: ( localize2(10612, '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(10612, 'Show Supertypes')),
170
+ title: ( localize2(10613, '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(10613, 'Show Subtypes')),
192
+ title: ( localize2(10614, '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(10614, 'Refocus Type Hierarchy')),
214
+ title: ( localize2(10615, '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(10615, 'Close')),
230
+ title: ( localize(10616, 'Close')),
231
231
  icon: Codicon.close,
232
232
  precondition: _ctxTypeHierarchyVisible,
233
233
  keybinding: {
@@ -262,13 +262,13 @@ let TypeHierarchyTreePeekWidget = class TypeHierarchyTreePeekWidget extends Peek
262
262
  }
263
263
  this._previewDisposable.add(value);
264
264
  const title = this._direction === TypeHierarchyDirection.Supertypes
265
- ? ( localize(10616, "Supertypes of '{0}'", element.model.root.name))
266
- : ( localize(10617, "Subtypes of '{0}'", element.model.root.name));
265
+ ? ( localize(10617, "Supertypes of '{0}'", element.model.root.name))
266
+ : ( localize(10618, "Subtypes of '{0}'", element.model.root.name));
267
267
  this.setTitle(title);
268
268
  }
269
269
  showLoading() {
270
270
  this._parent.dataset['state'] = State.Loading;
271
- this.setTitle(( localize(10618, "Loading...")));
271
+ this.setTitle(( localize(10619, "Loading...")));
272
272
  this._show();
273
273
  }
274
274
  showMessage(message) {
@@ -287,8 +287,8 @@ let TypeHierarchyTreePeekWidget = class TypeHierarchyTreePeekWidget extends Peek
287
287
  await this._tree.expand(root.element);
288
288
  if (root.children.length === 0) {
289
289
  this.showMessage(this._direction === TypeHierarchyDirection.Supertypes
290
- ? ( localize(10619, "No supertypes of '{0}'", model.root.name))
291
- : ( localize(10620, "No subtypes of '{0}'", model.root.name)));
290
+ ? ( localize(10620, "No supertypes of '{0}'", model.root.name))
291
+ : ( localize(10621, "No subtypes of '{0}'", model.root.name)));
292
292
  }
293
293
  else {
294
294
  this._parent.dataset['state'] = State.Data;
@@ -105,14 +105,14 @@ class AccessibilityProvider {
105
105
  this.getDirection = getDirection;
106
106
  }
107
107
  getWidgetAriaLabel() {
108
- return localize(10621, "Type Hierarchy");
108
+ return localize(10622, "Type Hierarchy");
109
109
  }
110
110
  getAriaLabel(element) {
111
111
  if (this.getDirection() === TypeHierarchyDirection.Supertypes) {
112
- return localize(10622, "supertypes of {0}", element.item.name);
112
+ return localize(10623, "supertypes of {0}", element.item.name);
113
113
  }
114
114
  else {
115
- return localize(10623, "subtypes of {0}", element.item.name);
115
+ return localize(10624, "subtypes of {0}", element.item.name);
116
116
  }
117
117
  }
118
118
  }
@@ -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(10922, "Error loading webview: {0}", e.message)));
162
+ notificationService.error(( localize(10923, "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(10923, "Show find")); }
18
+ static { this.LABEL = ( localize(10924, "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(10924, "Stop find")); }
39
+ static { this.LABEL = ( localize(10925, "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(10925, 'Find next')); }
60
+ static { this.LABEL = ( localize(10926, '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(10926, 'Find previous')); }
81
+ static { this.LABEL = ( localize(10927, '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(10927, "Reload Webviews")); }
102
+ static { this.LABEL = ( localize2(10928, "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(10929, "webview editor"))), [( new SyncDescriptor(WebviewInput))]);
21
+ (( Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize(10930, "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) {
@@ -449,8 +449,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
449
449
  if (storedChoices[globForResource] && storedChoices[globForResource].find(editorID => editorID === currentEditor.editorId)) {
450
450
  return;
451
451
  }
452
- const handle = this.notificationService.prompt(Severity.Warning, ( localize(11596, 'There are multiple default editors available for the resource.')), [{
453
- label: ( localize(11597, 'Configure Default')),
452
+ const handle = this.notificationService.prompt(Severity.Warning, ( localize(11597, 'There are multiple default editors available for the resource.')), [{
453
+ label: ( localize(11598, 'Configure Default')),
454
454
  run: async () => {
455
455
  const picked = await this.doPickEditor(untypedInput, true);
456
456
  if (!picked) {
@@ -471,7 +471,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
471
471
  }
472
472
  },
473
473
  {
474
- label: ( localize(11598, 'Keep {0}', editorName)),
474
+ label: ( localize(11599, 'Keep {0}', editorName)),
475
475
  run: writeCurrentEditorsToStorage
476
476
  }
477
477
  ]);
@@ -497,9 +497,9 @@ let EditorResolverService = class EditorResolverService extends Disposable {
497
497
  }
498
498
  });
499
499
  const quickPickEntries = [];
500
- const currentlyActiveLabel = ( localize(11599, "Active"));
501
- const currentDefaultLabel = ( localize(11600, "Default"));
502
- const currentDefaultAndActiveLabel = ( localize(11601, "Active and Default"));
500
+ const currentlyActiveLabel = ( localize(11600, "Active"));
501
+ const currentDefaultLabel = ( localize(11601, "Default"));
502
+ const currentDefaultAndActiveLabel = ( localize(11602, "Active and Default"));
503
503
  let defaultViewType = defaultSetting;
504
504
  if (!defaultViewType && registeredEditors.length > 2 && registeredEditors[1]?.editorInfo.priority !== RegisteredEditorPriority.option) {
505
505
  defaultViewType = registeredEditors[1]?.editorInfo.id;
@@ -524,7 +524,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
524
524
  quickPickEntries.push(separator);
525
525
  const configureDefaultEntry = {
526
526
  id: EditorResolverService_1.configureDefaultID,
527
- label: ( localize(11602, "Configure default editor for '{0}'...", `*${extname(resource)}`)),
527
+ label: ( localize(11603, "Configure default editor for '{0}'...", `*${extname(resource)}`)),
528
528
  };
529
529
  quickPickEntries.push(configureDefaultEntry);
530
530
  }
@@ -539,8 +539,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
539
539
  const disposables = ( new DisposableStore());
540
540
  const editorPicker = disposables.add(this.quickInputService.createQuickPick({ useSeparators: true }));
541
541
  const placeHolderMessage = showDefaultPicker ?
542
- ( localize(11603, "Select new default editor for '{0}'", `*${extname(resource)}`)) :
543
- ( localize(11604, "Select editor for '{0}'", basename(resource)));
542
+ ( localize(11604, "Select new default editor for '{0}'", `*${extname(resource)}`)) :
543
+ ( localize(11605, "Select editor for '{0}'", basename(resource)));
544
544
  editorPicker.placeholder = placeHolderMessage;
545
545
  editorPicker.canAcceptInBackground = true;
546
546
  editorPicker.items = editorPicks;
@@ -56,33 +56,33 @@ let HistoryService = class HistoryService extends Disposable {
56
56
  this.activeEditorListeners = this._register(( new DisposableStore()));
57
57
  this.lastActiveEditor = undefined;
58
58
  this.editorHelper = this.instantiationService.createInstance(EditorHelper);
59
- this.canNavigateBackContextKey = (( new RawContextKey('canNavigateBack', false, ( localize(11811, "Whether it is possible to navigate back in editor history"))))).bindTo(this.contextKeyService);
60
- this.canNavigateForwardContextKey = (( new RawContextKey('canNavigateForward', false, ( localize(11812, "Whether it is possible to navigate forward in editor history"))))).bindTo(this.contextKeyService);
59
+ this.canNavigateBackContextKey = (( new RawContextKey('canNavigateBack', false, ( localize(11812, "Whether it is possible to navigate back in editor history"))))).bindTo(this.contextKeyService);
60
+ this.canNavigateForwardContextKey = (( new RawContextKey('canNavigateForward', false, ( localize(11813, "Whether it is possible to navigate forward in editor history"))))).bindTo(this.contextKeyService);
61
61
  this.canNavigateBackInNavigationsContextKey = (( new RawContextKey('canNavigateBackInNavigationLocations', false, ( localize(
62
- 11813,
62
+ 11814,
63
63
  "Whether it is possible to navigate back in editor navigation locations history"
64
64
  ))))).bindTo(this.contextKeyService);
65
65
  this.canNavigateForwardInNavigationsContextKey = (( new RawContextKey('canNavigateForwardInNavigationLocations', false, ( localize(
66
- 11814,
66
+ 11815,
67
67
  "Whether it is possible to navigate forward in editor navigation locations history"
68
68
  ))))).bindTo(this.contextKeyService);
69
69
  this.canNavigateToLastNavigationLocationContextKey = (( new RawContextKey('canNavigateToLastNavigationLocation', false, ( localize(
70
- 11815,
70
+ 11816,
71
71
  "Whether it is possible to navigate to the last editor navigation location"
72
72
  ))))).bindTo(this.contextKeyService);
73
73
  this.canNavigateBackInEditsContextKey = (( new RawContextKey('canNavigateBackInEditLocations', false, ( localize(
74
- 11816,
74
+ 11817,
75
75
  "Whether it is possible to navigate back in editor edit locations history"
76
76
  ))))).bindTo(this.contextKeyService);
77
77
  this.canNavigateForwardInEditsContextKey = (( new RawContextKey('canNavigateForwardInEditLocations', false, ( localize(
78
- 11817,
78
+ 11818,
79
79
  "Whether it is possible to navigate forward in editor edit locations history"
80
80
  ))))).bindTo(this.contextKeyService);
81
81
  this.canNavigateToLastEditLocationContextKey = (( new RawContextKey('canNavigateToLastEditLocation', false, ( localize(
82
- 11818,
82
+ 11819,
83
83
  "Whether it is possible to navigate to the last editor edit location"
84
84
  ))))).bindTo(this.contextKeyService);
85
- this.canReopenClosedEditorContextKey = (( new RawContextKey('canReopenClosedEditor', false, ( localize(11819, "Whether it is possible to reopen the last closed editor"))))).bindTo(this.contextKeyService);
85
+ this.canReopenClosedEditorContextKey = (( new RawContextKey('canReopenClosedEditor', false, ( localize(11820, "Whether it is possible to reopen the last closed editor"))))).bindTo(this.contextKeyService);
86
86
  this._onDidChangeEditorNavigationStack = this._register(( new Emitter()));
87
87
  this.onDidChangeEditorNavigationStack = this._onDidChangeEditorNavigationStack.event;
88
88
  this.defaultScopedEditorNavigationStack = undefined;
@@ -132,23 +132,23 @@ let ProgressService = class ProgressService extends Disposable {
132
132
  let title;
133
133
  const source = options.source && typeof options.source !== 'string' ? options.source.label : options.source;
134
134
  if (progressTitle && progressMessage) {
135
- text = ( localize(11942, "{0}: {1}", progressTitle, progressMessage));
136
- title = source ? ( localize(11943, "[{0}] {1}: {2}", source, progressTitle, progressMessage)) : text;
135
+ text = ( localize(11943, "{0}: {1}", progressTitle, progressMessage));
136
+ title = source ? ( localize(11944, "[{0}] {1}: {2}", source, progressTitle, progressMessage)) : text;
137
137
  }
138
138
  else if (progressTitle) {
139
139
  text = progressTitle;
140
- title = source ? ( localize(11944, "[{0}]: {1}", source, progressTitle)) : text;
140
+ title = source ? ( localize(11945, "[{0}]: {1}", source, progressTitle)) : text;
141
141
  }
142
142
  else if (progressMessage) {
143
143
  text = progressMessage;
144
- title = source ? ( localize(11944, "[{0}]: {1}", source, progressMessage)) : text;
144
+ title = source ? ( localize(11945, "[{0}]: {1}", source, progressMessage)) : text;
145
145
  }
146
146
  else {
147
147
  this.updateWindowProgress(idx + 1);
148
148
  return;
149
149
  }
150
150
  const statusEntryProperties = {
151
- name: ( localize(11945, "Progress Message")),
151
+ name: ( localize(11946, "Progress Message")),
152
152
  text,
153
153
  showProgress: options.type || true,
154
154
  ariaLabel: text,
@@ -244,7 +244,7 @@ let ProgressService = class ProgressService extends Disposable {
244
244
  if (options.cancellable) {
245
245
  const cancelAction = new (class extends Action {
246
246
  constructor() {
247
- super('progress.cancel', typeof options.cancellable === 'string' ? options.cancellable : ( localize(11946, "Cancel")), undefined, true);
247
+ super('progress.cancel', typeof options.cancellable === 'string' ? options.cancellable : ( localize(11947, "Cancel")), undefined, true);
248
248
  }
249
249
  async run() {
250
250
  progressStateModel.cancel();
@@ -429,8 +429,8 @@ let ProgressService = class ProgressService extends Disposable {
429
429
  const buttons = options.buttons || [];
430
430
  if (!options.sticky) {
431
431
  buttons.push(options.cancellable
432
- ? (typeof options.cancellable === 'boolean' ? ( localize(11946, "Cancel")) : options.cancellable)
433
- : ( localize(11947, "Dismiss")));
432
+ ? (typeof options.cancellable === 'boolean' ? ( localize(11947, "Cancel")) : options.cancellable)
433
+ : ( localize(11948, "Dismiss")));
434
434
  }
435
435
  dialog = ( new Dialog(this.layoutService.activeContainer, message, buttons, {
436
436
  type: 'pending',