From e01ef25aa7f0ed06f1c8fbd93994ada047f73156 Mon Sep 17 00:00:00 2001 From: Davy Landman Date: Thu, 28 Sep 2023 20:43:54 +0200 Subject: [PATCH] Don't register zip scheme with VS Code This always creates an error message in the console log. as zip scheme is already registered. --- rascal-vscode-extension/src/fs/RascalFileSystemProviders.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rascal-vscode-extension/src/fs/RascalFileSystemProviders.ts b/rascal-vscode-extension/src/fs/RascalFileSystemProviders.ts index d5cbcf15d..08ae7ec50 100644 --- a/rascal-vscode-extension/src/fs/RascalFileSystemProviders.ts +++ b/rascal-vscode-extension/src/fs/RascalFileSystemProviders.ts @@ -31,7 +31,7 @@ export class RascalFileSystemProvider implements vscode.FileSystemProvider { readonly client: LanguageClient; private readonly _emitter = new vscode.EventEmitter(); readonly onDidChangeFile: vscode.Event = this._emitter.event; - private readonly protectedSchemes:string[] = ["file", "http", "https", "unknown"]; + private readonly protectedSchemes:string[] = ["file", "http", "https", "unknown", "zip"]; /** * Registers a single FileSystemProvider for every URI scheme that Rascal supports, except