redhat-developer / redhat-developer/vscode-yaml
Opening large yaml file locks vscode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
Type: Performance Issue
Given a large yaml file over 50k lines.
When I look at the file.
Then VSCode stops responding for several minutes until it finally times out.
I'd expect VSCode to be running the extension in a background, or otherwise give some indication it's processing, or otherwise remain responsive.
Extension version: 1.12.2
VS Code version: Code 1.78.1 (Universal) (6a995c4f4cc2ced6e3237749973982e751cb0bf9, 2023-05-04T09:57:42.343Z)
OS version: Darwin arm64 22.4.0
Modes:
Sandboxed: No
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 Pro (10 x 24) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | 9, 7, 7 |
| Memory (System) | 32.00GB (4.27GB free) |
| Process Argv | |
| Screen Reader | no |
| VM | 0% |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in VS Code 1.78.1 with the vscode-yaml extension and a YAML file exceeding 50,000 lines. Observe the extension and editor while opening the file, then compare responsiveness and timeout behavior against the report. Done means opening the file does not lock VS Code for several minutes, or the processing state is clearly surfaced without making the editor unresponsive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode, yaml
- Domain
- developer-experience, performance, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100