Skip to content

Tokenization is still active for large files even with editor.largeFileOptimizations enabled #240918

@jamestut

Description

@jamestut

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

  • VS Code Version: 1.97.2
  • OS Version: macOS 15.3.1 arm64

Tokenization features such as syntax highlighting still carries on for huge files even if the editor.largeFileOptimizations option is active.

Steps to Reproduce:

  1. Get a source code file larger than 100 MB.
  2. Enable the editor.largeFileOptimizations settings (it should be enabled by default).
  3. On the first open, tokenization features is not active (e.g. no syntax highlighting).
  4. On subsequent open, tokenization features will be active (e.g. syntax highlighting active).

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-textbufferEditor text bufferverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions