@codingame/monaco-vscode-relauncher-service-override 15.0.0 → 15.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": "15.0.
|
|
3
|
+
"version": "15.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": "15.0.
|
|
18
|
+
"@codingame/monaco-vscode-api": "15.0.1"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -98,20 +98,20 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
98
98
|
processChanged(this.productService.quality !== 'stable' && this.enablePPEExtensionsGallery.handleChange(config._extensionsGallery?.enablePPE));
|
|
99
99
|
if (askToRelaunch && changed && this.hostService.hasFocus) {
|
|
100
100
|
this.doConfirm(isNative ?
|
|
101
|
-
( localize(
|
|
102
|
-
( localize(
|
|
101
|
+
( localize(8504, "A setting has changed that requires a restart to take effect.")) :
|
|
102
|
+
( localize(8505, "A setting has changed that requires a reload to take effect.")), isNative ?
|
|
103
103
|
( localize(
|
|
104
|
-
|
|
104
|
+
8506,
|
|
105
105
|
"Press the restart button to restart {0} and enable the setting.",
|
|
106
106
|
this.productService.nameLong
|
|
107
107
|
)) :
|
|
108
108
|
( localize(
|
|
109
|
-
|
|
109
|
+
8507,
|
|
110
110
|
"Press the reload button to reload {0} and enable the setting.",
|
|
111
111
|
this.productService.nameLong
|
|
112
112
|
)), isNative ?
|
|
113
|
-
( localize(
|
|
114
|
-
( localize(
|
|
113
|
+
( localize(8508, "&&Restart")) :
|
|
114
|
+
( localize(8509, "&&Reload")), () => this.hostService.restart());
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
async doConfirm(message, detail, primaryButton, confirmedFn) {
|
|
@@ -158,7 +158,7 @@ let WorkspaceChangeExtHostRelauncher = class WorkspaceChangeExtHostRelauncher ex
|
|
|
158
158
|
hostService.reload();
|
|
159
159
|
}
|
|
160
160
|
else if (isNative) {
|
|
161
|
-
const stopped = await extensionService.stopExtensionHosts(( localize(
|
|
161
|
+
const stopped = await extensionService.stopExtensionHosts(( localize(8510, "Changing workspace folders")));
|
|
162
162
|
if (stopped) {
|
|
163
163
|
extensionService.startExtensionHosts();
|
|
164
164
|
}
|