[Bug] Folding not working for big json objects
rubenmampaeyis opened this issue · comments
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
In an Angular project:
- Display a very big json file 200.000+ lines
- After all the data is loaded call
this._instance.getAction('editor.foldLevel2').run();
- Every object starting from line 168840 isn't folded
Actual (Problematic) Behavior
Not all objects are folded correctly.
Expected Behavior
All objects should fold correctly despite the length of the file.
Additional Context
No response