Skip to content

Opening large binary files reads full contents #138805

@kaala

Description

@kaala

Does this issue occur when all extensions are disabled?: Yes

Version: 1.63.0 (Universal)
OS: Darwin x64 20.6.0

Steps to Reproduce:

  1. open a folder contains some very large zip files
  2. select the zip files
  3. edit pane become unresponsive
  4. after a long time, edit pane display message: The file is not displayed in the editor because it is either binary or uses an unsupported text encoding

I don't want to open zip file in vscode, but there are some time I select the file by mistake. and then vscode freeze for a long time.
This happens both in vscode and vscode remote ssh.
I need a file extension blacklist, or make the binary detect fast.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugfile-ioFile I/OimportantIssue identified as high-priorityverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions