@codingame/monaco-vscode-remote-agent-service-override 13.1.7 → 14.0.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-remote-agent-service-override",
3
- "version": "13.1.7",
3
+ "version": "14.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - remote-agent service-override",
6
6
  "keywords": [],
@@ -15,17 +15,16 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-1b4486de-4fe4-59c4-9e6d-34f265ff6625-common": "13.1.7",
19
- "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "13.1.7",
20
- "@codingame/monaco-vscode-55ed5668-e8ca-5335-a587-790bcf1200c0-common": "13.1.7",
21
- "@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common": "13.1.7",
22
- "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.1.7",
23
- "@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common": "13.1.7",
24
- "@codingame/monaco-vscode-abed5a84-8a82-5f84-9412-88a736235bae-common": "13.1.7",
25
- "@codingame/monaco-vscode-api": "13.1.7",
26
- "@codingame/monaco-vscode-bd6ad8b7-9db3-51a8-9895-0046508c029d-common": "13.1.7",
27
- "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.7",
28
- "@codingame/monaco-vscode-environment-service-override": "13.1.7"
18
+ "@codingame/monaco-vscode-1b4486de-4fe4-59c4-9e6d-34f265ff6625-common": "14.0.0",
19
+ "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common": "14.0.0",
20
+ "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "14.0.0",
21
+ "@codingame/monaco-vscode-4ee1e7cc-aa3e-55cb-9689-c49cb8629493-common": "14.0.0",
22
+ "@codingame/monaco-vscode-55ed5668-e8ca-5335-a587-790bcf1200c0-common": "14.0.0",
23
+ "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "14.0.0",
24
+ "@codingame/monaco-vscode-abed5a84-8a82-5f84-9412-88a736235bae-common": "14.0.0",
25
+ "@codingame/monaco-vscode-api": "14.0.0",
26
+ "@codingame/monaco-vscode-bd6ad8b7-9db3-51a8-9895-0046508c029d-common": "14.0.0",
27
+ "@codingame/monaco-vscode-environment-service-override": "14.0.0"
29
28
  },
30
29
  "main": "index.js",
31
30
  "module": "index.js",
@@ -11,7 +11,7 @@ import { RawContextKey, ContextKeyExpr } from '@codingame/monaco-vscode-api/vsco
11
11
  import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
