Skip to content

Extremely slow dart language server and analyzer #22702

Open
@kedarkarkee

Description

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

It is fine for smaller projects but when project gets larger, the dart language server gets extremely slow. It takes a lot of time to add a single field in the class constructor. Same goes for code completions and suggestions.

Zed Version and System Specs

Zed: v0.167.1 (Zed)
OS: macOS 15.2.0
Memory: 8 GiB
Architecture: aarch64

If applicable, add screenshots or screencasts of the incorrect state / behavior

dart_analyzer.mov

If applicable, attach your Zed.log file to this issue.

Zed.log
[Zed.log](https://github.com/user-attachments/files/18317338/Zed.log)

Metadata

Assignees

No one assigned

    Labels

    bug[core label]dartDart programming language supportlanguageAn umbrella label for all programming languages syntax behaviorslanguage serverAn umbrella label for all language serversperformanceFeedback for performance issues, speed, memory usage, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions