@codingame/monaco-vscode-views-service-override 1.83.2 → 1.83.3

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 (54) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
  3. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +50 -179
  4. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarActions.js +44 -21
  5. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +12 -12
  6. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +3 -3
  7. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +2 -2
  8. package/vscode/src/vs/workbench/browser/parts/compositePart.js +4 -4
  9. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +24 -18
  10. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +2 -2
  11. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +2 -6
  12. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +5 -5
  13. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +12 -18
  14. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +3 -3
  15. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +3 -3
  16. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +5 -2
  17. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +16 -8
  18. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -2
  19. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +20 -28
  20. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +20 -24
  21. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +6 -6
  22. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +4 -4
  23. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -15
  24. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.js +4 -2
  25. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +4 -9
  26. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
  27. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +8 -29
  28. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +12 -19
  30. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +17 -55
  31. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +110 -38
  32. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +6 -11
  33. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution2.js +463 -3
  34. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +5 -11
  35. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +4 -1
  36. package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +6 -6
  37. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +31 -23
  38. package/vscode/src/vs/workbench/contrib/outline/browser/outline.contribution.js +37 -76
  39. package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.js +4 -4
  40. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +5 -21
  41. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -23
  42. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +62 -117
  43. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +18 -16
  44. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +6 -6
  45. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +4 -4
  46. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +2 -2
  47. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
  48. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +2 -2
  49. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +10 -25
  50. package/vscode/src/vs/workbench/services/history/browser/historyService.js +37 -28
  51. package/vscode/src/vs/workbench/services/hover/browser/hoverWidget.js +2 -2
  52. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -2
  53. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +3 -3
  54. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +2 -2
@@ -9,7 +9,7 @@ import { Disposable, toDisposable } from 'monaco-editor/esm/vs/base/common/lifec
9
9
  import { FileAccess, COI } from 'monaco-editor/esm/vs/base/common/network.js';
10
10
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
11
11
  import { generateUuid } from 'monaco-editor/esm/vs/base/common/uuid.js';
12
- import { localize } from 'monaco-editor/esm/vs/nls.js';
12
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
13
13
  import { IAccessibilityService } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
14
14
  import { MenuId } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
15
15
  import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
@@ -179,7 +179,7 @@ let WebviewElement = class WebviewElement extends Disposable {
179
179
  this._hasFindResult.fire(didFind);
180
180
  }));
181
181
  this._register(this.on('fatal-error', (e) => {
182
- notificationService.error(( localize('fatalErrorMessage', "Error loading webview: {0}", e.message)));
182
+ notificationService.error(localizeWithPath('vs/workbench/contrib/webview/browser/webviewElement', 'fatalErrorMessage', "Error loading webview: {0}", e.message));
183
183
  this._onFatalError.fire({ message: e.message });
184
184
  }));
