Skip to content

Commit

Permalink
Don't register zip scheme with VS Code
Browse files Browse the repository at this point in the history
This always creates an error message in the console log. as zip scheme is already registered.
  • Loading branch information
DavyLandman authored Sep 28, 2023
1 parent 3d70dae commit e01ef25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class RascalFileSystemProvider implements vscode.FileSystemProvider {
readonly client: LanguageClient;
private readonly _emitter = new vscode.EventEmitter<vscode.FileChangeEvent[]>();
readonly onDidChangeFile: vscode.Event<vscode.FileChangeEvent[]> = 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
Expand Down

0 comments on commit e01ef25

Please sign in to comment.