@codingame/monaco-vscode-relauncher-service-override 13.1.7 → 14.0.1
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": "14.0.1",
|
|
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": "14.0.1"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -101,20 +101,20 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
101
101
|
processChanged(this.productService.quality !== 'stable' && this.enablePPEExtensionsGallery.handleChange(config._extensionsGallery?.enablePPE));
|
|
102
102
|
if (askToRelaunch && changed && this.hostService.hasFocus) {
|
|
103
103
|
this.doConfirm(isNative ?
|
|
104
|
-
( localize(
|
|
105
|
-
( localize(
|
|
104
|
+
( localize(8397, "A setting has changed that requires a restart to take effect.")) :
|
|
105
|
+
( localize(8398, "A setting has changed that requires a reload to take effect.")), isNative ?
|
|
106
106
|
( localize(
|
|
107
|
-
|
|
107
|
+
8399,
|
|
108
108
|
"Press the restart button to restart {0} and enable the setting.",
|
|
109
109
|
this.productService.nameLong
|
|
110
110
|
)) :
|
|
111
111
|
( localize(
|
|
112
|
-
|
|
112
|
+
8400,
|
|
113
113
|
"Press the reload button to reload {0} and enable the setting.",
|
|
114
114
|
this.productService.nameLong
|
|
115
115
|
)), isNative ?
|
|
116
|
-
( localize(
|
|
117
|
-
( localize(
|
|
116
|
+
( localize(8401, "&&Restart")) :
|
|
117
|
+
( localize(8402, "&&Reload")), () => this.hostService.restart());
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
async doConfirm(message, detail, primaryButton, confirmedFn) {
|
|
@@ -161,7 +161,7 @@ let WorkspaceChangeExtHostRelauncher = class WorkspaceChangeExtHostRelauncher ex
|
|
|
161
161
|
hostService.reload();
|
|
162
162
|
}
|
|
163
163
|
else if (isNative) {
|
|
164
|
-
const stopped = await extensionService.stopExtensionHosts(( localize(
|
|
164
|
+
const stopped = await extensionService.stopExtensionHosts(( localize(8403, "Changing workspace folders")));
|
|
165
165
|
if (stopped) {
|
|
166
166
|
extensionService.startExtensionHosts();
|
|
167
167
|
}
|