@codingame/monaco-vscode-relauncher-service-override 12.0.1 → 13.1.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/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
1
|
+
import { type IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
2
|
export default function getServiceOverride(): IEditorOverrideServices;
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
2
|
+
import '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
3
3
|
import './vscode/src/vs/workbench/contrib/relauncher/browser/relauncher.contribution.js';
|
|
4
4
|
|
|
5
5
|
function getServiceOverride() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-relauncher-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - relauncher service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"
|
|
18
|
+
"@codingame/monaco-vscode-api": "13.1.0"
|
|
19
19
|
},
|
|
20
|
-
"peerDependencies": {},
|
|
21
|
-
"peerDependenciesMeta": {},
|
|
22
20
|
"main": "index.js",
|
|
23
21
|
"module": "index.js",
|
|
24
22
|
"types": "index.d.ts",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { IWorkbenchContribution } from "vscode/vscode/vs/workbench/common/contributions";
|
|
3
|
-
import { IHostService } from "vscode/vscode/vs/workbench/services/host/browser/host.service";
|
|
4
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
5
|
-
import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
|
|
6
|
-
import { IExtensionService } from "vscode/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
7
|
-
import { IDialogService } from "vscode/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
8
|
-
import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
9
|
-
import { IProductService } from "vscode/vscode/vs/platform/product/common/productService.service";
|
|
10
|
-
import { IUserDataSyncService } from "vscode/vscode/vs/platform/userDataSync/common/userDataSync.service";
|
|
11
|
-
import { IUserDataSyncEnablementService } from "vscode/vscode/vs/platform/userDataSync/common/userDataSync.service";
|
|
12
|
-
import { IUserDataSyncWorkbenchService } from "vscode/vscode/vs/workbench/services/userDataSync/common/userDataSync.service";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
3
|
+
import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
|
|
4
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
5
|
+
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
6
|
+
import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
|
|
7
|
+
import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
8
|
+
import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
9
|
+
import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
|
|
10
|
+
import { IUserDataSyncService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataSync/common/userDataSync.service";
|
|
11
|
+
import { IUserDataSyncEnablementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/userDataSync/common/userDataSync.service";
|
|
12
|
+
import { IUserDataSyncWorkbenchService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataSync/common/userDataSync.service";
|
|
13
13
|
export declare class SettingsChangeRelauncher extends Disposable implements IWorkbenchContribution {
|
|
14
14
|
private readonly hostService;
|
|
15
15
|
private readonly configurationService;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Disposable, toDisposable, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
5
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
6
|
-
import { TitleBarSetting, TitlebarStyle } from 'vscode/vscode/vs/platform/window/common/window';
|
|
7
|
-
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
|
|
8
|
-
import { ConfigurationTarget } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
9
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
10
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
11
|
-
import { WorkbenchState } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
12
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
13
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
14
|
-
import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
15
|
-
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
16
|
-
import { isNative, isMacintosh, isLinux } from 'vscode/vscode/vs/base/common/platform';
|
|
17
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
18
|
-
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
19
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
20
|
-
import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
|
|
21
|
-
import { SyncStatus } from 'vscode/vscode/vs/platform/userDataSync/common/userDataSync';
|
|
22
|
-
import { IUserDataSyncService, IUserDataSyncEnablementService } from 'vscode/vscode/vs/platform/userDataSync/common/userDataSync.service';
|
|
23
|
-
import { IUserDataSyncWorkbenchService } from 'vscode/vscode/vs/workbench/services/userDataSync/common/userDataSync.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Disposable, toDisposable, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
5
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
6
|
+
import { TitleBarSetting, TitlebarStyle } from '@codingame/monaco-vscode-api/vscode/vs/platform/window/common/window';
|
|
7
|
+
import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
|
|
8
|
+
import { ConfigurationTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration';
|
|
9
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
10
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
11
|
+
import { WorkbenchState } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace';
|
|
12
|
+
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
13
|
+
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
14
|
+
import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
15
|
+
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
16
|
+
import { isNative, isMacintosh, isLinux } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
17
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
18
|
+
import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
19
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
20
|
+
import { IProductService } from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service';
|
|
21
|
+
import { SyncStatus } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataSync/common/userDataSync';
|
|
22
|
+
import { IUserDataSyncService, IUserDataSyncEnablementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/userDataSync/common/userDataSync.service';
|
|
23
|
+
import { IUserDataSyncWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataSync/common/userDataSync.service';
|
|
24
24
|
|
|
25
25
|
var SettingsChangeRelauncher_1;
|
|
26
26
|
let SettingsChangeRelauncher = class SettingsChangeRelauncher extends Disposable {
|
|
@@ -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(8237, "A setting has changed that requires a restart to take effect.")) :
|
|
105
|
+
( localize(8238, "A setting has changed that requires a reload to take effect.")), isNative ?
|
|
106
106
|
( localize(
|
|
107
|
-
|
|
107
|
+
8239,
|
|
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
|
+
8240,
|
|
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(8241, "&&Restart")) :
|
|
117
|
+
( localize(8242, "&&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(8243, "Restarting extension host due to a workspace folder change.")));
|
|
165
165
|
if (stopped) {
|
|
166
166
|
extensionService.startExtensionHosts();
|
|
167
167
|
}
|