Skip to content

It takes 15 seconds for completions to appear in large files after errors #1128

@Jarred-Sumner

Description

@Jarred-Sumner

Zig Version

0.11.0-dev.2401+348751462

Zig Language Server Version

HEAD

Steps to Reproduce

Make a change in this file https://github.com/oven-sh/bun/blob/0cc56e8efce9c7d4905b3649827bf9b40a677b25/src/js_parser.zig#L5901

Expected Behavior

It should be instant

Actual Behavior

It seems to process a queue of errors and each error to process takes considerable time, so the more times you save the slower it gets.

Here is a 15 second gif (note that it was not slowed down)

vid

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions