@codingame/monaco-vscode-working-copy-service-override 23.3.0 → 24.1.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 +3 -5
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupService.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupTracker.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackupTracker.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryService.js +4 -4
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyHistoryTracker.js +3 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-working-copy-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - working-copy service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,10 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-api": "23.3.0",
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "23.3.0"
|
|
18
|
+
"@codingame/monaco-vscode-api": "24.1.1",
|
|
19
|
+
"@codingame/monaco-vscode-files-service-override": "24.1.1"
|
|
22
20
|
},
|
|
23
21
|
"main": "index.js",
|
|
24
22
|
"module": "index.js",
|
|
@@ -6,7 +6,7 @@ import { VSBufferReadable, VSBufferReadableStream } from "@codingame/monaco-vsco
|
|
|
6
6
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
7
7
|
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
8
8
|
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
9
|
-
import { IWorkingCopyBackupMeta, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-
|
|
9
|
+
import { IWorkingCopyBackupMeta, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopy";
|
|
10
10
|
export declare class WorkingCopyBackupsModel {
|
|
11
11
|
private backupRoot;
|
|
12
12
|
private fileService;
|
|
@@ -15,7 +15,7 @@ import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log
|
|
|
15
15
|
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
16
16
|
import { hash } from '@codingame/monaco-vscode-api/vscode/vs/base/common/hash';
|
|
17
17
|
import { isEmptyObject } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
18
|
-
import { NO_TYPE_ID } from '@codingame/monaco-vscode-
|
|
18
|
+
import { NO_TYPE_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopy';
|
|
19
19
|
|
|
20
20
|
var WorkingCopyBackupServiceImpl_1;
|
|
21
21
|
class WorkingCopyBackupsModel {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IWorkingCopyBackupService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service";
|
|
2
2
|
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
3
|
import { IWorkingCopyService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
|
|
4
|
-
import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-
|
|
4
|
+
import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopy";
|
|
5
5
|
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
6
6
|
import { ShutdownReason } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle";
|
|
7
7
|
import { ILifecycleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
3
|
-
import { WorkingCopyCapabilities } from '@codingame/monaco-vscode-
|
|
3
|
+
import { WorkingCopyCapabilities } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopy';
|
|
4
4
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
5
5
|
import { CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
6
6
|
import { Promises } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IEditorIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
2
2
|
import { EditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput";
|
|
3
|
-
import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-
|
|
3
|
+
import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopy";
|
|
4
4
|
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
5
5
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
6
6
|
import { IWorkingCopyEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service";
|
|
@@ -33,7 +33,7 @@ import { escapeRegExpCharacters } from '@codingame/monaco-vscode-api/vscode/vs/b
|
|
|
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(14596, "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(14597, "File Moved"))); }
|
|
383
|
+
static { this.FILE_RENAMED_SOURCE = SaveSourceRegistry.registerSource('renamed.source', ( localize(14598, "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(14599, "Saving local history")) });
|
|
601
601
|
}
|
|
602
602
|
onDidChangeModels() {
|
|
603
603
|
if (!this.storeAllScheduler.isScheduled()) {
|
|
@@ -10,12 +10,12 @@ import { IUndoRedoService } from '@codingame/monaco-vscode-api/vscode/vs/platfor
|
|
|
10
10
|
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
11
11
|
import { SaveSourceRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
12
12
|
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
|
|
13
|
-
import { isStoredFileWorkingCopySaveEvent } from '@codingame/monaco-vscode-
|
|
13
|
+
import { isStoredFileWorkingCopySaveEvent } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
|
|
14
14
|
import { MAX_PARALLEL_HISTORY_IO_OPS } from './workingCopyHistory.js';
|
|
15
15
|
import { IWorkingCopyHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyHistory.service';
|
|
16
16
|
import { IWorkingCopyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
17
17
|
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
18
|
-
import { ResourceGlobMatcher } from '@codingame/monaco-vscode-
|
|
18
|
+
import { ResourceGlobMatcher } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/resources';
|
|
19
19
|
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
20
20
|
import { FileOperation } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
21
21
|
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
@@ -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(14600, "Undo / Redo"))); }
|
|
32
32
|
constructor(workingCopyService, workingCopyHistoryService, uriIdentityService, pathService, configurationService, undoRedoService, contextService, fileService) {
|
|
33
33
|
super();
|
|
34
34
|
this.workingCopyService = workingCopyService;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
2
2
|
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
|
-
import { IWorkingCopy, IWorkingCopyIdentifier, IWorkingCopySaveEvent as IBaseWorkingCopySaveEvent } from "@codingame/monaco-vscode-
|
|
3
|
+
import { IWorkingCopy, IWorkingCopyIdentifier, IWorkingCopySaveEvent as IBaseWorkingCopySaveEvent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopy";
|
|
4
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
|
/**
|