@codingame/monaco-vscode-relauncher-service-override 8.0.3 → 9.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-relauncher-service-override",
3
- "version": "8.0.3",
3
+ "version": "9.0.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@8.0.3"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@9.0.0"
30
30
  }
31
31
  }
@@ -26,6 +26,7 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
26
26
  'window.nativeTabs',
27
27
  'window.nativeFullScreen',
28
28
  'window.clickThroughInactive',
29
+ 'window.experimentalControlOverlay',
29
30
  'update.mode',
30
31
  'editor.accessibilitySupport',
31
32
  'security.workspace.trust.enabled',
@@ -44,6 +45,7 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
44
45
  this.nativeTabs = ( (new ChangeObserver('boolean')));
45
46
  this.nativeFullScreen = ( (new ChangeObserver('boolean')));
46
47
  this.clickThroughInactive = ( (new ChangeObserver('boolean')));
48
+ this.linuxWindowControlOverlay = ( (new ChangeObserver('boolean')));
47
49
  this.updateMode = ( (new ChangeObserver('string')));
48
50
  this.workspaceTrustEnabled = ( (new ChangeObserver('boolean')));
49
51
  this.experimentsEnabled = ( (new ChangeObserver('boolean')));
@@ -67,6 +69,7 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
67
69
  processChanged(isMacintosh && this.nativeTabs.handleChange(config.window?.nativeTabs));
68
70
  processChanged(isMacintosh && this.nativeFullScreen.handleChange(config.window?.nativeFullScreen));
69
71
  processChanged(isMacintosh && this.clickThroughInactive.handleChange(config.window?.clickThroughInactive));
72
+ processChanged(isLinux && this.linuxWindowControlOverlay.handleChange(config.window?.experimentalControlOverlay));
70
73
  processChanged(this.updateMode.handleChange(config.update?.mode));
71
74
  if (isLinux && typeof config.editor?.accessibilitySupport === 'string' && config.editor.accessibilitySupport !== this.accessibilitySupport) {
72
75
  this.accessibilitySupport = config.editor.accessibilitySupport;
@@ -82,20 +85,20 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
82
85
  processChanged(this.productService.quality !== 'stable' && this.enablePPEExtensionsGallery.handleChange(config._extensionsGallery?.enablePPE));
83
86
  if (changed && e && e.source !== ConfigurationTarget.DEFAULT) {
84
87
  this.doConfirm(isNative ?
85
- ( localize(2684, "A setting has changed that requires a restart to take effect.")) :
86
- ( localize(2685, "A setting has changed that requires a reload to take effect.")), isNative ?
88
+ ( localize(2215, "A setting has changed that requires a restart to take effect.")) :
89
+ ( localize(2216, "A setting has changed that requires a reload to take effect.")), isNative ?
87
90
  ( localize(
88
- 2686,
91
+ 2217,
89
92
  "Press the restart button to restart {0} and enable the setting.",
90
93
  this.productService.nameLong
91
94
  )) :
92
95
  ( localize(
93
- 2687,
96
+ 2218,
94
97
  "Press the reload button to reload {0} and enable the setting.",
95
98
  this.productService.nameLong
96
99
  )), isNative ?
97
- ( localize(2688, "&&Restart")) :
98
- ( localize(2689, "&&Reload")), () => this.hostService.restart());
100
+ ( localize(2219, "&&Restart")) :
101
+ ( localize(2220, "&&Reload")), () => this.hostService.restart());
99
102
  }
100
103
  }
101
104
  async doConfirm(message, detail, primaryButton, confirmedFn) {
@@ -143,7 +146,7 @@ let WorkspaceChangeExtHostRelauncher = class WorkspaceChangeExtHostRelauncher ex
143
146
  hostService.reload();
144
147
  }
145
148
  else if (isNative) {
146
- const stopped = await extensionService.stopExtensionHosts(( localize(2690, "Restarting extension host due to a workspace folder change.")));
149
+ const stopped = await extensionService.stopExtensionHosts(( localize(2221, "Restarting extension host due to a workspace folder change.")));
147
150
  if (stopped) {
148
151
  extensionService.startExtensionHosts();
149
152
  }