@codingame/monaco-vscode-relauncher-service-override 14.0.5 → 15.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": "15.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": "15.0.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"default": "./index.js"
|
|
26
26
|
},
|
|
27
27
|
"./vscode/*": {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
28
|
+
"types": "./vscode/src/*.d.ts",
|
|
29
|
+
"default": "./vscode/src/*.js"
|
|
30
30
|
},
|
|
31
31
|
"./*": {
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"types": "./*.d.ts",
|
|
33
|
+
"default": "./*.js"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"typesVersions": {
|
|
@@ -22,7 +22,6 @@ export declare class SettingsChangeRelauncher extends Disposable implements IWor
|
|
|
22
22
|
private readonly nativeTabs;
|
|
23
23
|
private readonly nativeFullScreen;
|
|
24
24
|
private readonly clickThroughInactive;
|
|
25
|
-
private readonly linuxWindowControlOverlay;
|
|
26
25
|
private readonly updateMode;
|
|
27
26
|
private accessibilitySupport;
|
|
28
27
|
private readonly workspaceTrustEnabled;
|
|
@@ -30,7 +30,6 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
30
30
|
'window.nativeTabs',
|
|
31
31
|
'window.nativeFullScreen',
|
|
32
32
|
'window.clickThroughInactive',
|
|
33
|
-
'window.experimentalControlOverlay',
|
|
34
33
|
'update.mode',
|
|
35
34
|
'editor.accessibilitySupport',
|
|
36
35
|
'security.workspace.trust.enabled',
|
|
@@ -51,7 +50,6 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
51
50
|
this.nativeTabs = ( new ChangeObserver('boolean'));
|
|
52
51
|
this.nativeFullScreen = ( new ChangeObserver('boolean'));
|
|
53
52
|
this.clickThroughInactive = ( new ChangeObserver('boolean'));
|
|
54
|
-
this.linuxWindowControlOverlay = ( new ChangeObserver('boolean'));
|
|
55
53
|
this.updateMode = ( new ChangeObserver('string'));
|
|
56
54
|
this.workspaceTrustEnabled = ( new ChangeObserver('boolean'));
|
|
57
55
|
this.experimentsEnabled = ( new ChangeObserver('boolean'));
|
|
@@ -85,7 +83,6 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
85
83
|
processChanged(isMacintosh && this.nativeTabs.handleChange(config.window?.nativeTabs));
|
|
86
84
|
processChanged(isMacintosh && this.nativeFullScreen.handleChange(config.window?.nativeFullScreen));
|
|
87
85
|
processChanged(isMacintosh && this.clickThroughInactive.handleChange(config.window?.clickThroughInactive));
|
|
88
|
-
processChanged(isLinux && this.linuxWindowControlOverlay.handleChange(config.window?.experimentalControlOverlay));
|
|
89
86
|
processChanged(this.updateMode.handleChange(config.update?.mode));
|
|
90
87
|
if (isLinux && typeof config.editor?.accessibilitySupport === 'string' && config.editor.accessibilitySupport !== this.accessibilitySupport) {
|
|
91
88
|
this.accessibilitySupport = config.editor.accessibilitySupport;
|
|
@@ -101,20 +98,20 @@ let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable
|
|
|
101
98
|
processChanged(this.productService.quality !== 'stable' && this.enablePPEExtensionsGallery.handleChange(config._extensionsGallery?.enablePPE));
|
|
102
99
|
if (askToRelaunch && changed && this.hostService.hasFocus) {
|
|
103
100
|
this.doConfirm(isNative ?
|
|
104
|
-
( localize(
|
|
105
|
-
( localize(
|
|
101
|
+
( localize(8490, "A setting has changed that requires a restart to take effect.")) :
|
|
102
|
+
( localize(8491, "A setting has changed that requires a reload to take effect.")), isNative ?
|
|
106
103
|
( localize(
|
|
107
|
-
|
|
104
|
+
8492,
|
|
108
105
|
"Press the restart button to restart {0} and enable the setting.",
|
|
109
106
|
this.productService.nameLong
|
|
110
107
|
)) :
|
|
111
108
|
( localize(
|
|
112
|
-
|
|
109
|
+
8493,
|
|
113
110
|
"Press the reload button to reload {0} and enable the setting.",
|
|
114
111
|
this.productService.nameLong
|
|
115
112
|
)), isNative ?
|
|
116
|
-
( localize(
|
|
117
|
-
( localize(
|
|
113
|
+
( localize(8494, "&&Restart")) :
|
|
114
|
+
( localize(8495, "&&Reload")), () => this.hostService.restart());
|
|
118
115
|
}
|
|
119
116
|
}
|
|
120
117
|
async doConfirm(message, detail, primaryButton, confirmedFn) {
|
|
@@ -161,7 +158,7 @@ let WorkspaceChangeExtHostRelauncher = class WorkspaceChangeExtHostRelauncher ex
|
|
|
161
158
|
hostService.reload();
|
|
162
159
|
}
|
|
163
160
|
else if (isNative) {
|
|
164
|
-
const stopped = await extensionService.stopExtensionHosts(( localize(
|
|
161
|
+
const stopped = await extensionService.stopExtensionHosts(( localize(8496, "Changing workspace folders")));
|
|
165
162
|
if (stopped) {
|
|
166
163
|
extensionService.startExtensionHosts();
|
|
167
164
|
}
|