@codingame/monaco-vscode-relauncher-service-override 19.1.4 → 20.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": "20.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": "20.0.1"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -114,20 +114,20 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
114
114
|
processChanged(this.telemetryFeedbackEnabled.handleChange(config.telemetry?.feedback?.enabled));
|
|
115
115
|
if (askToRelaunch && changed && this.hostService.hasFocus) {
|
|
116
116
|
this.doConfirm(isNative ?
|
|
117
|
-
( localize(
|
|
118
|
-
( localize(
|
|
117
|
+
( localize(9523, "A setting has changed that requires a restart to take effect.")) :
|
|
118
|
+
( localize(9524, "A setting has changed that requires a reload to take effect.")), isNative ?
|
|
119
119
|
( localize(
|
|
120
|
-
|
|
120
|
+
9525,
|
|
121
121
|
"Press the restart button to restart {0} and enable the setting.",
|
|
122
122
|
this.productService.nameLong
|
|
123
123
|
)) :
|
|
124
124
|
( localize(
|
|
125
|
-
|
|
125
|
+
9526,
|
|
126
126
|
"Press the reload button to reload {0} and enable the setting.",
|
|
127
127
|
this.productService.nameLong
|
|
128
128
|
)), isNative ?
|
|
129
|
-
( localize(
|
|
130
|
-
( localize(
|
|
129
|
+
( localize(9527, "&&Restart")) :
|
|
130
|
+
( localize(9528, "&&Reload")), () => this.hostService.restart());
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
async doConfirm(message, detail, primaryButton, confirmedFn) {
|
|
@@ -174,7 +174,7 @@ let WorkspaceChangeExtHostRelauncher = class WorkspaceChangeExtHostRelauncher ex
|
|
|
174
174
|
hostService.reload();
|
|
175
175
|
}
|
|
176
176
|
else if (isNative) {
|
|
177
|
-
const stopped = await extensionService.stopExtensionHosts(( localize(
|
|
177
|
+
const stopped = await extensionService.stopExtensionHosts(( localize(9529, "Changing workspace folders")));
|
|
178
178
|
if (stopped) {
|
|
179
179
|
extensionService.startExtensionHosts();
|
|
180
180
|
}
|