@codingame/monaco-vscode-relauncher-service-override 23.0.4 → 23.1.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": "23.
|
|
3
|
+
"version": "23.1.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": "23.
|
|
18
|
+
"@codingame/monaco-vscode-api": "23.1.1"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -113,20 +113,20 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
113
113
|
processChanged(this.extensionUnificationEnabled.handleChange(config.chat?.extensionUnification?.enabled) && config.chat?.extensionUnification?.enabled === true);
|
|
114
114
|
if (askToRelaunch && changed && this.hostService.hasFocus) {
|
|
115
115
|
this.doConfirm(isNative ?
|
|
116
|
-
( localize(
|
|
117
|
-
( localize(
|
|
116
|
+
( localize(10057, "A setting has changed that requires a restart to take effect.")) :
|
|
117
|
+
( localize(10058, "A setting has changed that requires a reload to take effect.")), isNative ?
|
|
118
118
|
( localize(
|
|
119
|
-
|
|
119
|
+
10059,
|
|
120
120
|
"Press the restart button to restart {0} and enable the setting.",
|
|
121
121
|
this.productService.nameLong
|
|
122
122
|
)) :
|
|
123
123
|
( localize(
|
|
124
|
-
|
|
124
|
+
10060,
|
|
125
125
|
"Press the reload button to reload {0} and enable the setting.",
|
|
126
126
|
this.productService.nameLong
|
|
127
127
|
)), isNative ?
|
|
128
|
-
( localize(
|
|
129
|
-
( localize(
|
|
128
|
+
( localize(10061, "&&Restart")) :
|
|
129
|
+
( localize(10062, "&&Reload")), () => this.hostService.restart());
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
async doConfirm(message, detail, primaryButton, confirmedFn) {
|
|
@@ -173,7 +173,7 @@ let WorkspaceChangeExtHostRelauncher = class WorkspaceChangeExtHostRelauncher ex
|
|
|
173
173
|
hostService.reload();
|
|
174
174
|
}
|
|
175
175
|
else if (isNative) {
|
|
176
|
-
const stopped = await extensionService.stopExtensionHosts(( localize(
|
|
176
|
+
const stopped = await extensionService.stopExtensionHosts(( localize(10063, "Changing workspace folders")));
|
|
177
177
|
if (stopped) {
|
|
178
178
|
extensionService.startExtensionHosts();
|
|
179
179
|
}
|