@codingame/monaco-vscode-files-service-override 12.0.0 → 13.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/index.d.ts +8 -8
- package/index.js +24 -24
- package/package.json +11 -11
- package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.d.ts +4 -4
- package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +9 -9
- package/vscode/src/vs/platform/files/common/fileService.d.ts +14 -14
- package/vscode/src/vs/platform/files/common/fileService.js +18 -18
- package/vscode/src/vs/platform/files/common/io.d.ts +5 -5
- package/vscode/src/vs/platform/files/common/io.js +4 -4
- package/vscode/src/vs/workbench/services/files/browser/elevatedFileService.d.ts +4 -4
- package/vscode/src/vs/workbench/services/files/browser/elevatedFileService.js +2 -2
- package/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.d.ts +18 -18
- package/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js +20 -20
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.d.ts +28 -28
- package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +46 -46
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.d.ts +11 -11
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +18 -18
- package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.d.ts +6 -6
- package/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +11 -11
package/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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
|
import { InMemoryFileSystemProvider } from "@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/platform/files/common/inMemoryFilesystemProvider";
|
|
3
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
4
|
-
import { FileChangeType, FilePermission, FileSystemProviderCapabilities, FileType, type IFileSystemProvider, FileSystemProviderError, FileSystemProviderErrorCode, type IFileChange, type IFileDeleteOptions, type IFileOverwriteOptions, type IFileSystemProviderWithFileReadWriteCapability, type IFileWriteOptions, type IStat, type IWatchOptions, type IFileSystemProviderWithOpenReadWriteCloseCapability, type IFileSystemProviderWithFileReadStreamCapability, type IFileReadStreamOptions, type IFileSystemProviderWithFileAtomicReadCapability, type IFileSystemProviderWithFileAtomicWriteCapability, type IFileSystemProviderWithFileAtomicDeleteCapability } from "vscode/vscode/vs/platform/files/common/files";
|
|
5
|
-
import { type IDisposable, Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
6
|
-
import { Emitter, Event } from "vscode/vscode/vs/base/common/event";
|
|
7
|
-
import { HTMLFileSystemProvider } from "vscode/vscode/vs/platform/files/browser/htmlFileSystemProvider";
|
|
3
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
4
|
+
import { FileChangeType, FilePermission, FileSystemProviderCapabilities, FileType, type IFileSystemProvider, FileSystemProviderError, FileSystemProviderErrorCode, type IFileChange, type IFileDeleteOptions, type IFileOverwriteOptions, type IFileSystemProviderWithFileReadWriteCapability, type IFileWriteOptions, type IStat, type IWatchOptions, type IFileSystemProviderWithOpenReadWriteCloseCapability, type IFileSystemProviderWithFileReadStreamCapability, type IFileReadStreamOptions, type IFileSystemProviderWithFileAtomicReadCapability, type IFileSystemProviderWithFileAtomicWriteCapability, type IFileSystemProviderWithFileAtomicDeleteCapability } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
|
|
5
|
+
import { type IDisposable, Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
6
|
+
import { Emitter, Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
7
|
+
import { HTMLFileSystemProvider } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/browser/htmlFileSystemProvider";
|
|
8
8
|
import { IndexedDBFileSystemProvider } from "./vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js";
|
|
9
9
|
import { IndexedDB } from "@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/base/browser/indexedDB";
|
|
10
|
-
import { type ReadableStreamEvents } from "vscode/vscode/vs/base/common/stream";
|
|
11
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
10
|
+
import { type ReadableStreamEvents } from "@codingame/monaco-vscode-api/vscode/vs/base/common/stream";
|
|
11
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
12
12
|
interface _RegisteredNode {
|
|
13
13
|
type: FileType;
|
|
14
14
|
stats(): Promise<IStat>;
|
package/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { StandaloneServices } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
4
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { StandaloneServices } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
4
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
5
5
|
import { mkdirp, FileService } from './vscode/src/vs/platform/files/common/fileService.js';
|
|
6
|
-
import 'vscode/vscode/vs/platform/log/common/log';
|
|
7
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
6
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log';
|
|
7
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
8
8
|
import { InMemoryFileSystemProvider } from '@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/platform/files/common/inMemoryFilesystemProvider';
|
|
9
9
|
export { InMemoryFileSystemProvider } from '@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/platform/files/common/inMemoryFilesystemProvider';
|
|
10
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
11
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
12
|
-
import { FileType, FilePermission, createFileSystemProviderError, FileSystemProviderErrorCode, FileSystemProviderCapabilities, FileChangeType, FileSystemProviderError, hasFileReadStreamCapability } from 'vscode/vscode/vs/platform/files/common/files';
|
|
13
|
-
export { FileChangeType, FilePermission, FileSystemProviderCapabilities, FileSystemProviderError, FileSystemProviderErrorCode, FileType } from 'vscode/vscode/vs/platform/files/common/files';
|
|
14
|
-
import { Disposable, DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
15
|
-
import { extUri, basename, dirname } from 'vscode/vscode/vs/base/common/resources';
|
|
16
|
-
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
17
|
-
import { HTMLFileSystemProvider } from 'vscode/vscode/vs/platform/files/browser/htmlFileSystemProvider';
|
|
18
|
-
export { HTMLFileSystemProvider } from 'vscode/vscode/vs/platform/files/browser/htmlFileSystemProvider';
|
|
19
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
10
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
11
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
12
|
+
import { FileType, FilePermission, createFileSystemProviderError, FileSystemProviderErrorCode, FileSystemProviderCapabilities, FileChangeType, FileSystemProviderError, hasFileReadStreamCapability } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
13
|
+
export { FileChangeType, FilePermission, FileSystemProviderCapabilities, FileSystemProviderError, FileSystemProviderErrorCode, FileType } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
14
|
+
import { Disposable, DisposableStore, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
15
|
+
import { extUri, basename, dirname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
16
|
+
import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
17
|
+
import { HTMLFileSystemProvider } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/browser/htmlFileSystemProvider';
|
|
18
|
+
export { HTMLFileSystemProvider } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/browser/htmlFileSystemProvider';
|
|
19
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
20
20
|
import { IndexedDBFileSystemProvider } from './vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js';
|
|
21
21
|
import { IndexedDB } from '@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/base/browser/indexedDB';
|
|
22
22
|
export { IndexedDB } from '@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/base/browser/indexedDB';
|
|
23
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
23
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
24
24
|
import { BufferLogger } from '@codingame/monaco-vscode-cea4d01f-6526-5c2f-8b09-b168fead499f-common/vscode/vs/platform/log/common/bufferLog';
|
|
25
|
-
import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles.service';
|
|
25
|
+
import { ITextFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service';
|
|
26
26
|
import { BrowserTextFileService } from './vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js';
|
|
27
27
|
import { FilesConfigurationService } from '@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService';
|
|
28
|
-
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
28
|
+
import { IFilesConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
29
29
|
import { BrowserElevatedFileService } from './vscode/src/vs/workbench/services/files/browser/elevatedFileService.js';
|
|
30
|
-
import { IElevatedFileService } from 'vscode/vscode/vs/workbench/services/files/common/elevatedFileService.service';
|
|
31
|
-
import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
32
|
-
import { newWriteableStream, listenStream } from 'vscode/vscode/vs/base/common/stream';
|
|
33
|
-
import 'vscode/vscode/vs/base/common/cancellation';
|
|
34
|
-
import { registerServiceInitializePreParticipant, checkServicesNotInitialized } from 'vscode/lifecycle';
|
|
35
|
-
import { logsPath } from 'vscode/workbench';
|
|
30
|
+
import { IElevatedFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/files/common/elevatedFileService.service';
|
|
31
|
+
import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
32
|
+
import { newWriteableStream, listenStream } from '@codingame/monaco-vscode-api/vscode/vs/base/common/stream';
|
|
33
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
34
|
+
import { registerServiceInitializePreParticipant, checkServicesNotInitialized } from '@codingame/monaco-vscode-api/lifecycle';
|
|
35
|
+
import { logsPath } from '@codingame/monaco-vscode-api/workbench';
|
|
36
36
|
import '@codingame/monaco-vscode-15626ec7-b165-51e1-8caf-7bcc2ae9b95a-common/vscode/vs/workbench/contrib/files/browser/files.contribution._configuration';
|
|
37
37
|
|
|
38
38
|
class RegisteredDirectory {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-files-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - files service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common": "
|
|
19
|
-
"@codingame/monaco-vscode-15626ec7-b165-51e1-8caf-7bcc2ae9b95a-common": "
|
|
20
|
-
"@codingame/monaco-vscode-2e67e044-0db9-5fa6-8bd1-3737a7d586d4-common": "
|
|
21
|
-
"@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common": "
|
|
22
|
-
"@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common": "
|
|
23
|
-
"@codingame/monaco-vscode-cea4d01f-6526-5c2f-8b09-b168fead499f-common": "
|
|
24
|
-
"@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common": "
|
|
25
|
-
"vscode": "npm:@codingame/monaco-vscode-api@12.0.0"
|
|
18
|
+
"@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common": "13.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-15626ec7-b165-51e1-8caf-7bcc2ae9b95a-common": "13.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-2e67e044-0db9-5fa6-8bd1-3737a7d586d4-common": "13.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common": "13.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common": "13.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-cea4d01f-6526-5c2f-8b09-b168fead499f-common": "13.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common": "13.0.0"
|
|
26
25
|
},
|
|
27
26
|
"peerDependencies": {
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
29
|
-
"@codingame/monaco-vscode-
|
|
27
|
+
"@codingame/monaco-vscode-api": "13.0.0",
|
|
28
|
+
"@codingame/monaco-vscode-base-service-override": "13.0.0",
|
|
29
|
+
"@codingame/monaco-vscode-view-common-service-override": "13.0.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependenciesMeta": {
|
|
32
32
|
"@codingame/monaco-vscode-base-service-override": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
2
|
-
import { Disposable, IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
3
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
4
|
-
import { IFileDeleteOptions, IFileOverwriteOptions, FileSystemProviderCapabilities, FileType, IFileWriteOptions, IFileChange, IFileSystemProviderWithFileReadWriteCapability, IStat, IWatchOptions } from "vscode/vscode/vs/platform/files/common/files";
|
|
1
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
|
+
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
4
|
+
import { IFileDeleteOptions, IFileOverwriteOptions, FileSystemProviderCapabilities, FileType, IFileWriteOptions, IFileChange, IFileSystemProviderWithFileReadWriteCapability, IStat, IWatchOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
|
|
5
5
|
import { IndexedDB } from "@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/base/browser/indexedDB";
|
|
6
6
|
export type IndexedDBFileSystemProviderErrorDataClassification = {
|
|
7
7
|
owner: "sandy081";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import { Throttler } from 'vscode/vscode/vs/base/common/async';
|
|
3
|
-
import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
4
|
-
import { Event, Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
5
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
6
|
-
import { ExtUri } from 'vscode/vscode/vs/base/common/resources';
|
|
7
|
-
import { isString } from 'vscode/vscode/vs/base/common/types';
|
|
8
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
9
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
10
|
-
import { createFileSystemProviderError, FileSystemProviderErrorCode, FileType, FileSystemProviderCapabilities, FileChangeType, FileSystemProviderError } from 'vscode/vscode/vs/platform/files/common/files';
|
|
2
|
+
import { Throttler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
3
|
+
import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
4
|
+
import { Event, Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
5
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
6
|
+
import { ExtUri } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
7
|
+
import { isString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
8
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
9
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
10
|
+
import { createFileSystemProviderError, FileSystemProviderErrorCode, FileType, FileSystemProviderCapabilities, FileChangeType, FileSystemProviderError } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
11
11
|
import { DBClosedError } from '@codingame/monaco-vscode-2f06fe84-148e-5e6b-a7ca-c7989c5f128a-common/vscode/vs/base/browser/indexedDB';
|
|
12
12
|
import { BroadcastDataChannel } from '@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common/vscode/vs/base/browser/broadcast';
|
|
13
13
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { VSBuffer, VSBufferReadable, VSBufferReadableStream } from "vscode/vscode/vs/base/common/buffer";
|
|
2
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
3
|
-
import { Disposable, IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
4
|
-
import { IExtUri } from "vscode/vscode/vs/base/common/resources";
|
|
5
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
6
|
-
import { FileChangesEvent, IFileDeleteOptions, FileOperationEvent, FileSystemProviderCapabilities, ICreateFileOptions, IFileContent, IFileStat, IFileStatWithMetadata, IFileStreamContent, IFileSystemProvider, IFileSystemProviderActivationEvent, IFileSystemProviderCapabilitiesChangeEvent, IFileSystemProviderRegistrationEvent, IReadFileOptions, IReadFileStreamOptions, IResolveFileOptions, IFileStatResult, IFileStatResultWithMetadata, IResolveMetadataFileOptions, IFileStatWithPartialMetadata, IWriteFileOptions, IWatchOptionsWithCorrelation, IFileSystemWatcher, IWatchOptionsWithoutCorrelation } from "vscode/vscode/vs/platform/files/common/files";
|
|
7
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
8
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
1
|
+
import { VSBuffer, VSBufferReadable, VSBufferReadableStream } from "@codingame/monaco-vscode-api/vscode/vs/base/common/buffer";
|
|
2
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
3
|
+
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
4
|
+
import { IExtUri } from "@codingame/monaco-vscode-api/vscode/vs/base/common/resources";
|
|
5
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
6
|
+
import { FileChangesEvent, IFileDeleteOptions, FileOperationEvent, FileSystemProviderCapabilities, ICreateFileOptions, IFileContent, IFileStat, IFileStatWithMetadata, IFileStreamContent, IFileSystemProvider, IFileSystemProviderActivationEvent, IFileSystemProviderCapabilitiesChangeEvent, IFileSystemProviderRegistrationEvent, IReadFileOptions, IReadFileStreamOptions, IResolveFileOptions, IFileStatResult, IFileStatResultWithMetadata, IResolveMetadataFileOptions, IFileStatWithPartialMetadata, IWriteFileOptions, IWatchOptionsWithCorrelation, IFileSystemWatcher, IWatchOptionsWithoutCorrelation } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
|
|
7
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
8
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
9
9
|
export declare function mkdirp(providerExtUri: IExtUri, provider: IFileSystemProvider, directory: URI): Promise<void>;
|
|
10
10
|
export declare class FileService extends Disposable implements IFileService {
|
|
11
11
|
private readonly logService;
|
|
@@ -13,11 +13,11 @@ export declare class FileService extends Disposable implements IFileService {
|
|
|
13
13
|
private readonly BUFFER_SIZE;
|
|
14
14
|
constructor(logService: ILogService);
|
|
15
15
|
private readonly _onDidChangeFileSystemProviderRegistrations;
|
|
16
|
-
readonly onDidChangeFileSystemProviderRegistrations: import("vscode/vscode/vs/base/common/event").Event<IFileSystemProviderRegistrationEvent>;
|
|
16
|
+
readonly onDidChangeFileSystemProviderRegistrations: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<IFileSystemProviderRegistrationEvent>;
|
|
17
17
|
private readonly _onWillActivateFileSystemProvider;
|
|
18
|
-
readonly onWillActivateFileSystemProvider: import("vscode/vscode/vs/base/common/event").Event<IFileSystemProviderActivationEvent>;
|
|
18
|
+
readonly onWillActivateFileSystemProvider: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<IFileSystemProviderActivationEvent>;
|
|
19
19
|
private readonly _onDidChangeFileSystemProviderCapabilities;
|
|
20
|
-
readonly onDidChangeFileSystemProviderCapabilities: import("vscode/vscode/vs/base/common/event").Event<IFileSystemProviderCapabilitiesChangeEvent>;
|
|
20
|
+
readonly onDidChangeFileSystemProviderCapabilities: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<IFileSystemProviderCapabilitiesChangeEvent>;
|
|
21
21
|
private readonly provider;
|
|
22
22
|
registerProvider(scheme: string, provider: IFileSystemProvider): IDisposable;
|
|
23
23
|
getProvider(scheme: string): IFileSystemProvider | undefined;
|
|
@@ -33,7 +33,7 @@ export declare class FileService extends Disposable implements IFileService {
|
|
|
33
33
|
private withReadProvider;
|
|
34
34
|
private withWriteProvider;
|
|
35
35
|
private readonly _onDidRunOperation;
|
|
36
|
-
readonly onDidRunOperation: import("vscode/vscode/vs/base/common/event").Event<FileOperationEvent>;
|
|
36
|
+
readonly onDidRunOperation: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<FileOperationEvent>;
|
|
37
37
|
resolve(resource: URI, options: IResolveMetadataFileOptions): Promise<IFileStatWithMetadata>;
|
|
38
38
|
resolve(resource: URI, options?: IResolveFileOptions): Promise<IFileStat>;
|
|
39
39
|
private doResolveFile;
|
|
@@ -83,9 +83,9 @@ export declare class FileService extends Disposable implements IFileService {
|
|
|
83
83
|
cloneFile(source: URI, target: URI): Promise<void>;
|
|
84
84
|
private readonly internalOnDidFilesChange;
|
|
85
85
|
private readonly _onDidUncorrelatedFilesChange;
|
|
86
|
-
readonly onDidFilesChange: import("vscode/vscode/vs/base/common/event").Event<FileChangesEvent>;
|
|
86
|
+
readonly onDidFilesChange: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<FileChangesEvent>;
|
|
87
87
|
private readonly _onDidWatchError;
|
|
88
|
-
readonly onDidWatchError: import("vscode/vscode/vs/base/common/event").Event<Error>;
|
|
88
|
+
readonly onDidWatchError: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<Error>;
|
|
89
89
|
private readonly activeWatchers;
|
|
90
90
|
private static WATCHER_CORRELATION_IDS;
|
|
91
91
|
createWatcher(resource: URI, options: IWatchOptionsWithoutCorrelation): IFileSystemWatcher;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { coalesce } from 'vscode/vscode/vs/base/common/arrays';
|
|
4
|
-
import { ResourceQueue, Promises } from 'vscode/vscode/vs/base/common/async';
|
|
5
|
-
import { VSBuffer, bufferToReadable, streamToBuffer, newWriteableBufferStream, bufferedStreamToBuffer, readableToBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
6
|
-
import { CancellationTokenSource, CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
7
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
8
|
-
import { hash } from 'vscode/vscode/vs/base/common/hash';
|
|
9
|
-
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
10
|
-
import { Disposable, DisposableStore, toDisposable, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
11
|
-
import { TernarySearchTree } from 'vscode/vscode/vs/base/common/ternarySearchTree';
|
|
12
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
13
|
-
import { mark } from 'vscode/vscode/vs/base/common/performance';
|
|
14
|
-
import { isAbsolutePath, extUri, extUriIgnorePathCase } from 'vscode/vscode/vs/base/common/resources';
|
|
15
|
-
import { isReadableStream, peekStream, peekReadable, consumeStream, transform, newWriteableStream, isReadableBufferedStream, listenStream } from 'vscode/vscode/vs/base/common/stream';
|
|
16
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
17
|
-
import { FileType, toFileSystemProviderErrorCode, FileSystemProviderErrorCode, FileChangesEvent, FileOperationError, FileOperationResult, hasOpenReadWriteCloseCapability, hasReadWriteCapability, hasFileReadStreamCapability, ensureFileSystemProviderError, FilePermission, FileSystemProviderCapabilities, etag, FileOperationEvent, FileOperation, hasFileAtomicWriteCapability, toFileOperationResult, ETAG_DISABLED, hasFileAtomicReadCapability, NotModifiedSinceFileOperationError, TooLargeFileOperationError, hasFileFolderCopyCapability, hasFileAtomicDeleteCapability, hasFileCloneCapability } from 'vscode/vscode/vs/platform/files/common/files';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { coalesce } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
|
|
4
|
+
import { ResourceQueue, Promises } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
5
|
+
import { VSBuffer, bufferToReadable, streamToBuffer, newWriteableBufferStream, bufferedStreamToBuffer, readableToBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
6
|
+
import { CancellationTokenSource, CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
7
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
8
|
+
import { hash } from '@codingame/monaco-vscode-api/vscode/vs/base/common/hash';
|
|
9
|
+
import { Iterable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/iterator';
|
|
10
|
+
import { Disposable, DisposableStore, toDisposable, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
11
|
+
import { TernarySearchTree } from '@codingame/monaco-vscode-api/vscode/vs/base/common/ternarySearchTree';
|
|
12
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
13
|
+
import { mark } from '@codingame/monaco-vscode-api/vscode/vs/base/common/performance';
|
|
14
|
+
import { isAbsolutePath, extUri, extUriIgnorePathCase } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
15
|
+
import { isReadableStream, peekStream, peekReadable, consumeStream, transform, newWriteableStream, isReadableBufferedStream, listenStream } from '@codingame/monaco-vscode-api/vscode/vs/base/common/stream';
|
|
16
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
17
|
+
import { FileType, toFileSystemProviderErrorCode, FileSystemProviderErrorCode, FileChangesEvent, FileOperationError, FileOperationResult, hasOpenReadWriteCloseCapability, hasReadWriteCapability, hasFileReadStreamCapability, ensureFileSystemProviderError, FilePermission, FileSystemProviderCapabilities, etag, FileOperationEvent, FileOperation, hasFileAtomicWriteCapability, toFileOperationResult, ETAG_DISABLED, hasFileAtomicReadCapability, NotModifiedSinceFileOperationError, TooLargeFileOperationError, hasFileFolderCopyCapability, hasFileAtomicDeleteCapability, hasFileCloneCapability } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
18
18
|
import { readFileIntoStream } from './io.js';
|
|
19
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
20
|
-
import { ErrorNoTelemetry } from 'vscode/vscode/vs/base/common/errors';
|
|
19
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
20
|
+
import { ErrorNoTelemetry } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
21
21
|
|
|
22
22
|
var FileService_1;
|
|
23
23
|
function resourceForError(resource) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { VSBuffer } from "vscode/vscode/vs/base/common/buffer";
|
|
2
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
3
|
-
import { IDataTransformer, IErrorTransformer, WriteableStream } from "vscode/vscode/vs/base/common/stream";
|
|
4
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
5
|
-
import { IFileReadStreamOptions, IFileSystemProviderWithOpenReadWriteCloseCapability } from "vscode/vscode/vs/platform/files/common/files";
|
|
1
|
+
import { VSBuffer } from "@codingame/monaco-vscode-api/vscode/vs/base/common/buffer";
|
|
2
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
3
|
+
import { IDataTransformer, IErrorTransformer, WriteableStream } from "@codingame/monaco-vscode-api/vscode/vs/base/common/stream";
|
|
4
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
5
|
+
import { IFileReadStreamOptions, IFileSystemProviderWithOpenReadWriteCloseCapability } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
|
|
6
6
|
export interface ICreateReadStreamOptions extends IFileReadStreamOptions {
|
|
7
7
|
readonly bufferSize: number;
|
|
8
8
|
readonly errorTransformer?: IErrorTransformer;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
3
|
-
import { canceled } from 'vscode/vscode/vs/base/common/errors';
|
|
4
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
5
|
-
import { ensureFileSystemProviderError, createFileSystemProviderError, FileSystemProviderErrorCode } from 'vscode/vscode/vs/platform/files/common/files';
|
|
2
|
+
import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
3
|
+
import { canceled } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
4
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
5
|
+
import { ensureFileSystemProviderError, createFileSystemProviderError, FileSystemProviderErrorCode } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
6
6
|
|
|
7
7
|
async function readFileIntoStream(provider, resource, target, transformer, options, token) {
|
|
8
8
|
let error = undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { VSBuffer, VSBufferReadable, VSBufferReadableStream } from "vscode/vscode/vs/base/common/buffer";
|
|
2
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
3
|
-
import { IFileStatWithMetadata, IWriteFileOptions } from "vscode/vscode/vs/platform/files/common/files";
|
|
4
|
-
import { IElevatedFileService } from "vscode/vscode/vs/workbench/services/files/common/elevatedFileService.service";
|
|
1
|
+
import { VSBuffer, VSBufferReadable, VSBufferReadableStream } from "@codingame/monaco-vscode-api/vscode/vs/base/common/buffer";
|
|
2
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
3
|
+
import { IFileStatWithMetadata, IWriteFileOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
|
|
4
|
+
import { IElevatedFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/files/common/elevatedFileService.service";
|
|
5
5
|
export declare class BrowserElevatedFileService implements IElevatedFileService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
7
7
|
isSupported(resource: URI): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
3
|
-
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
2
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
3
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
4
4
|
|
|
5
5
|
class BrowserElevatedFileService {
|
|
6
6
|
isSupported(resource) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { AbstractTextFileService } from "./textFileService.js";
|
|
2
|
-
import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
3
|
-
import { ICodeEditorService } from "vscode/vscode/vs/editor/browser/services/codeEditorService";
|
|
4
|
-
import { IModelService } from "vscode/vscode/vs/editor/common/services/model";
|
|
5
|
-
import { ILanguageService } from "vscode/vscode/vs/editor/common/languages/language";
|
|
6
|
-
import { ITextResourceConfigurationService } from "vscode/vscode/vs/editor/common/services/textResourceConfiguration";
|
|
7
|
-
import { IFileDialogService } from "vscode/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
8
|
-
import { IDialogService } from "vscode/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
9
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
10
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
11
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
12
|
-
import { IElevatedFileService } from "vscode/vscode/vs/workbench/services/files/common/elevatedFileService.service";
|
|
13
|
-
import { IFilesConfigurationService } from "vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service";
|
|
14
|
-
import { ILifecycleService } from "vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
|
|
15
|
-
import { IPathService } from "vscode/vscode/vs/workbench/services/path/common/pathService.service";
|
|
16
|
-
import { IUntitledTextEditorService } from "vscode/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.service";
|
|
17
|
-
import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
18
|
-
import { IWorkingCopyFileService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
|
|
19
|
-
import { IDecorationsService } from "vscode/vscode/vs/workbench/services/decorations/common/decorations.service";
|
|
2
|
+
import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
3
|
+
import { ICodeEditorService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService";
|
|
4
|
+
import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model";
|
|
5
|
+
import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
|
|
6
|
+
import { ITextResourceConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration";
|
|
7
|
+
import { IFileDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
8
|
+
import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
9
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
10
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
11
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
12
|
+
import { IElevatedFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/files/common/elevatedFileService.service";
|
|
13
|
+
import { IFilesConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service";
|
|
14
|
+
import { ILifecycleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
|
|
15
|
+
import { IPathService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service";
|
|
16
|
+
import { IUntitledTextEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.service";
|
|
17
|
+
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
18
|
+
import { IWorkingCopyFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
|
|
19
|
+
import { IDecorationsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/decorations/common/decorations.service";
|
|
20
20
|
export declare class BrowserTextFileService extends AbstractTextFileService {
|
|
21
21
|
constructor(fileService: IFileService, untitledTextEditorService: IUntitledTextEditorService, lifecycleService: ILifecycleService, instantiationService: IInstantiationService, modelService: IModelService, environmentService: IWorkbenchEnvironmentService, dialogService: IDialogService, fileDialogService: IFileDialogService, textResourceConfigurationService: ITextResourceConfigurationService, filesConfigurationService: IFilesConfigurationService, codeEditorService: ICodeEditorService, pathService: IPathService, workingCopyFileService: IWorkingCopyFileService, uriIdentityService: IUriIdentityService, languageService: ILanguageService, elevatedFileService: IElevatedFileService, logService: ILogService, decorationsService: IDecorationsService);
|
|
22
22
|
private registerListeners;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { AbstractTextFileService } from './textFileService.js';
|
|
4
|
-
import { TextFileEditorModelState } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles';
|
|
5
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
6
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
7
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
8
|
-
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
9
|
-
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
10
|
-
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
11
|
-
import { ITextResourceConfigurationService } from 'vscode/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
12
|
-
import { IDialogService, IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.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 { IElevatedFileService } from 'vscode/vscode/vs/workbench/services/files/common/elevatedFileService.service';
|
|
16
|
-
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
17
|
-
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
18
|
-
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService.service';
|
|
19
|
-
import { IUntitledTextEditorService } from 'vscode/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.service';
|
|
20
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
21
|
-
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
22
|
-
import { IDecorationsService } from 'vscode/vscode/vs/workbench/services/decorations/common/decorations.service';
|
|
4
|
+
import { TextFileEditorModelState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles';
|
|
5
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
6
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
7
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
8
|
+
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
|
|
9
|
+
import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model';
|
|
10
|
+
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
|
|
11
|
+
import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
12
|
+
import { IDialogService, IFileDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.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 { IElevatedFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/files/common/elevatedFileService.service';
|
|
16
|
+
import { IFilesConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
17
|
+
import { ILifecycleService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
18
|
+
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
|
|
19
|
+
import { IUntitledTextEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.service';
|
|
20
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
21
|
+
import { IWorkingCopyFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
22
|
+
import { IDecorationsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/decorations/common/decorations.service';
|
|
23
23
|
|
|
24
24
|
let BrowserTextFileService = class BrowserTextFileService extends AbstractTextFileService {
|
|
25
25
|
constructor(fileService, untitledTextEditorService, lifecycleService, instantiationService, modelService, environmentService, dialogService, fileDialogService, textResourceConfigurationService, filesConfigurationService, codeEditorService, pathService, workingCopyFileService, uriIdentityService, languageService, elevatedFileService, logService, decorationsService) {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
2
|
-
import { ITextFileStreamContent, ITextFileContent, IResourceEncodings, IReadTextFileOptions, IWriteTextFileOptions, ITextFileSaveOptions, ITextFileEditorModelManager, IResourceEncoding, ITextFileSaveAsOptions, IReadTextFileEncodingOptions } from "vscode/vscode/vs/workbench/services/textfile/common/textfiles";
|
|
3
|
-
import { ITextFileService } from "vscode/vscode/vs/workbench/services/textfile/common/textfiles.service";
|
|
4
|
-
import { IRevertOptions } from "vscode/vscode/vs/workbench/common/editor";
|
|
5
|
-
import { ILifecycleService } from "vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
|
|
6
|
-
import { IFileStatWithMetadata, ICreateFileOptions } from "vscode/vscode/vs/platform/files/common/files";
|
|
7
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
8
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
9
|
-
import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
1
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
2
|
+
import { ITextFileStreamContent, ITextFileContent, IResourceEncodings, IReadTextFileOptions, IWriteTextFileOptions, ITextFileSaveOptions, ITextFileEditorModelManager, IResourceEncoding, ITextFileSaveAsOptions, IReadTextFileEncodingOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles";
|
|
3
|
+
import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service";
|
|
4
|
+
import { IRevertOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
5
|
+
import { ILifecycleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
|
|
6
|
+
import { IFileStatWithMetadata, ICreateFileOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
|
|
7
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
8
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
9
|
+
import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
10
10
|
import { IUntitledTextEditorModelManager } from "@codingame/monaco-vscode-view-common-service-override/vscode/vs/workbench/services/untitled/common/untitledTextEditorService";
|
|
11
|
-
import { IUntitledTextEditorService } from "vscode/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.service";
|
|
12
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
13
|
-
import { IModelService } from "vscode/vscode/vs/editor/common/services/model";
|
|
14
|
-
import { IFileDialogService } from "vscode/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
15
|
-
import { IDialogService } from "vscode/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
16
|
-
import { VSBuffer, VSBufferReadable, VSBufferReadableStream } from "vscode/vscode/vs/base/common/buffer";
|
|
17
|
-
import { ITextSnapshot } from "vscode/vscode/vs/editor/common/model";
|
|
18
|
-
import { ITextResourceConfigurationService } from "vscode/vscode/vs/editor/common/services/textResourceConfiguration";
|
|
19
|
-
import { IFilesConfigurationService } from "vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service";
|
|
20
|
-
import { ICodeEditorService } from "vscode/vscode/vs/editor/browser/services/codeEditorService";
|
|
21
|
-
import { IPathService } from "vscode/vscode/vs/workbench/services/path/common/pathService.service";
|
|
11
|
+
import { IUntitledTextEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.service";
|
|
12
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
13
|
+
import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model";
|
|
14
|
+
import { IFileDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
15
|
+
import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service";
|
|
16
|
+
import { VSBuffer, VSBufferReadable, VSBufferReadableStream } from "@codingame/monaco-vscode-api/vscode/vs/base/common/buffer";
|
|
17
|
+
import { ITextSnapshot } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
|
|
18
|
+
import { ITextResourceConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration";
|
|
19
|
+
import { IFilesConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service";
|
|
20
|
+
import { ICodeEditorService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService";
|
|
21
|
+
import { IPathService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service";
|
|
22
22
|
import { IFileOperationUndoRedoInfo } from "@codingame/monaco-vscode-base-service-override/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService";
|
|
23
|
-
import { IWorkingCopyFileService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
|
|
24
|
-
import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
25
|
-
import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
|
|
26
|
-
import { ReadableStream } from "vscode/vscode/vs/base/common/stream";
|
|
27
|
-
import { ILanguageService } from "vscode/vscode/vs/editor/common/languages/language";
|
|
28
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
29
|
-
import { IElevatedFileService } from "vscode/vscode/vs/workbench/services/files/common/elevatedFileService.service";
|
|
30
|
-
import { IDecorationsService } from "vscode/vscode/vs/workbench/services/decorations/common/decorations.service";
|
|
23
|
+
import { IWorkingCopyFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
|
|
24
|
+
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
25
|
+
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
26
|
+
import { ReadableStream } from "@codingame/monaco-vscode-api/vscode/vs/base/common/stream";
|
|
27
|
+
import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
|
|
28
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
29
|
+
import { IElevatedFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/files/common/elevatedFileService.service";
|
|
30
|
+
import { IDecorationsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/decorations/common/decorations.service";
|
|
31
31
|
export declare abstract class AbstractTextFileService extends Disposable implements ITextFileService {
|
|
32
32
|
protected readonly fileService: IFileService;
|
|
33
33
|
private untitledTextEditorService;
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { TextFileEditorModelState, TextFileOperationError, TextFileOperationResult, toBufferOrReadable, stringToSnapshot } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles';
|
|
5
|
-
import { SaveSourceRegistry } from 'vscode/vscode/vs/workbench/common/editor';
|
|
6
|
-
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
7
|
-
import { FileOperationResult } from 'vscode/vscode/vs/platform/files/common/files';
|
|
8
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
9
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
10
|
-
import { extname } from 'vscode/vscode/vs/base/common/path';
|
|
11
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
12
|
-
import { IUntitledTextEditorService } from 'vscode/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.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 { TextFileEditorModelState, TextFileOperationError, TextFileOperationResult, toBufferOrReadable, stringToSnapshot } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles';
|
|
5
|
+
import { SaveSourceRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
6
|
+
import { ILifecycleService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
7
|
+
import { FileOperationResult } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
8
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
9
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
10
|
+
import { extname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/path';
|
|
11
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
12
|
+
import { IUntitledTextEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.service';
|
|
13
13
|
import { UntitledTextEditorModel } from '@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common/vscode/vs/workbench/services/untitled/common/untitledTextEditorModel';
|
|
14
14
|
import { TextFileEditorModelManager } from '../common/textFileEditorModelManager.js';
|
|
15
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
16
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
17
|
-
import { createTextBufferFactoryFromStream, createTextBufferFactoryFromSnapshot } from 'vscode/vscode/vs/editor/common/model/textModel';
|
|
18
|
-
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
19
|
-
import { isEqual, toLocalResource, basename, dirname, joinPath, extname as extname$1 } from 'vscode/vscode/vs/base/common/resources';
|
|
20
|
-
import { IDialogService, IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
21
|
-
import { bufferToStream } from 'vscode/vscode/vs/base/common/buffer';
|
|
22
|
-
import { ITextResourceConfigurationService } from 'vscode/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
23
|
-
import { PLAINTEXT_LANGUAGE_ID } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
|
|
24
|
-
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
15
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
16
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
17
|
+
import { createTextBufferFactoryFromStream, createTextBufferFactoryFromSnapshot } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model/textModel';
|
|
18
|
+
import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model';
|
|
19
|
+
import { isEqual, toLocalResource, basename, dirname, joinPath, extname as extname$1 } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
20
|
+
import { IDialogService, IFileDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
21
|
+
import { bufferToStream } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
22
|
+
import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
23
|
+
import { PLAINTEXT_LANGUAGE_ID } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/modesRegistry';
|
|
24
|
+
import { IFilesConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
25
25
|
import { BaseTextEditorModel } from '@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common/vscode/vs/workbench/common/editor/textEditorModel';
|
|
26
|
-
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
27
|
-
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService.service';
|
|
28
|
-
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
29
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
30
|
-
import { WORKSPACE_EXTENSION } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
31
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
26
|
+
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
|
|
27
|
+
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
|
|
28
|
+
import { IWorkingCopyFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
29
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
30
|
+
import { WORKSPACE_EXTENSION } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace';
|
|
31
|
+
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
32
32
|
import { UTF8, DecodeStreamErrorKind, toEncodeReadable, toDecodeStream, UTF16be, UTF16le, UTF8_with_bom, encodingExists } from '@codingame/monaco-vscode-2e67e044-0db9-5fa6-8bd1-3737a7d586d4-common/vscode/vs/workbench/services/textfile/common/encoding';
|
|
33
|
-
import { consumeStream } from 'vscode/vscode/vs/base/common/stream';
|
|
34
|
-
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
35
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
36
|
-
import { CancellationTokenSource, CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
37
|
-
import { IElevatedFileService } from 'vscode/vscode/vs/workbench/services/files/common/elevatedFileService.service';
|
|
38
|
-
import { IDecorationsService } from 'vscode/vscode/vs/workbench/services/decorations/common/decorations.service';
|
|
39
|
-
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
40
|
-
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
41
|
-
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
42
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
43
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
44
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/editorColors';
|
|
45
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/inputColors';
|
|
46
|
-
import { listErrorForeground } from 'vscode/vscode/vs/platform/theme/common/colors/listColors';
|
|
47
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/menuColors';
|
|
48
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
49
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
50
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
51
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
33
|
+
import { consumeStream } from '@codingame/monaco-vscode-api/vscode/vs/base/common/stream';
|
|
34
|
+
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
|
|
35
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
36
|
+
import { CancellationTokenSource, CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
37
|
+
import { IElevatedFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/files/common/elevatedFileService.service';
|
|
38
|
+
import { IDecorationsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/decorations/common/decorations.service';
|
|
39
|
+
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
40
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
41
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
|
|
42
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/baseColors';
|
|
43
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
44
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/editorColors';
|
|
45
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/inputColors';
|
|
46
|
+
import { listErrorForeground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/listColors';
|
|
47
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/menuColors';
|
|
48
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
49
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/miscColors';
|
|
50
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
51
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
52
52
|
|
|
53
53
|
var AbstractTextFileService_1;
|
|
54
54
|
let AbstractTextFileService = class AbstractTextFileService extends Disposable {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
2
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
1
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
3
3
|
import { TextFileEditorModel } from "@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common/vscode/vs/workbench/services/textfile/common/textFileEditorModel";
|
|
4
|
-
import { IDisposable, Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
5
|
-
import { ITextFileEditorModel, ITextFileEditorModelManager, ITextFileEditorModelResolveOrCreateOptions, ITextFileResolveEvent, ITextFileSaveEvent, ITextFileSaveParticipant } from "vscode/vscode/vs/workbench/services/textfile/common/textfiles";
|
|
6
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
7
|
-
import { IFileService } from "vscode/vscode/vs/platform/files/common/files.service";
|
|
8
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
9
|
-
import { INotificationService } from "vscode/vscode/vs/platform/notification/common/notification.service";
|
|
4
|
+
import { IDisposable, Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
5
|
+
import { ITextFileEditorModel, ITextFileEditorModelManager, ITextFileEditorModelResolveOrCreateOptions, ITextFileResolveEvent, ITextFileSaveEvent, ITextFileSaveParticipant } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles";
|
|
6
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
7
|
+
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
8
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
9
|
+
import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
|
|
10
10
|
import { IStoredFileWorkingCopySaveParticipantContext } from "@codingame/monaco-vscode-base-service-override/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService";
|
|
11
|
-
import { IWorkingCopyFileService } from "vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
|
|
12
|
-
import { IUriIdentityService } from "vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
13
|
-
import { IProgress, IProgressStep } from "vscode/vscode/vs/platform/progress/common/progress";
|
|
11
|
+
import { IWorkingCopyFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
|
|
12
|
+
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
13
|
+
import { IProgress, IProgressStep } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress";
|
|
14
14
|
export declare class TextFileEditorModelManager extends Disposable implements ITextFileEditorModelManager {
|
|
15
15
|
private readonly instantiationService;
|
|
16
16
|
private readonly fileService;
|
|
@@ -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 { toErrorMessage } from 'vscode/vscode/vs/base/common/errorMessage';
|
|
5
|
-
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
6
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
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 { toErrorMessage } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errorMessage';
|
|
5
|
+
import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
6
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
7
7
|
import { TextFileEditorModel } from '@codingame/monaco-vscode-0c06bfba-d24d-5c4d-90cd-b40cefb7f811-common/vscode/vs/workbench/services/textfile/common/textFileEditorModel';
|
|
8
|
-
import { Disposable, DisposableStore, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
9
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
10
|
-
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
11
|
-
import { FileChangeType, FileOperation } from 'vscode/vscode/vs/platform/files/common/files';
|
|
12
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
13
|
-
import { ResourceQueue, Promises } from 'vscode/vscode/vs/base/common/async';
|
|
14
|
-
import { onUnexpectedError } from 'vscode/vscode/vs/base/common/errors';
|
|
8
|
+
import { Disposable, DisposableStore, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
9
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
10
|
+
import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
11
|
+
import { FileChangeType, FileOperation } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
12
|
+
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
13
|
+
import { ResourceQueue, Promises } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
14
|
+
import { onUnexpectedError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
15
15
|
import { TextFileSaveParticipant } from './textFileSaveParticipant.js';
|
|
16
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
17
|
-
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
18
|
-
import { joinPath, extname } from 'vscode/vscode/vs/base/common/resources';
|
|
19
|
-
import { createTextBufferFactoryFromSnapshot } from 'vscode/vscode/vs/editor/common/model/textModel';
|
|
20
|
-
import { PLAINTEXT_LANGUAGE_ID, PLAINTEXT_EXTENSION } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
|
|
21
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
16
|
+
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
17
|
+
import { IWorkingCopyFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
18
|
+
import { joinPath, extname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
19
|
+
import { createTextBufferFactoryFromSnapshot } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model/textModel';
|
|
20
|
+
import { PLAINTEXT_LANGUAGE_ID, PLAINTEXT_EXTENSION } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/modesRegistry';
|
|
21
|
+
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
22
22
|
|
|
23
23
|
let TextFileEditorModelManager = class TextFileEditorModelManager extends Disposable {
|
|
24
24
|
get models() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CancellationToken } from "vscode/vscode/vs/base/common/cancellation";
|
|
2
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
3
|
-
import { IProgress, IProgressStep } from "vscode/vscode/vs/platform/progress/common/progress";
|
|
4
|
-
import { IProgressService } from "vscode/vscode/vs/platform/progress/common/progress.service";
|
|
5
|
-
import { ITextFileSaveParticipant, ITextFileEditorModel, ITextFileSaveParticipantContext } from "vscode/vscode/vs/workbench/services/textfile/common/textfiles";
|
|
6
|
-
import { IDisposable, Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
1
|
+
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
2
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
3
|
+
import { IProgress, IProgressStep } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress";
|
|
4
|
+
import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service";
|
|
5
|
+
import { ITextFileSaveParticipant, ITextFileEditorModel, ITextFileSaveParticipantContext } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles";
|
|
6
|
+
import { IDisposable, Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
7
7
|
export declare class TextFileSaveParticipant extends Disposable {
|
|
8
8
|
private readonly logService;
|
|
9
9
|
private readonly progressService;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { raceCancellation } from 'vscode/vscode/vs/base/common/async';
|
|
4
|
-
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
5
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
6
|
-
import { ProgressLocation } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
7
|
-
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress.service';
|
|
8
|
-
import { Disposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
9
|
-
import { LinkedList } from 'vscode/vscode/vs/base/common/linkedList';
|
|
10
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
11
|
-
import { NotificationPriority } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
12
|
-
import { isCancellationError, CancellationError } from 'vscode/vscode/vs/base/common/errors';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { raceCancellation } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
4
|
+
import { CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
5
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
6
|
+
import { ProgressLocation } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress';
|
|
7
|
+
import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
|
|
8
|
+
import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
9
|
+
import { LinkedList } from '@codingame/monaco-vscode-api/vscode/vs/base/common/linkedList';
|
|
10
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
11
|
+
import { NotificationPriority } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification';
|
|
12
|
+
import { isCancellationError, CancellationError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
13
13
|
|
|
14
14
|
let TextFileSaveParticipant = class TextFileSaveParticipant extends Disposable {
|
|
15
15
|
constructor(logService, progressService) {
|