@codingame/monaco-vscode-files-service-override
Advanced tools
Comparing version 8.0.2 to 8.0.3
{ | ||
"name": "@codingame/monaco-vscode-files-service-override", | ||
"version": "8.0.2", | ||
"version": "8.0.3", | ||
"keywords": [], | ||
@@ -29,4 +29,4 @@ "author": { | ||
"dependencies": { | ||
"vscode": "npm:@codingame/monaco-vscode-api@8.0.2" | ||
"vscode": "npm:@codingame/monaco-vscode-api@8.0.3" | ||
} | ||
} |
@@ -13,9 +13,9 @@ import { Throttler } from 'vscode/vscode/vs/base/common/async'; | ||
const ERR_FILE_NOT_FOUND = createFileSystemProviderError(( localize(1064, "File does not exist")), FileSystemProviderErrorCode.FileNotFound); | ||
const ERR_FILE_IS_DIR = createFileSystemProviderError(( localize(1065, "File is Directory")), FileSystemProviderErrorCode.FileIsADirectory); | ||
const ERR_FILE_NOT_DIR = createFileSystemProviderError(( localize(1066, "File is not a directory")), FileSystemProviderErrorCode.FileNotADirectory); | ||
const ERR_DIR_NOT_EMPTY = createFileSystemProviderError(( localize(1067, "Directory is not empty")), FileSystemProviderErrorCode.Unknown); | ||
const ERR_FILE_EXCEEDS_STORAGE_QUOTA = createFileSystemProviderError(( localize(1068, "File exceeds available storage quota")), FileSystemProviderErrorCode.FileExceedsStorageQuota); | ||
const ERR_FILE_NOT_FOUND = createFileSystemProviderError(( localize(1038, "File does not exist")), FileSystemProviderErrorCode.FileNotFound); | ||
const ERR_FILE_IS_DIR = createFileSystemProviderError(( localize(1039, "File is Directory")), FileSystemProviderErrorCode.FileIsADirectory); | ||
const ERR_FILE_NOT_DIR = createFileSystemProviderError(( localize(1040, "File is not a directory")), FileSystemProviderErrorCode.FileNotADirectory); | ||
const ERR_DIR_NOT_EMPTY = createFileSystemProviderError(( localize(1041, "Directory is not empty")), FileSystemProviderErrorCode.Unknown); | ||
const ERR_FILE_EXCEEDS_STORAGE_QUOTA = createFileSystemProviderError(( localize(1042, "File exceeds available storage quota")), FileSystemProviderErrorCode.FileExceedsStorageQuota); | ||
const ERR_UNKNOWN_INTERNAL = (message) => createFileSystemProviderError(( localize( | ||
1069, | ||
1043, | ||
"Internal error occurred in IndexedDB File System Provider. ({0})", | ||
@@ -22,0 +22,0 @@ message |
@@ -37,3 +37,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
throw ( (new Error(localize( | ||
1036, | ||
1044, | ||
"Unable to create folder '{0}' that already exists but is not a directory", | ||
@@ -153,3 +153,3 @@ resourceForError(directory) | ||
throw ( (new FileOperationError(localize( | ||
1037, | ||
1045, | ||
"Unable to resolve filesystem provider with relative file path '{0}'", | ||
@@ -164,3 +164,3 @@ this.resourceForError(resource) | ||
error.message = ( localize( | ||
1038, | ||
1046, | ||
"ENOPRO: No file system provider found for resource '{0}'", | ||
@@ -198,3 +198,3 @@ (resource.toString()) | ||
throw ( (new FileOperationError(localize( | ||
1039, | ||
1047, | ||
"Unable to resolve nonexistent file '{0}'", | ||
@@ -310,3 +310,3 @@ this.resourceForError(resource) | ||
throw ( (new FileOperationError(localize( | ||
1040, | ||
1048, | ||
"Unable to create file '{0}' that already exists when overwrite flag is not set", | ||
@@ -369,3 +369,3 @@ this.resourceForError(resource) | ||
throw ( (new FileOperationError(localize( | ||
1041, | ||
1049, | ||
"Unable to write file '{0}' ({1})", | ||
@@ -382,3 +382,3 @@ this.resourceForError(resource), | ||
throw ( (new Error(localize( | ||
1042, | ||
1050, | ||
"Unable to unlock file '{0}' because provider does not support it.", | ||
@@ -392,3 +392,3 @@ this.resourceForError(resource) | ||
throw ( (new Error(localize( | ||
1043, | ||
1051, | ||
"Unable to atomically write file '{0}' because provider does not support it.", | ||
@@ -400,3 +400,3 @@ this.resourceForError(resource) | ||
throw ( (new Error(localize( | ||
1044, | ||
1052, | ||
"Unable to atomically write file '{0}' because provider does not support unbuffered writes.", | ||
@@ -408,3 +408,3 @@ this.resourceForError(resource) | ||
throw ( (new Error(localize( | ||
1045, | ||
1053, | ||
"Unable to unlock file '{0}' because atomic write is enabled.", | ||
@@ -424,3 +424,3 @@ this.resourceForError(resource) | ||
throw ( (new FileOperationError(localize( | ||
1046, | ||
1054, | ||
"Unable to write file '{0}' that is actually a directory", | ||
@@ -435,3 +435,3 @@ this.resourceForError(resource) | ||
throw ( (new FileOperationError( | ||
localize(1047, "File Modified Since"), | ||
localize(1055, "File Modified Since"), | ||
FileOperationResult.FILE_MODIFIED_SINCE, | ||
@@ -523,3 +523,3 @@ options | ||
const message = ( localize( | ||
1048, | ||
1056, | ||
"Unable to read file '{0}' ({1})", | ||
@@ -590,3 +590,3 @@ this.resourceForError(resource), | ||
throw ( (new FileOperationError(localize( | ||
1049, | ||
1057, | ||
"Unable to read file '{0}' that is actually a directory", | ||
@@ -597,3 +597,3 @@ this.resourceForError(resource) | ||
if (typeof options?.etag === 'string' && options.etag !== ETAG_DISABLED && options.etag === stat.etag) { | ||
throw ( (new NotModifiedSinceFileOperationError(localize(1050, "File not modified since"), stat, options))); | ||
throw ( (new NotModifiedSinceFileOperationError(localize(1058, "File not modified since"), stat, options))); | ||
} | ||
@@ -606,3 +606,3 @@ this.validateReadFileLimits(resource, stat.size, options); | ||
throw ( (new TooLargeFileOperationError(localize( | ||
1051, | ||
1059, | ||
"Unable to read file '{0}' that is too large to open", | ||
@@ -729,3 +729,3 @@ this.resourceForError(resource) | ||
throw ( (new Error(localize( | ||
1052, | ||
1060, | ||
"Unable to copy when source '{0}' is same as target '{1}' with different path case on a case insensitive file system", | ||
@@ -738,3 +738,3 @@ this.resourceForError(source), | ||
throw ( (new Error(localize( | ||
1053, | ||
1061, | ||
"Unable to move/copy when source '{0}' is parent of target '{1}'.", | ||
@@ -750,3 +750,3 @@ this.resourceForError(source), | ||
throw ( (new FileOperationError(localize( | ||
1054, | ||
1062, | ||
"Unable to move/copy '{0}' because target '{1}' already exists at destination.", | ||
@@ -761,3 +761,3 @@ this.resourceForError(source), | ||
throw ( (new Error(localize( | ||
1055, | ||
1063, | ||
"Unable to move/copy '{0}' into '{1}' since a file would replace the folder it is contained in.", | ||
@@ -807,3 +807,3 @@ this.resourceForError(source), | ||
throw ( (new Error(localize( | ||
1056, | ||
1064, | ||
"Unable to delete file '{0}' via trash because provider does not support it.", | ||
@@ -816,3 +816,3 @@ this.resourceForError(resource) | ||
throw ( (new Error(localize( | ||
1057, | ||
1065, | ||
"Unable to delete file '{0}' atomically because provider does not support it.", | ||
@@ -824,3 +824,3 @@ this.resourceForError(resource) | ||
throw ( (new Error(localize( | ||
1058, | ||
1066, | ||
"Unable to atomically delete file '{0}' because using trash is enabled.", | ||
@@ -841,3 +841,3 @@ this.resourceForError(resource) | ||
throw ( (new FileOperationError(localize( | ||
1059, | ||
1067, | ||
"Unable to delete nonexistent file '{0}'", | ||
@@ -852,3 +852,3 @@ this.resourceForError(resource) | ||
throw ( (new Error(localize( | ||
1060, | ||
1068, | ||
"Unable to delete non-empty folder '{0}'.", | ||
@@ -1114,3 +1114,3 @@ this.resourceForError(resource) | ||
throw ( (new FileOperationError(localize( | ||
1061, | ||
1069, | ||
"Unable to modify read-only file '{0}'", | ||
@@ -1125,3 +1125,3 @@ this.resourceForError(resource) | ||
throw ( (new FileOperationError(localize( | ||
1061, | ||
1069, | ||
"Unable to modify read-only file '{0}'", | ||
@@ -1128,0 +1128,0 @@ this.resourceForError(resource) |
@@ -56,4 +56,4 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
static { AbstractTextFileService_1 = this; } | ||
static { this.TEXTFILE_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('textFileCreate.source', ( localize(4800, "File Created"))); } | ||
static { this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('textFileOverwrite.source', ( localize(4801, "File Replaced"))); } | ||
static { this.TEXTFILE_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('textFileCreate.source', ( localize(4803, "File Created"))); } | ||
static { this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('textFileOverwrite.source', ( localize(4804, "File Replaced"))); } | ||
constructor(fileService, untitledTextEditorService, lifecycleService, instantiationService, modelService, environmentService, dialogService, fileDialogService, textResourceConfigurationService, filesConfigurationService, codeEditorService, pathService, workingCopyFileService, uriIdentityService, languageService, logService, elevatedFileService, decorationsService) { | ||
@@ -88,3 +88,3 @@ super(); | ||
this.files = files; | ||
this.label = ( localize(4802, "Text File Model Decorations")); | ||
this.label = ( localize(4805, "Text File Model Decorations")); | ||
this._onDidChange = this._register(( (new Emitter()))); | ||
@@ -116,3 +116,3 @@ this.onDidChange = this._onDidChange.event; | ||
strikethrough: true, | ||
tooltip: ( localize(4803, "Deleted, Read-only")), | ||
tooltip: ( localize(4806, "Deleted, Read-only")), | ||
}; | ||
@@ -123,3 +123,3 @@ } | ||
letter: Codicon.lockSmall, | ||
tooltip: ( localize(4804, "Read-only")), | ||
tooltip: ( localize(4807, "Read-only")), | ||
}; | ||
@@ -131,3 +131,3 @@ } | ||
strikethrough: true, | ||
tooltip: ( localize(4805, "Deleted")), | ||
tooltip: ( localize(4808, "Deleted")), | ||
}; | ||
@@ -186,3 +186,3 @@ } | ||
throw ( (new TextFileOperationError( | ||
localize(4806, "File seems to be binary and cannot be opened as text"), | ||
localize(4809, "File seems to be binary and cannot be opened as text"), | ||
TextFileOperationResult.FILE_IS_BINARY, | ||
@@ -405,3 +405,3 @@ options | ||
message: ( localize( | ||
4807, | ||
4810, | ||
"'{0}' already exists. Do you want to replace it?", | ||
@@ -411,3 +411,3 @@ basename(resource) | ||
detail: ( localize( | ||
4808, | ||
4811, | ||
"A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.", | ||
@@ -417,3 +417,3 @@ basename(resource), | ||
)), | ||
primaryButton: ( localize(4809, "&&Replace")), | ||
primaryButton: ( localize(4812, "&&Replace")), | ||
}); | ||
@@ -426,8 +426,8 @@ return confirmed; | ||
message: ( localize( | ||
4810, | ||
4813, | ||
"'{0}' is marked as read-only. Do you want to save anyway?", | ||
basename(resource) | ||
)), | ||
detail: ( localize(4811, "Paths can be configured as read-only via settings.")), | ||
primaryButton: ( localize(4812, "&&Save Anyway")) | ||
detail: ( localize(4814, "Paths can be configured as read-only via settings.")), | ||
primaryButton: ( localize(4815, "&&Save Anyway")) | ||
}); | ||
@@ -434,0 +434,0 @@ return confirmed; |
+ Added@codingame/monaco-vscode-api@8.0.3(transitive)
+ Added@codingame/monaco-vscode-base-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-environment-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-extensions-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-host-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-layout-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-quickaccess-service-override@8.0.3(transitive)
- Removed@codingame/monaco-vscode-api@8.0.2(transitive)
- Removed@codingame/monaco-vscode-base-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-environment-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-extensions-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-host-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-layout-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-quickaccess-service-override@8.0.2(transitive)