@codingame/monaco-vscode-files-service-override
Advanced tools
Comparing version 9.0.2 to 9.0.3
{ | ||
"name": "@codingame/monaco-vscode-files-service-override", | ||
"version": "9.0.2", | ||
"version": "9.0.3", | ||
"keywords": [], | ||
@@ -29,4 +29,4 @@ "author": { | ||
"dependencies": { | ||
"vscode": "npm:@codingame/monaco-vscode-api@9.0.2" | ||
"vscode": "npm:@codingame/monaco-vscode-api@9.0.3" | ||
} | ||
} |
@@ -13,9 +13,9 @@ import { Throttler } from 'vscode/vscode/vs/base/common/async'; | ||
const ERR_FILE_NOT_FOUND = createFileSystemProviderError(( localize(726, "File does not exist")), FileSystemProviderErrorCode.FileNotFound); | ||
const ERR_FILE_IS_DIR = createFileSystemProviderError(( localize(727, "File is Directory")), FileSystemProviderErrorCode.FileIsADirectory); | ||
const ERR_FILE_NOT_DIR = createFileSystemProviderError(( localize(728, "File is not a directory")), FileSystemProviderErrorCode.FileNotADirectory); | ||
const ERR_DIR_NOT_EMPTY = createFileSystemProviderError(( localize(729, "Directory is not empty")), FileSystemProviderErrorCode.Unknown); | ||
const ERR_FILE_EXCEEDS_STORAGE_QUOTA = createFileSystemProviderError(( localize(730, "File exceeds available storage quota")), FileSystemProviderErrorCode.FileExceedsStorageQuota); | ||
const ERR_FILE_NOT_FOUND = createFileSystemProviderError(( localize(728, "File does not exist")), FileSystemProviderErrorCode.FileNotFound); | ||
const ERR_FILE_IS_DIR = createFileSystemProviderError(( localize(729, "File is Directory")), FileSystemProviderErrorCode.FileIsADirectory); | ||
const ERR_FILE_NOT_DIR = createFileSystemProviderError(( localize(730, "File is not a directory")), FileSystemProviderErrorCode.FileNotADirectory); | ||
const ERR_DIR_NOT_EMPTY = createFileSystemProviderError(( localize(731, "Directory is not empty")), FileSystemProviderErrorCode.Unknown); | ||
const ERR_FILE_EXCEEDS_STORAGE_QUOTA = createFileSystemProviderError(( localize(732, "File exceeds available storage quota")), FileSystemProviderErrorCode.FileExceedsStorageQuota); | ||
const ERR_UNKNOWN_INTERNAL = (message) => createFileSystemProviderError(( localize( | ||
731, | ||
733, | ||
"Internal error occurred in IndexedDB File System Provider. ({0})", | ||
@@ -22,0 +22,0 @@ message |
@@ -72,3 +72,3 @@ import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer'; | ||
if (typeof options?.limits?.size === 'number' && totalBytesRead > options.limits.size) { | ||
throw createFileSystemProviderError(localize(4503, "File is too large to open"), FileSystemProviderErrorCode.FileTooLarge); | ||
throw createFileSystemProviderError(localize(4531, "File is too large to open"), FileSystemProviderErrorCode.FileTooLarge); | ||
} | ||
@@ -75,0 +75,0 @@ return true; |
@@ -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(4504, "File Created"))); } | ||
static { this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('textFileOverwrite.source', ( localize(4505, "File Replaced"))); } | ||
static { this.TEXTFILE_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('textFileCreate.source', ( localize(4532, "File Created"))); } | ||
static { this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('textFileOverwrite.source', ( localize(4533, "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(4506, "Text File Model Decorations")); | ||
this.label = ( localize(4534, "Text File Model Decorations")); | ||
this._onDidChange = this._register(( (new Emitter()))); | ||
@@ -116,3 +116,3 @@ this.onDidChange = this._onDidChange.event; | ||
strikethrough: true, | ||
tooltip: ( localize(4507, "Deleted, Read-only")), | ||
tooltip: ( localize(4535, "Deleted, Read-only")), | ||
}; | ||
@@ -123,3 +123,3 @@ } | ||
letter: Codicon.lockSmall, | ||
tooltip: ( localize(4508, "Read-only")), | ||
tooltip: ( localize(4536, "Read-only")), | ||
}; | ||
@@ -131,3 +131,3 @@ } | ||
strikethrough: true, | ||
tooltip: ( localize(4509, "Deleted")), | ||
tooltip: ( localize(4537, "Deleted")), | ||
}; | ||
@@ -186,3 +186,3 @@ } | ||
throw ( (new TextFileOperationError( | ||
localize(4510, "File seems to be binary and cannot be opened as text"), | ||
localize(4538, "File seems to be binary and cannot be opened as text"), | ||
TextFileOperationResult.FILE_IS_BINARY, | ||
@@ -405,3 +405,3 @@ options | ||
message: ( localize( | ||
4511, | ||
4539, | ||
"'{0}' already exists. Do you want to replace it?", | ||
@@ -411,3 +411,3 @@ basename(resource) | ||
detail: ( localize( | ||
4512, | ||
4540, | ||
"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(4513, "&&Replace")), | ||
primaryButton: ( localize(4541, "&&Replace")), | ||
}); | ||
@@ -426,8 +426,8 @@ return confirmed; | ||
message: ( localize( | ||
4514, | ||
4542, | ||
"'{0}' is marked as read-only. Do you want to save anyway?", | ||
basename(resource) | ||
)), | ||
detail: ( localize(4515, "Paths can be configured as read-only via settings.")), | ||
primaryButton: ( localize(4516, "&&Save Anyway")) | ||
detail: ( localize(4543, "Paths can be configured as read-only via settings.")), | ||
primaryButton: ( localize(4544, "&&Save Anyway")) | ||
}); | ||
@@ -434,0 +434,0 @@ return confirmed; |
+ Added@codingame/monaco-vscode-api@9.0.3(transitive)
+ Added@codingame/monaco-vscode-base-service-override@9.0.3(transitive)
+ Added@codingame/monaco-vscode-environment-service-override@9.0.3(transitive)
+ Added@codingame/monaco-vscode-extensions-service-override@9.0.3(transitive)
+ Added@codingame/monaco-vscode-host-service-override@9.0.3(transitive)
+ Added@codingame/monaco-vscode-layout-service-override@9.0.3(transitive)
+ Added@codingame/monaco-vscode-quickaccess-service-override@9.0.3(transitive)
- Removed@codingame/monaco-vscode-api@9.0.2(transitive)
- Removed@codingame/monaco-vscode-base-service-override@9.0.2(transitive)
- Removed@codingame/monaco-vscode-environment-service-override@9.0.2(transitive)
- Removed@codingame/monaco-vscode-extensions-service-override@9.0.2(transitive)
- Removed@codingame/monaco-vscode-host-service-override@9.0.2(transitive)
- Removed@codingame/monaco-vscode-layout-service-override@9.0.2(transitive)
- Removed@codingame/monaco-vscode-quickaccess-service-override@9.0.2(transitive)