@codingame/monaco-vscode-working-copy-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 +1 -1
- package/index.js +11 -11
- package/package.json +5 -7
- package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyHistoryService.d.ts +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/browser/workingCopyHistoryService.js +10 -10
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.d.ts +8 -8
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +16 -16
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.d.ts +6 -6
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistory.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryService.d.ts +15 -15
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryService.js +32 -32
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryTracker.d.ts +10 -10
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryTracker.js +18 -18
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.d.ts +8 -8
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.js +6 -6
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
interface WorkingCopyServiceOptions {
|
|
3
3
|
storage?: "memory" | "userData" | null;
|
|
4
4
|
}
|
package/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
4
|
-
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
4
|
+
import { IWorkingCopyBackupService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service';
|
|
5
5
|
import { WorkingCopyService } from './vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.js';
|
|
6
|
-
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
6
|
+
import { IWorkingCopyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
7
7
|
import { WorkingCopyEditorService } from './vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.js';
|
|
8
|
-
import { IWorkingCopyEditorService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service';
|
|
9
|
-
import { IWorkingCopyHistoryService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service';
|
|
8
|
+
import { IWorkingCopyEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service';
|
|
9
|
+
import { IWorkingCopyHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service';
|
|
10
10
|
import { BrowserWorkingCopyHistoryService } from './vscode/src/vs/workbench/services/workingCopy/browser/workingCopyHistoryService.js';
|
|
11
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
12
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
13
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
14
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
15
|
-
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
11
|
+
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
12
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
13
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
14
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
15
|
+
import { joinPath } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
16
16
|
import { WorkingCopyBackupService } from './vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js';
|
|
17
17
|
import getServiceOverride$1 from '@codingame/monaco-vscode-files-service-override';
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-working-copy-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - working-copy service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,11 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common": "
|
|
19
|
-
"@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common": "
|
|
20
|
-
"@codingame/monaco-vscode-
|
|
21
|
-
"
|
|
18
|
+
"@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common": "13.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common": "13.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-api": "13.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "13.1.0"
|
|
22
22
|
},
|
|
23
|
-
"peerDependencies": {},
|
|
24
|
-
"peerDependenciesMeta": {},
|
|
25
23
|
"main": "index.js",
|
|
26
24
|
"module": "index.js",
|
|
27
25
|
"types": "index.d.ts",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
2
|
-
import { IRemoteAgentService } from "vscode/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
|
|
3
|
-
import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
4
|
-
import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
5
|
-
import { ILabelService } from "vscode/vscode/vs/platform/label/common/label.service";
|
|
6
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
7
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
1
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
2
|
+
import { IRemoteAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
|
|
3
|
+
import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
4
|
+
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
5
|
+
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
6
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
7
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
8
8
|
import { IWorkingCopyHistoryModelOptions, WorkingCopyHistoryService } from "../common/workingCopyHistoryService.js";
|
|
9
9
|
export declare class BrowserWorkingCopyHistoryService extends WorkingCopyHistoryService {
|
|
10
10
|
constructor(fileService: IFileService, remoteAgentService: IRemoteAgentService, environmentService: IWorkbenchEnvironmentService, uriIdentityService: IUriIdentityService, labelService: ILabelService, logService: ILogService, configurationService: IConfigurationService);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
4
|
-
import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService.service';
|
|
5
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
6
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
7
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
8
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
9
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
4
|
+
import { IRemoteAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service';
|
|
5
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
6
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
7
|
+
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
8
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
9
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
10
10
|
import { WorkingCopyHistoryService } from '../common/workingCopyHistoryService.js';
|
|
11
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
12
|
-
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
11
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
12
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
13
13
|
|
|
14
14
|
let BrowserWorkingCopyHistoryService = class BrowserWorkingCopyHistoryService extends WorkingCopyHistoryService {
|
|
15
15
|
constructor(fileService, remoteAgentService, environmentService, uriIdentityService, labelService, logService, configurationService) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
2
|
-
import { IResolvedWorkingCopyBackup } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup";
|
|
3
|
-
import { IWorkingCopyBackupService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service";
|
|
4
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
5
|
-
import { VSBufferReadable, VSBufferReadableStream } from "vscode/vscode/vs/base/common/buffer";
|
|
6
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
7
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
8
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
1
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
2
|
+
import { IResolvedWorkingCopyBackup } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup";
|
|
3
|
+
import { IWorkingCopyBackupService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service";
|
|
4
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
5
|
+
import { VSBufferReadable, VSBufferReadableStream } from "@codingame/monaco-vscode-api/vscode/vs/base/common/buffer";
|
|
6
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
7
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
8
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
9
9
|
import { IWorkingCopyBackupMeta, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
|
|
10
10
|
export declare class WorkingCopyBackupsModel {
|
|
11
11
|
private backupRoot;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
4
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
5
|
-
import { coalesce } from 'vscode/vscode/vs/base/common/arrays';
|
|
6
|
-
import { deepClone, equals } from 'vscode/vscode/vs/base/common/objects';
|
|
7
|
-
import { Promises, ResourceQueue } from 'vscode/vscode/vs/base/common/async';
|
|
8
|
-
import { FileOperationResult } from 'vscode/vscode/vs/platform/files/common/files';
|
|
9
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
10
|
-
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
11
|
-
import { isReadableStream, peekStream } from 'vscode/vscode/vs/base/common/stream';
|
|
12
|
-
import { VSBuffer, prefixedBufferStream, prefixedBufferReadable, bufferToStream, streamToBuffer, readableToBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
13
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
14
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
15
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
16
|
-
import { hash } from 'vscode/vscode/vs/base/common/hash';
|
|
17
|
-
import { isEmptyObject } from 'vscode/vscode/vs/base/common/types';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { joinPath } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
4
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
5
|
+
import { coalesce } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
|
|
6
|
+
import { deepClone, equals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
|
|
7
|
+
import { Promises, ResourceQueue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
8
|
+
import { FileOperationResult } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
9
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
10
|
+
import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
11
|
+
import { isReadableStream, peekStream } from '@codingame/monaco-vscode-api/vscode/vs/base/common/stream';
|
|
12
|
+
import { VSBuffer, prefixedBufferStream, prefixedBufferReadable, bufferToStream, streamToBuffer, readableToBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
13
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
14
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
15
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
16
|
+
import { hash } from '@codingame/monaco-vscode-api/vscode/vs/base/common/hash';
|
|
17
|
+
import { isEmptyObject } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
18
18
|
import { NO_TYPE_ID } from '@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/workingCopy/common/workingCopy';
|
|
19
19
|
|
|
20
20
|
var WorkingCopyBackupServiceImpl_1;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IEditorIdentifier } from "vscode/vscode/vs/workbench/common/editor";
|
|
2
|
-
import { EditorInput } from "vscode/vscode/vs/workbench/common/editor/editorInput";
|
|
1
|
+
import { IEditorIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
2
|
+
import { EditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput";
|
|
3
3
|
import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
|
|
4
|
-
import { Disposable, IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
5
|
-
import { IEditorService } from "vscode/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
6
|
-
import { IWorkingCopyEditorService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service";
|
|
4
|
+
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
5
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
6
|
+
import { IWorkingCopyEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service";
|
|
7
7
|
export interface IWorkingCopyEditorHandler {
|
|
8
8
|
handles(workingCopy: IWorkingCopyIdentifier): boolean | Promise<boolean>;
|
|
9
9
|
isOpen(workingCopy: IWorkingCopyIdentifier, editor: EditorInput): boolean;
|
|
@@ -13,7 +13,7 @@ export declare class WorkingCopyEditorService extends Disposable implements IWor
|
|
|
13
13
|
private readonly editorService;
|
|
14
14
|
readonly _serviceBrand: undefined;
|
|
15
15
|
private readonly _onDidRegisterHandler;
|
|
16
|
-
readonly onDidRegisterHandler: import("vscode/vscode/vs/base/common/event").Event<IWorkingCopyEditorHandler>;
|
|
16
|
+
readonly onDidRegisterHandler: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<IWorkingCopyEditorHandler>;
|
|
17
17
|
private readonly handlers;
|
|
18
18
|
constructor(editorService: IEditorService);
|
|
19
19
|
registerHandler(handler: IWorkingCopyEditorHandler): IDisposable;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
5
|
-
import { EditorsOrder } from 'vscode/vscode/vs/workbench/common/editor';
|
|
6
|
-
import { Disposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
8
|
-
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
4
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
5
|
+
import { EditorsOrder } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
6
|
+
import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
8
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
9
|
|
|
10
10
|
let WorkingCopyEditorService = class WorkingCopyEditorService extends Disposable {
|
|
11
11
|
constructor(editorService) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
2
|
-
import { SaveSource } from "vscode/vscode/vs/workbench/common/editor";
|
|
1
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
2
|
+
import { SaveSource } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
3
3
|
export interface IWorkingCopyHistoryEvent {
|
|
4
4
|
readonly entry: IWorkingCopyHistoryEntry;
|
|
5
5
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Event, Emitter } from "vscode/vscode/vs/base/common/event";
|
|
2
|
-
import { ILifecycleService } from "vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
|
|
3
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
1
|
+
import { Event, Emitter } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
|
+
import { ILifecycleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
|
|
3
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
4
4
|
import { IWorkingCopyHistoryEntry, IWorkingCopyHistoryEntryDescriptor, IWorkingCopyHistoryEvent } from "./workingCopyHistory.js";
|
|
5
|
-
import { IWorkingCopyHistoryService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service";
|
|
6
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
7
|
-
import { IRemoteAgentService } from "vscode/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
|
|
8
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
9
|
-
import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
10
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
11
|
-
import { ResourceMap } from "vscode/vscode/vs/base/common/map";
|
|
12
|
-
import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
13
|
-
import { ILabelService } from "vscode/vscode/vs/platform/label/common/label.service";
|
|
14
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
15
|
-
import { SaveSource } from "vscode/vscode/vs/workbench/common/editor";
|
|
16
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
5
|
+
import { IWorkingCopyHistoryService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service";
|
|
6
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
7
|
+
import { IRemoteAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
|
|
8
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
9
|
+
import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
10
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
11
|
+
import { ResourceMap } from "@codingame/monaco-vscode-api/vscode/vs/base/common/map";
|
|
12
|
+
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
13
|
+
import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
|
|
14
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
15
|
+
import { SaveSource } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
16
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
17
17
|
export interface IWorkingCopyHistoryModelOptions {
|
|
18
18
|
flushOnChange: boolean;
|
|
19
19
|
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
5
|
-
import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
|
|
6
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
7
|
-
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
8
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
9
|
-
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
5
|
+
import { assertIsDefined } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
6
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
7
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
8
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
9
|
+
import { ILifecycleService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
10
10
|
import { WorkingCopyHistoryTracker } from './workingCopyHistoryTracker.js';
|
|
11
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
11
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
12
12
|
import { MAX_PARALLEL_HISTORY_IO_OPS } from './workingCopyHistory.js';
|
|
13
|
-
import { FileOperationError, FileOperationResult } from 'vscode/vscode/vs/platform/files/common/files';
|
|
14
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
15
|
-
import { IRemoteAgentService } from 'vscode/vscode/vs/workbench/services/remote/common/remoteAgentService.service';
|
|
16
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
17
|
-
import { Limiter, DeferredPromise, RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
18
|
-
import { extname, joinPath, isEqual, dirname } from 'vscode/vscode/vs/base/common/resources';
|
|
19
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
20
|
-
import { hash } from 'vscode/vscode/vs/base/common/hash';
|
|
21
|
-
import { randomPath, indexOfPath } from 'vscode/vscode/vs/base/common/extpath';
|
|
22
|
-
import { CancellationToken, CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
23
|
-
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
24
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
25
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
26
|
-
import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
27
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
28
|
-
import { SaveSourceRegistry } from 'vscode/vscode/vs/workbench/common/editor';
|
|
29
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
30
|
-
import { distinct } from 'vscode/vscode/vs/base/common/arrays';
|
|
31
|
-
import { escapeRegExpCharacters } from 'vscode/vscode/vs/base/common/strings';
|
|
13
|
+
import { FileOperationError, FileOperationResult } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
14
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
15
|
+
import { IRemoteAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service';
|
|
16
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
17
|
+
import { Limiter, DeferredPromise, RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
18
|
+
import { extname, joinPath, isEqual, dirname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
19
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
20
|
+
import { hash } from '@codingame/monaco-vscode-api/vscode/vs/base/common/hash';
|
|
21
|
+
import { randomPath, indexOfPath } from '@codingame/monaco-vscode-api/vscode/vs/base/common/extpath';
|
|
22
|
+
import { CancellationToken, CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
23
|
+
import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
24
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
25
|
+
import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
|
|
26
|
+
import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
27
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
28
|
+
import { SaveSourceRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
29
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
30
|
+
import { distinct } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
|
|
31
|
+
import { escapeRegExpCharacters } from '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
|
|
32
32
|
|
|
33
33
|
var WorkingCopyHistoryService_1, NativeWorkingCopyHistoryService_1;
|
|
34
34
|
class WorkingCopyHistoryModel {
|
|
35
35
|
static { this.ENTRIES_FILE = 'entries.json'; }
|
|
36
|
-
static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('default.source', ( localize(
|
|
36
|
+
static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('default.source', ( localize(12128, "File Saved"))); }
|
|
37
37
|
static { this.SETTINGS = {
|
|
38
38
|
MAX_ENTRIES: 'workbench.localHistory.maxFileEntries',
|
|
39
39
|
MERGE_PERIOD: 'workbench.localHistory.mergeWindow'
|
|
@@ -379,8 +379,8 @@ class WorkingCopyHistoryModel {
|
|
|
379
379
|
}
|
|
380
380
|
let WorkingCopyHistoryService = class WorkingCopyHistoryService extends Disposable {
|
|
381
381
|
static { WorkingCopyHistoryService_1 = this; }
|
|
382
|
-
static { this.FILE_MOVED_SOURCE = SaveSourceRegistry.registerSource('moved.source', ( localize(
|
|
383
|
-
static { this.FILE_RENAMED_SOURCE = SaveSourceRegistry.registerSource('renamed.source', ( localize(
|
|
382
|
+
static { this.FILE_MOVED_SOURCE = SaveSourceRegistry.registerSource('moved.source', ( localize(12129, "File Moved"))); }
|
|
383
|
+
static { this.FILE_RENAMED_SOURCE = SaveSourceRegistry.registerSource('renamed.source', ( localize(12130, "File Renamed"))); }
|
|
384
384
|
constructor(fileService, remoteAgentService, environmentService, uriIdentityService, labelService, logService, configurationService) {
|
|
385
385
|
super();
|
|
386
386
|
this.fileService = fileService;
|
|
@@ -597,7 +597,7 @@ let NativeWorkingCopyHistoryService = class NativeWorkingCopyHistoryService exte
|
|
|
597
597
|
onWillShutdown(e) {
|
|
598
598
|
this.storeAllScheduler.dispose();
|
|
599
599
|
this.storeAllCts.dispose(true);
|
|
600
|
-
e.join(this.storeAll(e.token), { id: 'join.workingCopyHistory', label: ( localize(
|
|
600
|
+
e.join(this.storeAll(e.token), { id: 'join.workingCopyHistory', label: ( localize(12131, "Saving local history")) });
|
|
601
601
|
}
|
|
602
602
|
onDidChangeModels() {
|
|
603
603
|
if (!this.storeAllScheduler.isScheduled()) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
3
|
-
import { IUndoRedoService } from "vscode/vscode/vs/platform/undoRedo/common/undoRedo.service";
|
|
4
|
-
import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
5
|
-
import { IWorkbenchContribution } from "vscode/vscode/vs/workbench/common/contributions";
|
|
6
|
-
import { IPathService } from "vscode/vscode/vs/workbench/services/path/common/pathService.service";
|
|
7
|
-
import { IWorkingCopyHistoryService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service";
|
|
8
|
-
import { IWorkingCopyService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
|
|
9
|
-
import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
|
|
10
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
3
|
+
import { IUndoRedoService } from "@codingame/monaco-vscode-api/vscode/vs/platform/undoRedo/common/undoRedo.service";
|
|
4
|
+
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
5
|
+
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
6
|
+
import { IPathService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service";
|
|
7
|
+
import { IWorkingCopyHistoryService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service";
|
|
8
|
+
import { IWorkingCopyService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
|
|
9
|
+
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
10
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
11
11
|
export declare class WorkingCopyHistoryTracker extends Disposable implements IWorkbenchContribution {
|
|
12
12
|
private readonly workingCopyService;
|
|
13
13
|
private readonly workingCopyHistoryService;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { Limiter, GlobalIdleValue } from 'vscode/vscode/vs/base/common/async';
|
|
5
|
-
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
6
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
|
-
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
8
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
|
-
import { IUndoRedoService } from 'vscode/vscode/vs/platform/undoRedo/common/undoRedo.service';
|
|
10
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
11
|
-
import { SaveSourceRegistry } from 'vscode/vscode/vs/workbench/common/editor';
|
|
12
|
-
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { Limiter, GlobalIdleValue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
5
|
+
import { CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
6
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
|
+
import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
8
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
|
+
import { IUndoRedoService } from '@codingame/monaco-vscode-api/vscode/vs/platform/undoRedo/common/undoRedo.service';
|
|
10
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
11
|
+
import { SaveSourceRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
12
|
+
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
|
|
13
13
|
import { isStoredFileWorkingCopySaveEvent } from '@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
|
|
14
14
|
import { MAX_PARALLEL_HISTORY_IO_OPS } from './workingCopyHistory.js';
|
|
15
|
-
import { IWorkingCopyHistoryService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service';
|
|
16
|
-
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
17
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
15
|
+
import { IWorkingCopyHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service';
|
|
16
|
+
import { IWorkingCopyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
17
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
18
18
|
import { ResourceGlobMatcher } from '@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/common/resources';
|
|
19
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
20
|
-
import { FileOperation } from 'vscode/vscode/vs/platform/files/common/files';
|
|
21
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
19
|
+
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
20
|
+
import { FileOperation } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
21
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
22
22
|
|
|
23
23
|
var WorkingCopyHistoryTracker_1;
|
|
24
24
|
let WorkingCopyHistoryTracker = class WorkingCopyHistoryTracker extends Disposable {
|
|
@@ -28,7 +28,7 @@ let WorkingCopyHistoryTracker = class WorkingCopyHistoryTracker extends Disposab
|
|
|
28
28
|
SIZE_LIMIT: 'workbench.localHistory.maxFileSize',
|
|
29
29
|
EXCLUDES: 'workbench.localHistory.exclude'
|
|
30
30
|
}; }
|
|
31
|
-
static { this.UNDO_REDO_SAVE_SOURCE = SaveSourceRegistry.registerSource('undoRedo.source', ( localize(
|
|
31
|
+
static { this.UNDO_REDO_SAVE_SOURCE = SaveSourceRegistry.registerSource('undoRedo.source', ( localize(12132, "Undo / Redo"))); }
|
|
32
32
|
constructor(workingCopyService, workingCopyHistoryService, uriIdentityService, pathService, configurationService, undoRedoService, contextService, fileService) {
|
|
33
33
|
super();
|
|
34
34
|
this.workingCopyService = workingCopyService;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
2
|
-
import { Disposable, IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
1
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
2
|
+
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
3
|
import { IWorkingCopy, IWorkingCopyIdentifier, IWorkingCopySaveEvent as IBaseWorkingCopySaveEvent } from "@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
|
|
4
|
-
import { IWorkingCopyService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
|
|
4
|
+
import { IWorkingCopyService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
|
|
5
5
|
export interface IWorkingCopySaveEvent extends IBaseWorkingCopySaveEvent {
|
|
6
6
|
readonly workingCopy: IWorkingCopy;
|
|
7
7
|
}
|
|
8
8
|
export declare class WorkingCopyService extends Disposable implements IWorkingCopyService {
|
|
9
9
|
readonly _serviceBrand: undefined;
|
|
10
10
|
private readonly _onDidRegister;
|
|
11
|
-
readonly onDidRegister: import("vscode/vscode/vs/base/common/event").Event<IWorkingCopy>;
|
|
11
|
+
readonly onDidRegister: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<IWorkingCopy>;
|
|
12
12
|
private readonly _onDidUnregister;
|
|
13
|
-
readonly onDidUnregister: import("vscode/vscode/vs/base/common/event").Event<IWorkingCopy>;
|
|
13
|
+
readonly onDidUnregister: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<IWorkingCopy>;
|
|
14
14
|
private readonly _onDidChangeDirty;
|
|
15
|
-
readonly onDidChangeDirty: import("vscode/vscode/vs/base/common/event").Event<IWorkingCopy>;
|
|
15
|
+
readonly onDidChangeDirty: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<IWorkingCopy>;
|
|
16
16
|
private readonly _onDidChangeContent;
|
|
17
|
-
readonly onDidChangeContent: import("vscode/vscode/vs/base/common/event").Event<IWorkingCopy>;
|
|
17
|
+
readonly onDidChangeContent: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<IWorkingCopy>;
|
|
18
18
|
private readonly _onDidSave;
|
|
19
|
-
readonly onDidSave: import("vscode/vscode/vs/base/common/event").Event<IWorkingCopySaveEvent>;
|
|
19
|
+
readonly onDidSave: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<IWorkingCopySaveEvent>;
|
|
20
20
|
get workingCopies(): IWorkingCopy[];
|
|
21
21
|
private _workingCopies;
|
|
22
22
|
private readonly mapResourceToWorkingCopies;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
3
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
4
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
5
|
-
import { Disposable, DisposableMap, DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
6
|
-
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
7
|
-
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
2
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
3
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
4
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
5
|
+
import { Disposable, DisposableMap, DisposableStore, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
6
|
+
import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
7
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
8
8
|
|
|
9
9
|
class WorkingCopyService extends Disposable {
|
|
10
10
|
constructor() {
|