185
185
  this._register(this.on('did-keydown', (data) => {
@@ -11,7 +11,7 @@ import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/commo
11
11
  const webviewActiveContextKeyExpr = ( ContextKeyExpr.and(( ContextKeyExpr.equals('activeEditor', WebviewEditor.ID)), ( EditorContextKeys.focus.toNegated() )));
12
12
  class ShowWebViewEditorFindWidgetAction extends Action2 {
13
13
  static { this.ID = 'editor.action.webvieweditor.showFind'; }
14
- static { this.LABEL = ( nls.localize('editor.action.webvieweditor.showFind', "Show find")); }
14
+ static { this.LABEL = nls.localizeWithPath('vs/workbench/contrib/webviewPanel/browser/webviewCommands', 'editor.action.webvieweditor.showFind', "Show find"); }
15
15
  constructor() {
16
16
  super({
17
17
  id: ShowWebViewEditorFindWidgetAction.ID,
@@ -32,7 +32,7 @@ class ShowWebViewEditorFindWidgetAction extends Action2 {
32
32
  }
33
33
  class HideWebViewEditorFindCommand extends Action2 {
34
34
  static { this.ID = 'editor.action.webvieweditor.hideFind'; }
35
- static { this.LABEL = ( nls.localize('editor.action.webvieweditor.hideFind', "Stop find")); }
35
+ static { this.LABEL = nls.localizeWithPath('vs/workbench/contrib/webviewPanel/browser/webviewCommands', 'editor.action.webvieweditor.hideFind', "Stop find"); }
36
36
  constructor() {
37
37
  super({
38
38
  id: HideWebViewEditorFindCommand.ID,
@@ -53,7 +53,7 @@ class HideWebViewEditorFindCommand extends Action2 {
53
53
  }
54
54
  class WebViewEditorFindNextCommand extends Action2 {
55
55
  static { this.ID = 'editor.action.webvieweditor.findNext'; }
56
- static { this.LABEL = ( nls.localize('editor.action.webvieweditor.findNext', 'Find next')); }
56
+ static { this.LABEL = nls.localizeWithPath('vs/workbench/contrib/webviewPanel/browser/webviewCommands', 'editor.action.webvieweditor.findNext', 'Find next'); }
57
57
  constructor() {
58
58
  super({
59
59
  id: WebViewEditorFindNextCommand.ID,
@@ -74,7 +74,7 @@ class WebViewEditorFindNextCommand extends Action2 {
74
74
  }
75
75
  class WebViewEditorFindPreviousCommand extends Action2 {
76
76
  static { this.ID = 'editor.action.webvieweditor.findPrevious'; }
77
- static { this.LABEL = ( nls.localize('editor.action.webvieweditor.findPrevious', 'Find previous')); }
77
+ static { this.LABEL = nls.localizeWithPath('vs/workbench/contrib/webviewPanel/browser/webviewCommands', 'editor.action.webvieweditor.findPrevious', 'Find previous'); }
78
78
  constructor() {
79
79
  super({
80
80
  id: WebViewEditorFindPreviousCommand.ID,
@@ -95,7 +95,7 @@ class WebViewEditorFindPreviousCommand extends Action2 {
95
95
  }
96
96
  class ReloadWebviewAction extends Action2 {
97
97
  static { this.ID = 'workbench.action.webview.reloadWebviewAction'; }
98
- static { this.LABEL = ( nls.localize('refreshWebviewLabel', "Reload Webviews")); }
98
+ static { this.LABEL = nls.localizeWithPath('vs/workbench/contrib/webviewPanel/browser/webviewCommands', 'refreshWebviewLabel', "Reload Webviews"); }
99
99
  constructor() {
100
100
  super({
101
101
  id: ReloadWebviewAction.ID,
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
3
3
  import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
4
- import { localize } from 'monaco-editor/esm/vs/nls.js';
4
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
5
5
  import { registerAction2 } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
6
6
  import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
7
7
  import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
@@ -13,7 +13,7 @@ import { ShowWebViewEditorFindWidgetAction, HideWebViewEditorFindCommand, WebVie
13
13
  import { WebviewEditor } from 'vscode/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditor';
14
14
  import { WebviewInput } from 'vscode/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput';
15
15
 
16
- (( Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize('webview.editor.label', "webview editor"))), [( new SyncDescriptor(WebviewInput))]);
16
+ (( Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, localizeWithPath('vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution', 'webview.editor.label', "webview editor")), [( new SyncDescriptor(WebviewInput))]);
17
17
  let WebviewPanelContribution = class WebviewPanelContribution extends Disposable {
18
18
  constructor(editorGroupService) {
19
19
  super();
@@ -11,7 +11,7 @@ import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor
11
11
  import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
12
12
  import { globMatchesResource, editorsAssociationsSettingId, RegisteredEditorPriority, priorityToRank } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
13
13
  import { IQuickInputService } from 'monaco-editor/esm/vs/platform/quickinput/common/quickInput.js';
14
- import { localize } from 'monaco-editor/esm/vs/nls.js';
14
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
15
15
  import { Severity, INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
16
16
  import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
17
17
  import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
@@ -419,11 +419,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
419
419
  if (storedChoices[globForResource] && storedChoices[globForResource].find(editorID => editorID === currentEditor.editorId)) {
420
420
  return;
421
421
  }
422
- const handle = this.notificationService.prompt(Severity.Warning, ( localize(
423
- 'editorResolver.conflictingDefaults',
424
- 'There are multiple default editors available for the resource.'
425
- )), [{
426
- label: ( localize('editorResolver.configureDefault', 'Configure Default')),
422
+ const handle = this.notificationService.prompt(Severity.Warning, localizeWithPath('vs/workbench/services/editor/browser/editorResolverService', 'editorResolver.conflictingDefaults', 'There are multiple default editors available for the resource.'), [{
423
+ label: localizeWithPath('vs/workbench/services/editor/browser/editorResolverService', 'editorResolver.configureDefault', 'Configure Default'),
427
424
  run: async () => {
428
425
  const picked = await this.doPickEditor(untypedInput, true);
429
426
  if (!picked) {
@@ -444,7 +441,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
444
441
  }
445
442
  },
446
443
  {
447
- label: ( localize('editorResolver.keepDefault', 'Keep {0}', editorName)),
444
+ label: localizeWithPath('vs/workbench/services/editor/browser/editorResolverService', 'editorResolver.keepDefault', 'Keep {0}', editorName),
448
445
  run: writeCurrentEditorsToStorage
449
446
  }
450
447
  ]);
@@ -470,9 +467,9 @@ let EditorResolverService = class EditorResolverService extends Disposable {
470
467
  }
471
468
  });
472
469
  const quickPickEntries = [];
473
- const currentlyActiveLabel = ( localize('promptOpenWith.currentlyActive', "Active"));
474
- const currentDefaultLabel = ( localize('promptOpenWith.currentDefault', "Default"));
475
- const currentDefaultAndActiveLabel = ( localize('promptOpenWith.currentDefaultAndActive', "Active and Default"));
470
+ const currentlyActiveLabel = localizeWithPath('vs/workbench/services/editor/browser/editorResolverService', 'promptOpenWith.currentlyActive', "Active");
471
+ const currentDefaultLabel = localizeWithPath('vs/workbench/services/editor/browser/editorResolverService', 'promptOpenWith.currentDefault', "Default");
472
+ const currentDefaultAndActiveLabel = localizeWithPath('vs/workbench/services/editor/browser/editorResolverService', 'promptOpenWith.currentDefaultAndActive', "Active and Default");
476
473
  let defaultViewType = defaultSetting;
477
474
  if (!defaultViewType && registeredEditors.length > 2 && registeredEditors[1]?.editorInfo.priority !== RegisteredEditorPriority.option) {
478
475
  defaultViewType = registeredEditors[1]?.editorInfo.id;
@@ -497,11 +494,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
497
494
  quickPickEntries.push(separator);
498
495
  const configureDefaultEntry = {
499
496
  id: EditorResolverService_1.configureDefaultID,
500
- label: ( localize(
501
- 'promptOpenWith.configureDefault',
502
- "Configure default editor for '{0}'...",
503
- `*${extname(resource)}`
504
- )),
497
+ label: localizeWithPath('vs/workbench/services/editor/browser/editorResolverService', 'promptOpenWith.configureDefault', "Configure default editor for '{0}'...", `*${extname(resource)}`),
505
498
  };
506
499
  quickPickEntries.push(configureDefaultEntry);
507
500
  }
@@ -515,16 +508,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
515
508
  const editorPicks = this.mapEditorsToQuickPickEntry(resource, showDefaultPicker);
516
509
  const editorPicker = this.quickInputService.createQuickPick();
517
510
  const placeHolderMessage = showDefaultPicker ?
518
- ( localize(
519
- 'promptOpenWith.updateDefaultPlaceHolder',
520
- "Select new default editor for '{0}'",
521
- `*${extname(resource)}`
522
- )) :
523
- ( localize(
524
- 'promptOpenWith.placeHolder',
525
- "Select editor for '{0}'",
526
- basename(resource)
527
- ));
511
+ localizeWithPath('vs/workbench/services/editor/browser/editorResolverService', 'promptOpenWith.updateDefaultPlaceHolder', "Select new default editor for '{0}'", `*${extname(resource)}`) :
512
+ localizeWithPath('vs/workbench/services/editor/browser/editorResolverService', 'promptOpenWith.placeHolder', "Select editor for '{0}'", basename(resource));
528
513
  editorPicker.placeholder = placeHolderMessage;
529
514
  editorPicker.canAcceptInBackground = true;
530
515
  editorPicker.items = editorPicks;
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
- import { localize } from 'monaco-editor/esm/vs/nls.js';
2
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
3
3
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
4
4
  import { isEditorPaneWithSelection, isEditorInput, EditorResourceAccessor, EditorCloseContext, SideBySideEditor, isSideBySideEditorInput, isResourceEditorInput } from 'vscode/vscode/vs/workbench/common/editor';
5
5
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
@@ -46,42 +46,51 @@ let HistoryService = class HistoryService extends Disposable {
46
46
  this.activeEditorListeners = this._register(( new DisposableStore()));
47
47
  this.lastActiveEditor = undefined;
48
48
  this.editorHelper = this.instantiationService.createInstance(EditorHelper);
49
- this.canNavigateBackContextKey = (( new RawContextKey('canNavigateBack', false, ( localize(
49
+ this.canNavigateBackContextKey = (( new RawContextKey(
50
50
  'canNavigateBack',
51
- "Whether it is possible to navigate back in editor history"
52
- ))))).bindTo(this.contextKeyService);
53
- this.canNavigateForwardContextKey = (( new RawContextKey('canNavigateForward', false, ( localize(
51
+ false,
52
+ localizeWithPath('vs/workbench/services/history/browser/historyService', 'canNavigateBack', "Whether it is possible to navigate back in editor history")
53
+ ))).bindTo(this.contextKeyService);
54
+ this.canNavigateForwardContextKey = (( new RawContextKey(
54
55
  'canNavigateForward',
55
- "Whether it is possible to navigate forward in editor history"
56
- ))))).bindTo(this.contextKeyService);
57
- this.canNavigateBackInNavigationsContextKey = (( new RawContextKey('canNavigateBackInNavigationLocations', false, ( localize(
56
+ false,
57
+ localizeWithPath('vs/workbench/services/history/browser/historyService', 'canNavigateForward', "Whether it is possible to navigate forward in editor history")
58
+ ))).bindTo(this.contextKeyService);
59
+ this.canNavigateBackInNavigationsContextKey = (( new RawContextKey(
58
60
  'canNavigateBackInNavigationLocations',
59
- "Whether it is possible to navigate back in editor navigation locations history"
60
- ))))).bindTo(this.contextKeyService);
61
- this.canNavigateForwardInNavigationsContextKey = (( new RawContextKey('canNavigateForwardInNavigationLocations', false, ( localize(
61
+ false,
62
+ localizeWithPath('vs/workbench/services/history/browser/historyService', 'canNavigateBackInNavigationLocations', "Whether it is possible to navigate back in editor navigation locations history")
63
+ ))).bindTo(this.contextKeyService);
64
+ this.canNavigateForwardInNavigationsContextKey = (( new RawContextKey(
62
65
  'canNavigateForwardInNavigationLocations',
63
- "Whether it is possible to navigate forward in editor navigation locations history"
64
- ))))).bindTo(this.contextKeyService);
65
- this.canNavigateToLastNavigationLocationContextKey = (( new RawContextKey('canNavigateToLastNavigationLocation', false, ( localize(
66
+ false,
67
+ localizeWithPath('vs/workbench/services/history/browser/historyService', 'canNavigateForwardInNavigationLocations', "Whether it is possible to navigate forward in editor navigation locations history")
68
+ ))).bindTo(this.contextKeyService);
69
+ this.canNavigateToLastNavigationLocationContextKey = (( new RawContextKey(
66
70
  'canNavigateToLastNavigationLocation',
67
- "Whether it is possible to navigate to the last editor navigation location"
68
- ))))).bindTo(this.contextKeyService);
69
- this.canNavigateBackInEditsContextKey = (( new RawContextKey('canNavigateBackInEditLocations', false, ( localize(
71
+ false,
72
+ localizeWithPath('vs/workbench/services/history/browser/historyService', 'canNavigateToLastNavigationLocation', "Whether it is possible to navigate to the last editor navigation location")
73
+ ))).bindTo(this.contextKeyService);
74
+ this.canNavigateBackInEditsContextKey = (( new RawContextKey(
70
75
  'canNavigateBackInEditLocations',
71
- "Whether it is possible to navigate back in editor edit locations history"
72
- ))))).bindTo(this.contextKeyService);
73
- this.canNavigateForwardInEditsContextKey = (( new RawContextKey('canNavigateForwardInEditLocations', false, ( localize(
76
+ false,
77
+ localizeWithPath('vs/workbench/services/history/browser/historyService', 'canNavigateBackInEditLocations', "Whether it is possible to navigate back in editor edit locations history")
78
+ ))).bindTo(this.contextKeyService);
79
+ this.canNavigateForwardInEditsContextKey = (( new RawContextKey(
74
80
  'canNavigateForwardInEditLocations',
75
- "Whether it is possible to navigate forward in editor edit locations history"
76
- ))))).bindTo(this.contextKeyService);
77
- this.canNavigateToLastEditLocationContextKey = (( new RawContextKey('canNavigateToLastEditLocation', false, ( localize(
81
+ false,
82
+ localizeWithPath('vs/workbench/services/history/browser/historyService', 'canNavigateForwardInEditLocations', "Whether it is possible to navigate forward in editor edit locations history")
83
+ ))).bindTo(this.contextKeyService);
84
+ this.canNavigateToLastEditLocationContextKey = (( new RawContextKey(
78
85
  'canNavigateToLastEditLocation',
79
- "Whether it is possible to navigate to the last editor edit location"
80
- ))))).bindTo(this.contextKeyService);
81
- this.canReopenClosedEditorContextKey = (( new RawContextKey('canReopenClosedEditor', false, ( localize(
86
+ false,
87
+ localizeWithPath('vs/workbench/services/history/browser/historyService', 'canNavigateToLastEditLocation', "Whether it is possible to navigate to the last editor edit location")
88
+ ))).bindTo(this.contextKeyService);
89
+ this.canReopenClosedEditorContextKey = (( new RawContextKey(
82
90
  'canReopenClosedEditor',
83
- "Whether it is possible to reopen the last closed editor"
84
- ))))).bindTo(this.contextKeyService);
91
+ false,
92
+ localizeWithPath('vs/workbench/services/history/browser/historyService', 'canReopenClosedEditor', "Whether it is possible to reopen the last closed editor")
93
+ ))).bindTo(this.contextKeyService);
85
94
  this._onDidChangeEditorNavigationStack = this._register(( new Emitter()));
86
95
  this.onDidChangeEditorNavigationStack = this._onDidChangeEditorNavigationStack.event;
87
96
  this.defaultScopedEditorNavigationStack = undefined;
@@ -11,7 +11,7 @@ import { IOpenerService } from 'monaco-editor/esm/vs/platform/opener/common/open
11
11
  import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
12
12
  import { openLinkFromMarkdown, MarkdownRenderer } from 'monaco-editor/esm/vs/editor/contrib/markdownRenderer/browser/markdownRenderer.js';
13
13
  import { isMarkdownString } from 'monaco-editor/esm/vs/base/common/htmlContent.js';
14
- import { localize } from 'monaco-editor/esm/vs/nls.js';
14
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
15
15
  import { isMacintosh } from 'monaco-editor/esm/vs/base/common/platform.js';
16
16
  import { IAccessibilityService } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
17
17
  import { status } from 'monaco-editor/esm/vs/base/browser/ui/aria/aria.js';
@@ -149,7 +149,7 @@ let HoverWidget = class HoverWidget extends Widget {
149
149
  if (hideOnHover && options.showHoverHint) {
150
150
  const statusBarElement = $('div.hover-row.status-bar');
151
151
  const infoElement = $('div.info');
152
- infoElement.textContent = ( localize('hoverhint', 'Hold {0} key to mouse over', isMacintosh ? 'Option' : 'Alt'));
152
+ infoElement.textContent = localizeWithPath('vs/workbench/services/hover/browser/hoverWidget', 'hoverhint', 'Hold {0} key to mouse over', isMacintosh ? 'Option' : 'Alt');
153
153
  statusBarElement.appendChild(infoElement);
154
154
  this._hover.containerDomNode.appendChild(statusBarElement);
155
155
  }
@@ -1,7 +1,7 @@
1
1
  import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
2
- import { localize } from 'monaco-editor/esm/vs/nls.js';
2
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
3
3
  import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
4
4
 
5
- const DEFAULT_ICON = registerIcon('settings-view-bar-icon', Codicon.settingsGear, ( localize('settingsViewBarIcon', "Settings icon in the view bar.")));
5
+ const DEFAULT_ICON = registerIcon('settings-view-bar-icon', Codicon.settingsGear, localizeWithPath('vs/workbench/services/userDataProfile/common/userDataProfileIcons', 'settingsViewBarIcon', "Settings icon in the view bar."));
6
6
 
7
7
  export { DEFAULT_ICON };
@@ -13,7 +13,7 @@ import { generateUuid } from 'monaco-editor/esm/vs/base/common/uuid.js';
13
13
  import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
14
14
  import { getViewsStateStorageId, ViewContainerModel } from '../common/viewContainerModel.js';
15
15
  import { registerAction2, MenuId, Action2 } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
16
- import { localize } from 'monaco-editor/esm/vs/nls.js';
16
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
17
17
 
18
18
  var ViewDescriptorService_1;
19
19
  function getViewContainerStorageId(viewContainerId) { return `${viewContainerId}.state`; }
@@ -570,7 +570,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
570
570
  super({
571
571
  id: `${viewDescriptor.id}.removeView`,
572
572
  viewPaneContainerId: viewContainerModel.viewContainer.id,
573
- title: ( localize('hideView', "Hide '{0}'", viewDescriptor.name)),
573
+ title: localizeWithPath('vs/workbench/services/views/browser/viewDescriptorService', 'hideView', "Hide '{0}'", viewDescriptor.name),
574
574
  precondition: viewDescriptor.canToggleVisibility && (!viewContainerModel.isVisible(viewDescriptor.id) || viewContainerModel.visibleViewDescriptors.length > 1) ? ContextKeyExpr.true() : ContextKeyExpr.false(),
575
575
  menu: [{
576
576
  id: MenuId.ViewTitleContext,
@@ -596,7 +596,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
596
596
  id: `${viewContainer.id}.resetViewContainerLocation`,
597
597
  title: {
598
598
  original: 'Reset Location',
599
- value: ( localize('resetViewLocation', "Reset Location"))
599
+ value: localizeWithPath('vs/workbench/services/views/browser/viewDescriptorService', 'resetViewLocation', "Reset Location")
600
600
  },
601
601
  menu: [{
602
602
  id: MenuId.ViewContainerTitleContext,
@@ -11,7 +11,7 @@ import { coalesce, move } from 'monaco-editor/esm/vs/base/common/arrays.js';
11
11
  import { isUndefinedOrNull, isUndefined } from 'monaco-editor/esm/vs/base/common/types.js';
12
12
  import { isEqual } from 'monaco-editor/esm/vs/base/common/resources.js';
13
13
  import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
14
- import { localize } from 'monaco-editor/esm/vs/nls.js';
14
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
15
15
  import { ILoggerService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
16
16
  import { registerAction2, Action2 } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
17
17
  import { Categories } from 'monaco-editor/esm/vs/platform/action/common/actionCommonCategories.js';
@@ -19,7 +19,7 @@ import { IOutputService } from 'vscode/vscode/vs/workbench/services/output/commo
19
19
  import { CounterSet } from 'monaco-editor/esm/vs/base/common/map.js';
20
20
 
21
21
  const VIEWS_LOG_ID = 'views';
22
- const VIEWS_LOG_NAME = ( localize('views log', "Views"));
22
+ const VIEWS_LOG_NAME = localizeWithPath('vs/workbench/services/views/common/viewContainerModel', 'views log', "Views");
23
23
  registerAction2(class extends Action2 {
24
24
  constructor() {
25
25
  super({