12
12
  import { MenuId, MenuRegistry, registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
13
13
  import { VIEWLET_ID } from '@codingame/monaco-vscode-1b4486de-4fe4-59c4-9e6d-34f265ff6625-common/vscode/vs/workbench/contrib/remote/browser/remoteExplorer';
14
- import { getVirtualWorkspaceLocation } from '@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common/vscode/vs/platform/workspace/common/virtualWorkspace';
14
+ import { getVirtualWorkspaceLocation } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspace/common/virtualWorkspace';
15
15
  import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
16
16
  import { Disposable, DisposableMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
17
17
 
@@ -29,7 +29,7 @@ let SwitchRemoteViewItem = class SwitchRemoteViewItem extends Disposable {
29
29
  this.switchRemoteMenu = MenuId.for('workbench.remote.menu.switchRemoteMenu');
30
30
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewContainerTitle, {
31
31
  submenu: this.switchRemoteMenu,
32
- title: ( localize(8244, "Switch Remote")),
32
+ title: ( localize(8404, "Switch Remote")),
33
33
  group: 'navigation',
34
34
  when: ( ContextKeyExpr.equals('viewContainer', VIEWLET_ID)),
35
35
  order: 1,
@@ -30,7 +30,7 @@ import { IRemoteAgentService } from '@codingame/monaco-vscode-api/vscode/vs/work
30
30
  import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
31
31
  import { PersistentConnectionEventType } from '@codingame/monaco-vscode-bd6ad8b7-9db3-51a8-9895-0046508c029d-common/vscode/vs/platform/remote/common/remoteAgentConnection';
32
32
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
33
- import { ReloadWindowAction } from '@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common/vscode/vs/workbench/browser/actions/windowActions';
33
+ import { ReloadWindowAction } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/workbench/browser/actions/windowActions';
34
34
  import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
35
35
  import { SwitchRemoteViewItem } from './explorerViewItems.js';
36
36
  import { isStringArray } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
@@ -45,7 +45,7 @@ import { getStartedIcon, documentationIcon, reviewIssuesIcon, reportIssuesIcon,
45
45
  import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
46
46
  import { ITimerService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/timer/browser/timerService.service';
47
47
  import { getRemoteName } from '@codingame/monaco-vscode-api/vscode/vs/platform/remote/common/remoteHosts';
48
- import { getVirtualWorkspaceLocation } from '@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common/vscode/vs/platform/workspace/common/virtualWorkspace';
48
+ import { getVirtualWorkspaceLocation } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspace/common/virtualWorkspace';
49
49
  import { IWalkthroughsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service';
50
50
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
51
51
  import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
@@ -118,27 +118,27 @@ class HelpModel {
118
118
  const getStarted = this.viewModel.helpInformation.filter(info => info.getStarted);
119
119
  if (getStarted.length) {
120
120
  const helpItemValues = ( getStarted.map((info) => this.createHelpItemValue(info, 'getStarted')));
121
- const getStartedHelpItem = this.items?.find(item => item.icon === getStartedIcon) ?? ( new GetStartedHelpItem(getStartedIcon, ( localize(8245, "Get Started")), helpItemValues, this.quickInputService, this.environmentService, this.openerService, this.remoteExplorerService, this.workspaceContextService, this.commandService));
121
+ const getStartedHelpItem = this.items?.find(item => item.icon === getStartedIcon) ?? ( new GetStartedHelpItem(getStartedIcon, ( localize(8405, "Get Started")), helpItemValues, this.quickInputService, this.environmentService, this.openerService, this.remoteExplorerService, this.workspaceContextService, this.commandService));
122
122
  getStartedHelpItem.values = helpItemValues;
123
123
  helpItems.push(getStartedHelpItem);
124
124
  }
125
125
  const documentation = this.viewModel.helpInformation.filter(info => info.documentation);
126
126
  if (documentation.length) {
127
127
  const helpItemValues = ( documentation.map((info) => this.createHelpItemValue(info, 'documentation')));
128
- const documentationHelpItem = this.items?.find(item => item.icon === documentationIcon) ?? ( new HelpItem(documentationIcon, ( localize(8246, "Read Documentation")), helpItemValues, this.quickInputService, this.environmentService, this.openerService, this.remoteExplorerService, this.workspaceContextService));
128
+ const documentationHelpItem = this.items?.find(item => item.icon === documentationIcon) ?? ( new HelpItem(documentationIcon, ( localize(8406, "Read Documentation")), helpItemValues, this.quickInputService, this.environmentService, this.openerService, this.remoteExplorerService, this.workspaceContextService));
129
129
  documentationHelpItem.values = helpItemValues;
130
130
  helpItems.push(documentationHelpItem);
131
131
  }
132
132
  const issues = this.viewModel.helpInformation.filter(info => info.issues);
133
133
  if (issues.length) {
134
134
  const helpItemValues = ( issues.map((info) => this.createHelpItemValue(info, 'issues')));
135
- const reviewIssuesHelpItem = this.items?.find(item => item.icon === reviewIssuesIcon) ?? ( new HelpItem(reviewIssuesIcon, ( localize(8247, "Review Issues")), helpItemValues, this.quickInputService, this.environmentService, this.openerService, this.remoteExplorerService, this.workspaceContextService));
135
+ const reviewIssuesHelpItem = this.items?.find(item => item.icon === reviewIssuesIcon) ?? ( new HelpItem(reviewIssuesIcon, ( localize(8407, "Review Issues")), helpItemValues, this.quickInputService, this.environmentService, this.openerService, this.remoteExplorerService, this.workspaceContextService));
136
136
  reviewIssuesHelpItem.values = helpItemValues;
137
137
  helpItems.push(reviewIssuesHelpItem);
138
138
  }
139
139
  if (helpItems.length) {
140
140
  const helpItemValues = ( this.viewModel.helpInformation.map(info => this.createHelpItemValue(info, 'reportIssue')));
141
- const issueReporterItem = this.items?.find(item => item.icon === reportIssuesIcon) ?? ( new IssueReporterItem(reportIssuesIcon, ( localize(8248, "Report Issue")), helpItemValues, this.quickInputService, this.environmentService, this.commandService, this.openerService, this.remoteExplorerService, this.workspaceContextService));
141
+ const issueReporterItem = this.items?.find(item => item.icon === reportIssuesIcon) ?? ( new IssueReporterItem(reportIssuesIcon, ( localize(8408, "Report Issue")), helpItemValues, this.quickInputService, this.environmentService, this.commandService, this.openerService, this.remoteExplorerService, this.workspaceContextService));
142
142
  issueReporterItem.values = helpItemValues;
143
143
  helpItems.push(issueReporterItem);
144
144
  }
@@ -255,7 +255,7 @@ class HelpItemBase {
255
255
  if (this.values.length > 1) {
256
256
  const actions = await this.getActions();
257
257
  if (actions.length) {
258
- const action = await this.quickInputService.pick(actions, { placeHolder: ( localize(8249, "Select url to open")) });
258
+ const action = await this.quickInputService.pick(actions, { placeHolder: ( localize(8409, "Select url to open")) });
259
259
  if (action) {
260
260
  await this.takeAction(action.extensionDescription, action.url);
261
261
  }
@@ -316,7 +316,7 @@ class IssueReporterItem extends HelpItemBase {
316
316
  }
317
317
  let HelpPanel = class HelpPanel extends ViewPane {
318
318
  static { this.ID = '~remote.helpPanel'; }
319
- static { this.TITLE = ( localize2(8250, "Help and feedback")); }
319
+ static { this.TITLE = ( localize2(8410, "Help and feedback")); }
320
320
  constructor(viewModel, options, keybindingService, contextMenuService, contextKeyService, configurationService, instantiationService, viewDescriptorService, openerService, quickInputService, commandService, remoteExplorerService, environmentService, themeService, telemetryService, hoverService, workspaceContextService, walkthroughsService) {
321
321
  super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
322
322
  this.viewModel = viewModel;
@@ -338,7 +338,7 @@ let HelpPanel = class HelpPanel extends ViewPane {
338
338
  getAriaLabel: (item) => {
339
339
  return item.label;
340
340
  },
341
- getWidgetAriaLabel: () => ( localize(8251, "Remote Help"))
341
+ getWidgetAriaLabel: () => ( localize(8411, "Remote Help"))
342
342
  }
343
343
  });
344
344
  const model = ( new HelpModel(
@@ -391,8 +391,8 @@ class HelpPanelDescriptor {
391
391
  }
392
392
  }
393
393
  let RemoteViewPaneContainer = class RemoteViewPaneContainer extends FilterViewPaneContainer {
394
- constructor(layoutService, telemetryService, contextService, storageService, configurationService, instantiationService, themeService, contextMenuService, extensionService, remoteExplorerService, viewDescriptorService) {
395
- super(VIEWLET_ID, remoteExplorerService.onDidChangeTargetType, configurationService, layoutService, telemetryService, storageService, instantiationService, themeService, contextMenuService, extensionService, contextService, viewDescriptorService);
394
+ constructor(layoutService, telemetryService, contextService, storageService, configurationService, instantiationService, themeService, contextMenuService, extensionService, remoteExplorerService, viewDescriptorService, logService) {
395
+ super(VIEWLET_ID, remoteExplorerService.onDidChangeTargetType, configurationService, layoutService, telemetryService, storageService, instantiationService, themeService, contextMenuService, extensionService, contextService, viewDescriptorService, logService);
396
396
  this.remoteExplorerService = remoteExplorerService;
397
397
  this.helpPanelDescriptor = ( new HelpPanelDescriptor(this));
398
398
  this.helpInformation = [];
@@ -468,7 +468,7 @@ let RemoteViewPaneContainer = class RemoteViewPaneContainer extends FilterViewPa
468
468
  this.remoteExplorerService.targetType = isStringArray(viewDescriptor.remoteAuthority) ? viewDescriptor.remoteAuthority : [viewDescriptor.remoteAuthority];
469
469
  }
470
470
  getTitle() {
471
- const title = ( localize(8252, "Remote Explorer"));
471
+ const title = ( localize(8412, "Remote Explorer"));
472
472
  return title;
473
473
  }
474
474
  };
@@ -483,11 +483,12 @@ RemoteViewPaneContainer = ( __decorate([
483
483
  ( __param(7, IContextMenuService)),
484
484
  ( __param(8, IExtensionService)),
485
485
  ( __param(9, IRemoteExplorerService)),
486
- ( __param(10, IViewDescriptorService))
486
+ ( __param(10, IViewDescriptorService)),
487
+ ( __param(11, ILogService))
487
488
  ], RemoteViewPaneContainer));
488
489
  ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
489
490
  id: VIEWLET_ID,
490
- title: ( localize2(8252, "Remote Explorer")),
491
+ title: ( localize2(8412, "Remote Explorer")),
491
492
  ctorDescriptor: ( new SyncDescriptor(RemoteViewPaneContainer)),
492
493
  hideIfEmpty: true,
493
494
  viewOrderDelegate: {
@@ -593,10 +594,10 @@ class ReconnectionTimer {
593
594
  }
594
595
  const remainingTime = Math.ceil(remainingTimeMs / 1000);
595
596
  if (remainingTime === 1) {
596
- this._parent.report(( localize(8253, "Attempting to reconnect in {0} second...", remainingTime)));
597
+ this._parent.report(( localize(8413, "Attempting to reconnect in {0} second...", remainingTime)));
597
598
  }
598
599
  else {
599
- this._parent.report(( localize(8254, "Attempting to reconnect in {0} seconds...", remainingTime)));
600
+ this._parent.report(( localize(8414, "Attempting to reconnect in {0} seconds...", remainingTime)));
600
601
  }
601
602
  }
602
603
  }
@@ -645,13 +646,13 @@ let RemoteAgentConnectionStatusListener = class RemoteAgentConnectionStatusListe
645
646
  let lastIncomingDataTime = 0;
646
647
  let reconnectionAttempts = 0;
647
648
  const reconnectButton = {
648
- label: ( localize(8255, "Reconnect Now")),
649
+ label: ( localize(8415, "Reconnect Now")),
649
650
  callback: () => {
650
651
  reconnectWaitEvent?.skipWait();
651
652
  }
652
653
  };
653
654
  const reloadButton = {
654
- label: ( localize(8256, "Reload Window")),
655
+ label: ( localize(8416, "Reload Window")),
655
656
  callback: () => {
656
657
  telemetryService.publicLog2('remoteReconnectionReload', {
657
658
  remoteName: getRemoteName(environmentService.remoteAuthority),
@@ -681,7 +682,7 @@ let RemoteAgentConnectionStatusListener = class RemoteAgentConnectionStatusListe
681
682
  if (!visibleProgress) {
682
683
  visibleProgress = showProgress(null, [reconnectButton, reloadButton]);
683
684
  }
684
- visibleProgress.report(( localize(8257, "Connection Lost")));
685
+ visibleProgress.report(( localize(8417, "Connection Lost")));
685
686
  }
686
687
  break;
687
688
  case PersistentConnectionEventType.ReconnectionWait:
@@ -703,7 +704,7 @@ let RemoteAgentConnectionStatusListener = class RemoteAgentConnectionStatusListe
703
704
  });
704
705
  if (visibleProgress || e.millisSinceLastIncomingData > DISCONNECT_PROMPT_TIME) {
705
706
  visibleProgress = showProgress(null, [reloadButton]);
706
- visibleProgress.report(( localize(8258, "Disconnected. Attempting to reconnect...")));
707
+ visibleProgress.report(( localize(8418, "Disconnected. Attempting to reconnect...")));
707
708
  disposableListener = quickInputService.onShow(() => {
708
709
  if (visibleProgress && visibleProgress.location === ProgressLocation.Dialog) {
709
710
  visibleProgress = showProgress(ProgressLocation.Notification, [reloadButton], visibleProgress.lastReport);
@@ -731,8 +732,8 @@ let RemoteAgentConnectionStatusListener = class RemoteAgentConnectionStatusListe
731
732
  this._reloadWindowShown = true;
732
733
  dialogService.confirm({
733
734
  type: Severity.Error,
734
- message: ( localize(8259, "Cannot reconnect. Please reload the window.")),
735
- primaryButton: ( localize(8260, "&&Reload Window"))
735
+ message: ( localize(8419, "Cannot reconnect. Please reload the window.")),
736
+ primaryButton: ( localize(8420, "&&Reload Window"))
736
737
  }).then(result => {
737
738
  if (result.confirmed) {
738
739
  commandService.executeCommand(ReloadWindowAction.ID);
@@ -44,17 +44,17 @@ let InitialRemoteConnectionHealthContribution = class InitialRemoteConnectionHea
44
44
  const { result, checkboxChecked } = await this.dialogService.prompt({
45
45
  type: Severity.Warning,
46
46
  message: ( localize(
47
- 8261,
47
+ 8421,
48
48
  "You are about to connect to an OS version that is unsupported by {0}.",
49
49
  this.productService.nameLong
50
50
  )),
51
51
  buttons: [
52
52
  {
53
- label: ( localize(8262, "&&Allow")),
53
+ label: ( localize(8422, "&&Allow")),
54
54
  run: () => ConnectionChoice.Allow
55
55
  },
56
56
  {
57
- label: ( localize(8263, "&&Learn More")),
57
+ label: ( localize(8423, "&&Learn More")),
58
58
  run: async () => { await this.openerService.open('https://aka.ms/vscode-remote/faq/old-linux'); return ConnectionChoice.LearnMore; }
59
59
  }
60
60
  ],
@@ -62,7 +62,7 @@ let InitialRemoteConnectionHealthContribution = class InitialRemoteConnectionHea
62
62
  run: () => ConnectionChoice.Cancel
63
63
  },
64
64
  checkbox: {
65
- label: ( localize(8264, "Do not show again")),
65
+ label: ( localize(8424, "Do not show again")),
66
66
  }
67
67
  });
68
68
  if (result === ConnectionChoice.LearnMore) {
@@ -88,14 +88,14 @@ let InitialRemoteConnectionHealthContribution = class InitialRemoteConnectionHea
88
88
  if (shouldShowBanner) {
89
89
  const actions = [
90
90
  {
91
- label: ( localize(8265, "Learn More")),
91
+ label: ( localize(8425, "Learn More")),
92
92
  href: 'https://aka.ms/vscode-remote/faq/old-linux'
93
93
  }
94
94
  ];
95
95
  this.bannerService.show({
96
96
  id: 'unsupportedGlibcWarning.banner',
97
97
  message: ( localize(
98
- 8266,
98
+ 8426,
99
99
  "You are connected to an OS version that is unsupported by {0}.",
100
100
  this.productService.nameLong
101
101
  )),
@@ -25,13 +25,13 @@ import { isWeb, PlatformToString, platform } from '@codingame/monaco-vscode-api/
25
25
  import { truncate } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
26
26
  import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
27
27
  import { getRemoteName } from '@codingame/monaco-vscode-api/vscode/vs/platform/remote/common/remoteHosts';
28
- import { getVirtualWorkspaceLocation } from '@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common/vscode/vs/platform/workspace/common/virtualWorkspace';
28
+ import { getVirtualWorkspaceLocation } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspace/common/virtualWorkspace';
29
29
  import { getCodiconAriaLabel } from '@codingame/monaco-vscode-api/vscode/vs/base/common/iconLabels';
30
30
  import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
31
- import { ReloadWindowAction } from '@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common/vscode/vs/workbench/browser/actions/windowActions';
31
+ import { ReloadWindowAction } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/workbench/browser/actions/windowActions';
32
32
  import { EXTENSION_INSTALL_SKIP_WALKTHROUGH_CONTEXT } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagement';
33
33
  import { IExtensionGalleryService, IExtensionManagementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagement.service';
34
- import { LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID } from '@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/extensions/common/extensions';
34
+ import { LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/common/extensions';
35
35
  import { IExtensionsWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/common/extensions.service';
36
36
  import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
37
37
  import { RemoteNameContext, VirtualWorkspaceContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
@@ -43,7 +43,7 @@ import { DomEmitter } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/
43
43
  import { ExtensionIdentifier } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensions/common/extensions';
44
44
  import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
45
45
  import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
46
- import { infoIcon } from '@codingame/monaco-vscode-972e8507-3a64-566d-8bc0-b78993998562-common/vscode/vs/workbench/contrib/extensions/browser/extensionsIcons';
46
+ import { infoIcon } from '@codingame/monaco-vscode-4ee1e7cc-aa3e-55cb-9689-c49cb8629493-common/vscode/vs/workbench/contrib/extensions/browser/extensionsIcons';
47
47
  import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
48
48
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
49
49
  import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
@@ -132,14 +132,14 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
132
132
  this.updateRemoteStatusIndicator();
133
133
  }
134
134
  registerActions() {
135
- const category = ( localize2(8300, "Remote"));
135
+ const category = ( localize2(8460, "Remote"));
136
136
  const that = this;
137
137
  this._register(registerAction2(class extends Action2 {
138
138
  constructor() {
139
139
  super({
140
140
  id: RemoteStatusIndicator_1.REMOTE_ACTIONS_COMMAND_ID,
141
141
  category,
142
- title: ( localize2(8301, "Show Remote Menu")),
142
+ title: ( localize2(8461, "Show Remote Menu")),
143
143
  f1: true,
144
144
  keybinding: {
145
145
  weight: KeybindingWeight.WorkbenchContrib,
@@ -155,7 +155,7 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
155
155
  super({
156
156
  id: RemoteStatusIndicator_1.CLOSE_REMOTE_COMMAND_ID,
157
157
  category,
158
- title: ( localize2(8302, "Close Remote Connection")),
158
+ title: ( localize2(8462, "Close Remote Connection")),
159
159
  f1: true,
160
160
  precondition: ( ContextKeyExpr.or(RemoteNameContext, VirtualWorkspaceContext))
161
161
  });
@@ -167,7 +167,7 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
167
167
  group: '6_close',
168
168
  command: {
169
169
  id: RemoteStatusIndicator_1.CLOSE_REMOTE_COMMAND_ID,
170
- title: ( localize(8303, "Close Re&&mote Connection"))
170
+ title: ( localize(8463, "Close Re&&mote Connection"))
171
171
  },
172
172
  order: 3.5
173
173
  });
@@ -179,7 +179,7 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
179
179
  super({
180
180
  id: RemoteStatusIndicator_1.INSTALL_REMOTE_EXTENSIONS_ID,
181
181
  category,
182
- title: ( localize2(8304, "Install Remote Development Extensions")),
182
+ title: ( localize2(8464, "Install Remote Development Extensions")),
183
183
  f1: true
184
184
  });
185
185
  this.run = (accessor, input) => {
@@ -387,18 +387,18 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
387
387
  const hostLabel = this.labelService.getHostLabel(Schemas.vscodeRemote, this.remoteAuthority) || this.remoteAuthority;
388
388
  switch (this.connectionState) {
389
389
  case 'initializing':
390
- this.renderRemoteStatusIndicator(( localize(8305, "Opening Remote...")), ( localize(8305, "Opening Remote...")), undefined, true );
390
+ this.renderRemoteStatusIndicator(( localize(8465, "Opening Remote...")), ( localize(8465, "Opening Remote...")), undefined, true );
391
391
  break;
392
392
  case 'reconnecting':
393
393
  this.renderRemoteStatusIndicator(`${( localize(
394
- 8306,
394
+ 8466,
395
395
  "Reconnecting to {0}...",
396
396
  truncate(hostLabel, RemoteStatusIndicator_1.REMOTE_STATUS_LABEL_MAX_LENGTH)
397
397
  ))}`, undefined, undefined, true );
398
398
  break;
399
399
  case 'disconnected':
400
400
  this.renderRemoteStatusIndicator(`$(alert) ${( localize(
401
- 8307,
401
+ 8467,
402
402
  "Disconnected from {0}",
403
403
  truncate(hostLabel, RemoteStatusIndicator_1.REMOTE_STATUS_LABEL_MAX_LENGTH)
404
404
  ))}`);
@@ -410,7 +410,7 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
410
410
  tooltip.appendMarkdown(hostNameTooltip);
411
411
  }
412
412
  else {
413
- tooltip.appendText(( localize(8308, "Editing on {0}", hostLabel)));
413
+ tooltip.appendText(( localize(8468, "Editing on {0}", hostLabel)));
414
414
  }
415
415
  this.renderRemoteStatusIndicator(`$(remote) ${truncate(hostLabel, RemoteStatusIndicator_1.REMOTE_STATUS_LABEL_MAX_LENGTH)}`, tooltip);
416
416
  }
@@ -426,12 +426,12 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
426
426
  tooltip.appendMarkdown(hostNameTooltip);
427
427
  }
428
428
  else {
429
- tooltip.appendText(( localize(8309, "Editing on {0}", workspaceLabel)));
429
+ tooltip.appendText(( localize(8469, "Editing on {0}", workspaceLabel)));
430
430
  }
431
431
  if (!isWeb || this.remoteAuthority) {
432
432
  tooltip.appendMarkdown('\n\n');
433
433
  tooltip.appendMarkdown(( localize(
434
- 8310,
434
+ 8470,
435
435
  "Some [features are not available]({0}) for resources located on a virtual file system.",
436
436
  `command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`
437
437
  )));
@@ -440,13 +440,13 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
440
440
  return;
441
441
  }
442
442
  }
443
- this.renderRemoteStatusIndicator(`$(remote)`, ( localize(8311, "Open a Remote Window")));
443
+ this.renderRemoteStatusIndicator(`$(remote)`, ( localize(8471, "Open a Remote Window")));
444
444
  return;
445
445
  }
446
446
  renderRemoteStatusIndicator(initialText, initialTooltip, command, showProgress) {
447
447
  const { text, tooltip, ariaLabel } = this.withNetworkStatus(initialText, initialTooltip, showProgress);
448
448
  const properties = {
449
- name: ( localize(8312, "Remote Host")),
449
+ name: ( localize(8472, "Remote Host")),
450
450
  kind: this.networkState === 'offline' ? 'offline' : 'remote',
451
451
  ariaLabel,
452
452
  text,
@@ -474,7 +474,7 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
474
474
  switch (this.networkState) {
475
475
  case 'offline': {
476
476
  const offlineMessage = ( localize(
477
- 8313,
477
+ 8473,
478
478
  "Network appears to be offline, certain features might be unavailable."
479
479
  ));
480
480
  text = textWithAlert();
@@ -485,7 +485,7 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
485
485
  case 'high-latency':
486
486
  text = textWithAlert();
487
487
  tooltip = this.appendTooltipLine(tooltip, ( localize(
488
- 8314,
488
+ 8474,
489
489
  "Network appears to have high latency ({0}ms last, {1}ms average), certain features may be slow to respond.",
490
490
  remoteConnectionLatencyMeasurer.latency?.current?.toFixed(2),
491
491
  remoteConnectionLatencyMeasurer.latency?.average?.toFixed(2)
@@ -597,13 +597,13 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
597
597
  const label = metadata.startConnectLabel;
598
598
  const buttons = [{
599
599
  iconClass: ThemeIcon.asClassName(infoIcon),
600
- tooltip: ( localize(8315, "Learn More"))
600
+ tooltip: ( localize(8475, "Learn More"))
601
601
  }];
602
602
  notInstalledItems.push({ type: 'item', id: metadata.id, label: label, buttons: buttons });
603
603
  }
604
604
  }
605
605
  items.push({
606
- type: 'separator', label: ( localize(8316, 'Install'))
606
+ type: 'separator', label: ( localize(8476, 'Install'))
607
607
  });
608
608
  items.push(...notInstalledItems);
609
609
  }
@@ -616,13 +616,13 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
616
616
  items.push({
617
617
  type: 'item',
618
618
  id: RemoteStatusIndicator_1.CLOSE_REMOTE_COMMAND_ID,
619
- label: ( localize(8317, 'Close Remote Connection'))
619
+ label: ( localize(8477, 'Close Remote Connection'))
620
620
  });
621
621
  if (this.connectionState === 'disconnected') {
622
622
  items.push({
623
623
  type: 'item',
624
624
  id: ReloadWindowAction.ID,
625
- label: ( localize(8318, 'Reload Window'))
625
+ label: ( localize(8478, 'Reload Window'))
626
626
  });
627
627
  }
628
628
  }
@@ -630,7 +630,7 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
630
630
  items.push({
631
631
  type: 'item',
632
632
  id: RemoteStatusIndicator_1.CLOSE_REMOTE_COMMAND_ID,
633
- label: ( localize(8319, 'Close Remote Workspace'))
633
+ label: ( localize(8479, 'Close Remote Workspace'))
634
634
  });
635
635
  }
636
636
  }
@@ -641,7 +641,7 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
641
641
  };
642
642
  const disposables = ( new DisposableStore());
643
643
  const quickPick = disposables.add(this.quickInputService.createQuickPick({ useSeparators: true }));
644
- quickPick.placeholder = ( localize(8320, "Select an option to open a Remote Window"));
644
+ quickPick.placeholder = ( localize(8480, "Select an option to open a Remote Window"));
645
645
  quickPick.items = computeItems();
646
646
  quickPick.sortByLabel = false;
647
647
  quickPick.canSelectMany = false;
@@ -653,7 +653,7 @@ let RemoteStatusIndicator = class RemoteStatusIndicator extends Disposable {
653
653
  if (remoteExtension) {
654
654
  quickPick.items = [];
655
655
  quickPick.busy = true;
656
- quickPick.placeholder = ( localize(8321, 'Installing extension... '));
656
+ quickPick.placeholder = ( localize(8481, 'Installing extension... '));
657
657
  await this.installExtension(remoteExtension.id);
658
658
  quickPick.hide();
659
659
  await this.runRemoteStartCommand(remoteExtension.id, remoteExtension.startCommand);
@@ -715,7 +715,7 @@ RemoteStatusIndicator = RemoteStatusIndicator_1 = ( __decorate([
715
715
  'workbench.remoteIndicator.showExtensionRecommendations': {
716
716
  type: 'boolean',
717
717
  markdownDescription: ( localize(
718
- 8322,
718
+ 8482,
719
719
  "When enabled, remote extensions recommendations will be shown in the Remote Indicator menu."
720
720
  )),
721
721
  default: true
@@ -33,14 +33,14 @@ let RemoteStartEntry = class RemoteStartEntry extends Disposable {
33
33
  this.registerListeners();
34
34
  }
35
35
  registerActions() {
36
- const category = ( localize2(8323, "Remote"));
36
+ const category = ( localize2(8483, "Remote"));
37
37
  const startEntry = this;
38
38
  this._register(registerAction2(class extends Action2 {
39
39
  constructor() {
40
40
  super({
41
41
  id: RemoteStartEntry_1.REMOTE_WEB_START_ENTRY_ACTIONS_COMMAND_ID,
42
42
  category,
43
- title: ( localize2(8324, "Show Remote Start Entry for web")),
43
+ title: ( localize2(8484, "Show Remote Start Entry for web")),
44
44
  f1: false
45
45
  });
46
46
  }
@@ -26,12 +26,12 @@ let TunnelFactoryContribution = class TunnelFactoryContribution extends Disposab
26
26
  privacyOptions = [
27
27
  {
28
28
  id: 'private',
29
- label: ( localize(8325, "Private")),
29
+ label: ( localize(8485, "Private")),
30
30
  themeIcon: 'lock'
31
31
  },
32
32
  {
33
33
  id: 'public',
34
- label: ( localize(8326, "Public")),
34
+ label: ( localize(8486, "Public")),
35
35
  themeIcon: 'eye'
36
36
  }
37
37
  ];
@@ -100,9 +100,9 @@ let RemoteInvalidWorkspaceDetector = class RemoteInvalidWorkspaceDetector extend
100
100
  }
101
101
  const res = await this.dialogService.confirm({
102
102
  type: 'warning',
103
- message: ( localize(8386, "Workspace does not exist")),
104
- detail: ( localize(8387, "Please select another workspace to open.")),
105
- primaryButton: ( localize(8388, "&&Open Workspace..."))
103
+ message: ( localize(8546, "Workspace does not exist")),
104
+ detail: ( localize(8547, "Please select another workspace to open.")),
105
+ primaryButton: ( localize(8548, "&&Open Workspace..."))
106
106
  });
107
107
  if (res.confirmed) {
108
108
  if (workspace.configuration) {
@@ -129,7 +129,7 @@ registerWorkbenchContribution2(RemoteInvalidWorkspaceDetector.ID, RemoteInvalidW
129
129
  constructor() {
130
130
  super({
131
131
  id: 'workbench.action.triggerReconnect',
132
- title: ( localize2(8389, 'Connection: Trigger Reconnect')),
132
+ title: ( localize2(8549, 'Connection: Trigger Reconnect')),
133
133
  category: Categories.Developer,
134
134
  f1: true,
135
135
  });
@@ -142,7 +142,7 @@ registerWorkbenchContribution2(RemoteInvalidWorkspaceDetector.ID, RemoteInvalidW
142
142
  constructor() {
143
143
  super({
144
144
  id: 'workbench.action.pauseSocketWriting',
145
- title: ( localize2(8390, 'Connection: Pause socket writing')),
145
+ title: ( localize2(8550, 'Connection: Pause socket writing')),
146
146
  category: Categories.Developer,
147
147
  f1: true,
148
148
  });
@@ -162,11 +162,11 @@ const extensionKindSchema = {
162
162
  ],
163
163
  enumDescriptions: [
164
164
  ( localize(
165
- 8391,
165
+ 8551,
166
166
  "UI extension kind. In a remote window, such extensions are enabled only when available on the local machine."
167
167
  )),
168
168
  ( localize(
169
- 8392,
169
+ 8552,
170
170
  "Workspace extension kind. In a remote window, such extensions are enabled only when available on the remote."
171
171
  ))
172
172
  ],
@@ -174,13 +174,13 @@ const extensionKindSchema = {
174
174
  ( Registry.as(Extensions$1.Configuration))
175
175
  .registerConfiguration({
176
176
  id: 'remote',
177
- title: ( localize(8393, "Remote")),
177
+ title: ( localize(8553, "Remote")),
178
178
  type: 'object',
179
179
  properties: {
180
180
  'remote.extensionKind': {
181
181
  type: 'object',
182
182
  markdownDescription: ( localize(
183
- 8394,
183
+ 8554,
184
184
  "Override the kind of an extension. `ui` extensions are installed and run on the local machine while `workspace` extensions are run on the remote. By overriding an extension's default kind using this setting, you specify if that extension should be installed and enabled locally or remotely."
185
185
  )),
186
186
  patternProperties: {
@@ -195,13 +195,13 @@ const extensionKindSchema = {
195
195
  },
196
196
  'remote.restoreForwardedPorts': {
197
197
  type: 'boolean',
198
- markdownDescription: ( localize(8395, "Restores the ports you forwarded in a workspace.")),
198
+ markdownDescription: ( localize(8555, "Restores the ports you forwarded in a workspace.")),
199
199
  default: true
200
200
  },
201
201
  'remote.autoForwardPorts': {
202
202
  type: 'boolean',
203
203
  markdownDescription: ( localize(
204
- 8396,
204
+ 8556,
205
205
  "When enabled, new running processes are detected and ports that they listen on are automatically forwarded. Disabling this setting will not prevent all ports from being forwarded. Even when disabled, extensions will still be able to cause ports to be forwarded, and opening some URLs will still cause ports to forwarded. Also see {0}.",
206
206
  '`#remote.autoForwardPortsSource#`'
207
207
  )),
@@ -210,7 +210,7 @@ const extensionKindSchema = {
210
210
  'remote.autoForwardPortsSource': {
211
211
  type: 'string',
212
212
  markdownDescription: ( localize(
213
- 8397,
213
+ 8557,
214
214
  "Sets the source from which ports are automatically forwarded when {0} is true. When {0} is false, {1} will be used to find information about ports that have already been forwarded. On Windows and macOS remotes, the `process` and `hybrid` options have no effect and `output` will be used.",
215
215
  '`#remote.autoForwardPorts#`',
216
216
  '`#remote.autoForwardPortsSource#`'
@@ -218,15 +218,15 @@ const extensionKindSchema = {
218
218
  enum: ['process', 'output', 'hybrid'],
219
219
  enumDescriptions: [
220
220
  ( localize(
221
- 8398,
221
+ 8558,
222
222
  "Ports will be automatically forwarded when discovered by watching for processes that are started and include a port."
223
223
  )),
224
224
  ( localize(
225
- 8399,
225
+ 8559,
226
226
  "Ports will be automatically forwarded when discovered by reading terminal and debug output. Not all processes that use ports will print to the integrated terminal or debug console, so some ports will be missed. Ports forwarded based on output will not be \"un-forwarded\" until reload or until the port is closed by the user in the Ports view."
227
227
  )),
228
228
  ( localize(
229
- 8400,
229
+ 8560,
230
230
  "Ports will be automatically forwarded when discovered by reading terminal and debug output. Not all processes that use ports will print to the integrated terminal or debug console, so some ports will be missed. Ports will be \"un-forwarded\" by watching for processes that listen on that port to be terminated."
231
231
  ))
232
232
  ],
@@ -236,14 +236,14 @@ const extensionKindSchema = {
236
236
  type: 'number',
237
237
  default: 20,
238
238
  markdownDescription: ( localize(
239
- 8401,
239
+ 8561,
240
240
  "The number of auto forwarded ports that will trigger the switch from `process` to `hybrid` when automatically forwarding ports and `remote.autoForwardPortsSource` is set to `process` by default. Set to `0` to disable the fallback. When `remote.autoForwardPortsFallback` hasn't been configured, but `remote.autoForwardPortsSource` has, `remote.autoForwardPortsFallback` will be treated as though it's set to `0`."
241
241
  ))
242
242
  },
243
243
  'remote.forwardOnOpen': {
244
244
  type: 'boolean',
245
245
  description: ( localize(
246
- 8402,
246
+ 8562,
247
247
  "Controls whether local URLs with a port will be forwarded when opened from the terminal and the debug console."
248
248
  )),
249
249
  default: true
@@ -254,7 +254,7 @@ const extensionKindSchema = {
254
254
  '(^\\d+(-\\d+)?$)|(.+)': {
255
255
  type: 'object',
256
256
  description: ( localize(
257
- 8403,
257
+ 8563,
258
258
  "A port, range of ports (ex. \"40000-55000\"), host and port (ex. \"db:1234\"), or regular expression (ex. \".+\\\\/server.js\"). For a port number or range, the attributes will apply to that port number or range of port numbers. Attributes which use a regular expression will apply to ports whose associated process command line matches the expression."
259
259
  )),
260
260
  properties: {
@@ -262,27 +262,27 @@ const extensionKindSchema = {
262
262
  type: 'string',
263
263
  enum: ['notify', 'openBrowser', 'openBrowserOnce', 'openPreview', 'silent', 'ignore'],
264
264
  enumDescriptions: [
265
- ( localize(8404, "Shows a notification when a port is automatically forwarded.")),
265
+ ( localize(8564, "Shows a notification when a port is automatically forwarded.")),
266
266
  ( localize(
267
- 8405,
267
+ 8565,
268
268
  "Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser."
269
269
  )),
270
270
  ( localize(
271
- 8406,
271
+ 8566,
272
272
  "Opens the browser when the port is automatically forwarded, but only the first time the port is forward during a session. Depending on your settings, this could open an embedded browser."
273
273
  )),
274
274
  ( localize(
275
- 8407,
275
+ 8567,
276
276
  "Opens a preview in the same window when the port is automatically forwarded."
277
277
  )),
278
278
  ( localize(
279
- 8408,
279
+ 8568,
280
280
  "Shows no notification and takes no action when this port is automatically forwarded."
281
281
  )),
282
- ( localize(8409, "This port will not be automatically forwarded."))
282
+ ( localize(8569, "This port will not be automatically forwarded."))
283
283
  ],
284
284
  description: ( localize(
285
- 8410,
285
+ 8570,
286
286
  "Defines the action that occurs when the port is discovered for automatic forwarding"
287
287
  )),
288
288
  default: 'notify'
@@ -290,20 +290,20 @@ const extensionKindSchema = {
290
290
  'elevateIfNeeded': {
291
291
  type: 'boolean',
292
292
  description: ( localize(
293
- 8411,
293
+ 8571,
294
294
  "Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port."
295
295
  )),
296
296
  default: false
297
297
  },
298
298
  'label': {
299
299
  type: 'string',
300
- description: ( localize(8412, "Label that will be shown in the UI for this port.")),
301
- default: ( localize(8413, "Application"))
300
+ description: ( localize(8572, "Label that will be shown in the UI for this port.")),
301
+ default: ( localize(8573, "Application"))
302
302
  },
303
303
  'requireLocalPort': {
304
304
  type: 'boolean',
305
305
  markdownDescription: ( localize(
306
- 8414,
306
+ 8574,
307
307
  "When true, a modal dialog will show if the chosen local port isn't used for forwarding."
308
308
  )),
309
309
  default: false
@@ -311,22 +311,22 @@ const extensionKindSchema = {
311
311
  'protocol': {
312
312
  type: 'string',
313
313
  enum: ['http', 'https'],
314
- description: ( localize(8415, "The protocol to use when forwarding this port."))
314
+ description: ( localize(8575, "The protocol to use when forwarding this port."))
315
315
  }
316
316
  },
317
317
  default: {
318
- 'label': ( localize(8413, "Application")),
318
+ 'label': ( localize(8573, "Application")),
319
319
  'onAutoForward': 'notify'
320
320
  }
321
321
  }
322
322
  },
323
323
  markdownDescription: ( localize(
324
- 8416,
324
+ 8576,
325
325
  "Set properties that are applied when a specific port number is forwarded. For example:\n\n```\n\"3000\": {\n \"label\": \"Application\"\n},\n\"40000-55000\": {\n \"onAutoForward\": \"ignore\"\n},\n\".+\\\\/server.js\": {\n \"onAutoForward\": \"openPreview\"\n}\n```"
326
326
  )),
327
327
  defaultSnippets: [{ body: { '${1:3000}': { label: '${2:Application}', onAutoForward: 'openPreview' } } }],
328
328
  errorMessage: ( localize(
329
- 8417,
329
+ 8577,
330
330
  "Must be a port number, range of port numbers, or regular expression."
331
331
  )),
332
332
  additionalProperties: false,
@@ -346,23 +346,23 @@ const extensionKindSchema = {
346
346
  type: 'string',
347
347
  enum: ['notify', 'openBrowser', 'openPreview', 'silent', 'ignore'],
348
348
  enumDescriptions: [
349
- ( localize(8404, "Shows a notification when a port is automatically forwarded.")),
349
+ ( localize(8564, "Shows a notification when a port is automatically forwarded.")),
350
350
  ( localize(
351
- 8405,
351
+ 8565,
352
352
  "Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser."
353
353
  )),
354
354
  ( localize(
355
- 8407,
355
+ 8567,
356
356
  "Opens a preview in the same window when the port is automatically forwarded."
357
357
  )),
358
358
  ( localize(
359
- 8408,
359
+ 8568,
360
360
  "Shows no notification and takes no action when this port is automatically forwarded."
361
361
  )),
362
- ( localize(8409, "This port will not be automatically forwarded."))
362
+ ( localize(8569, "This port will not be automatically forwarded."))
363
363
  ],
364
364
  description: ( localize(
365
- 8410,
365
+ 8570,
366
366
  "Defines the action that occurs when the port is discovered for automatic forwarding"
367
367
  )),
368
368
  default: 'notify'
@@ -370,20 +370,20 @@ const extensionKindSchema = {
370
370
  'elevateIfNeeded': {
371
371
  type: 'boolean',
372
372
  description: ( localize(
373
- 8411,
373
+ 8571,
374
374
  "Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port."
375
375
  )),
376
376
  default: false
377
377
  },
378
378
  'label': {
379
379
  type: 'string',
380
- description: ( localize(8412, "Label that will be shown in the UI for this port.")),
381
- default: ( localize(8413, "Application"))
380
+ description: ( localize(8572, "Label that will be shown in the UI for this port.")),
381
+ default: ( localize(8573, "Application"))
382
382
  },
383
383
  'requireLocalPort': {
384
384
  type: 'boolean',
385
385
  markdownDescription: ( localize(
386
- 8414,
386
+ 8574,
387
387
  "When true, a modal dialog will show if the chosen local port isn't used for forwarding."
388
388
  )),
389
389
  default: false
@@ -391,12 +391,12 @@ const extensionKindSchema = {
391
391
  'protocol': {
392
392
  type: 'string',
393
393
  enum: ['http', 'https'],
394
- description: ( localize(8415, "The protocol to use when forwarding this port."))
394
+ description: ( localize(8575, "The protocol to use when forwarding this port."))
395
395
  }
396
396
  },
397
397
  defaultSnippets: [{ body: { onAutoForward: 'ignore' } }],
398
398
  markdownDescription: ( localize(
399
- 8418,
399
+ 8578,
400
400
  "Set default properties that are applied to all ports that don't get properties from the setting {0}. For example:\n\n```\n{\n \"onAutoForward\": \"ignore\"\n}\n```",
401
401
  '`#remote.portsAttributes#`'
402
402
  )),
@@ -407,7 +407,7 @@ const extensionKindSchema = {
407
407
  enum: ['localhost', 'allInterfaces'],
408
408
  default: 'localhost',
409
409
  description: ( localize(
410
- 8419,
410
+ 8579,
411
411
  "Specifies the local host name that will be used for port forwarding."
412
412
  ))
413
413
  }
@@ -46,15 +46,15 @@ let RemoteConnectionFailureNotificationContribution = class RemoteConnectionFail
46
46
  async _presentConnectionError(err) {
47
47
  await this._dialogService.prompt({
48
48
  type: Severity.Error,
49
- message: ( localize(11730, "An unexpected error occurred that requires a reload of this page.")),
49
+ message: ( localize(11948, "An unexpected error occurred that requires a reload of this page.")),
50
50
  detail: ( localize(
51
- 11731,
51
+ 11949,
52
52
  "The workbench failed to connect to the server (Error: {0})",
53
53
  err ? err.message : ''
54
54
  )),
55
55
  buttons: [
56
56
  {
57
- label: ( localize(11732, "&&Reload")),
57
+ label: ( localize(11950, "&&Reload")),
58
58
  run: () => this._hostService.reload()
59
59
  }
60
60
  ]