@codingame/monaco-vscode-relauncher-service-override 26.2.1 → 27.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": "
|
|
3
|
+
"version": "27.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - relauncher service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "27.0.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -143,15 +143,15 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
143
143
|
this.extensionUnificationEnabled.handleChange(config.chat?.extensionUnification?.enabled) && config.chat?.extensionUnification?.enabled === true
|
|
144
144
|
);
|
|
145
145
|
if (askToRelaunch && changed && this.hostService.hasFocus) {
|
|
146
|
-
this.doConfirm(isNative ? ( localize(
|
|
147
|
-
|
|
146
|
+
this.doConfirm(isNative ? ( localize(11485, "A setting has changed that requires a restart to take effect.")) : ( localize(11486, "A setting has changed that requires a reload to take effect.")), isNative ? ( localize(
|
|
147
|
+
11487,
|
|
148
148
|
"Press the restart button to restart {0} and enable the setting.",
|
|
149
149
|
this.productService.nameLong
|
|
150
150
|
)) : ( localize(
|
|
151
|
-
|
|
151
|
+
11488,
|
|
152
152
|
"Press the reload button to reload {0} and enable the setting.",
|
|
153
153
|
this.productService.nameLong
|
|
154
|
-
)), isNative ? ( localize(
|
|
154
|
+
)), isNative ? ( localize(11489, "&&Restart")) : ( localize(11490, "&&Reload")), () => this.hostService.restart());
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
async doConfirm(message, detail, primaryButton, confirmedFn) {
|
|
@@ -192,10 +192,13 @@ let WorkspaceChangeExtHostRelauncher = class WorkspaceChangeExtHostRelauncher ex
|
|
|
192
192
|
if (!!environmentService.extensionTestsLocationURI) {
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
195
|
+
if (environmentService.isSessionsWindow) {
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
195
198
|
if (environmentService.remoteAuthority) {
|
|
196
199
|
hostService.reload();
|
|
197
200
|
} else if (isNative) {
|
|
198
|
-
const stopped = await extensionService.stopExtensionHosts(( localize(
|
|
201
|
+
const stopped = await extensionService.stopExtensionHosts(( localize(11491, "Changing workspace folders")));
|
|
199
202
|
if (stopped) {
|
|
200
203
|
extensionService.startExtensionHosts();
|
|
201
204
|
}
|