Dart Analyzer very slow/stuck
Dart & Flutter has suddenly become unusable slow in VSCode. Intellisense won't load within 30+ seconds, syntax highlighting won't update, jumping to code definitions loads infinitely, etc. This seems to be especially the case on bigger projects, on a newly created project it works fine. I tried switching to Android Studio which seems to behave similarly (maybe a little better). I tried uninstalling all extensions, even completely removing VSCode with any data stored and reinstalling it. As soon as I install the Dart extension, it is unusable. I also tried setting the following settings: "dart.previewLsp": true, "dart.useLegacyAnalyzerProtocol": true, "dart.useLsp": false, "dart.autoImportCompletions": false, I'm on macOS 14.4, VSCode Version 1.87.2 (Universal), In the Activity Monitor, there is the `dart:analysis_server.dart.snapshot` process running with around 1 GB of used memory. I'm not sure if this is normal. Here is a screenshot from the Dart Analyzer (which I'm also having trouble opening)  `dart info` output: #### General info - Dart 3.3.2 (stable) (Tue Mar 19 20:44:48 2024 +0000) on "macos_arm64" - on macos / Version 14.4 (Build 23E214) #### Project info - sdk constraint: '>=2.17.0 <3.0.0' #### Process info | Memory | CPU | Elapsed time | Command line
Posted by JonasJW on Mar 22, 2024, 8:52 PM
Tags
Related issues
- This is the biggest problem with contracts, there's simply no way to actually say "please always execute this check".
- I don't disagree with you on this, I worked my whole life in corporate and haven't worked as a OSS maintainer before, though I will _and ...
- the new VSCode UI, looks cute, i don't like it.
- I've been working on my own private harness for the past 8 months, and I've been collecting ideas from such repos I've stumbled upon.
- The way AI is able to interact with outside resources is pretty impressive, but the quality of code it produces to me is still questionab...
- Add PR-style review comments in Git Diff UI that feed into the active agent thread
Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments
ux (Software)
This is the biggest problem with contracts, there's simply no way to actually say "please always execute this check".
I don't disagree with you on this, I worked my whole life in corporate and haven't worked as a OSS maintainer before, though I will _and ...
the new VSCode UI, looks cute, i don't like it.
I've been working on my own private harness for the past 8 months, and I've been collecting ideas from such repos I've stumbled upon.
The way AI is able to interact with outside resources is pretty impressive, but the quality of code it produces to me is still questionab...
Add PR-style review comments in Git Diff UI that feed into the active agent thread
Thanks for indulging me so far, by the way, I really appreciate this discussion, it's very stimulating.
Migrate GDScript to the GDExtension mechanism and overhaul the implementation
Dart Analyzer very slow/stuck
Dart & Flutter has suddenly become unusable slow in VSCode. Intellisense won't load within 30+ seconds, syntax highlighting won't update, jumping to code definitions loads infinitely, etc. This seems to be especially the case on bigger projects, on a newly created project it works fine. I tried switching to Android Studio which seems to behave similarly (maybe a little better). I tried uninstalling all extensions, even completely removing VSCode with any data stored and reinstalling it. As soon as I install the Dart extension, it is unusable. I also tried setting the following settings: "dart.previewLsp": true, "dart.useLegacyAnalyzerProtocol": true, "dart.useLsp": false, "dart.autoImportCompletions": false, I'm on macOS 14.4, VSCode Version 1.87.2 (Universal), In the Activity Monitor, there is the `dart:analysis_server.dart.snapshot` process running with around 1 GB of used memory. I'm not sure if this is normal. Here is a screenshot from the Dart Analyzer (which I'm also having trouble opening)  `dart info` output: #### General info - Dart 3.3.2 (stable) (Tue Mar 19 20:44:48 2024 +0000) on "macos_arm64" - on macos / Version 14.4 (Build 23E214) #### Project info - sdk constraint: '>=2.17.0 <3.0.0' #### Process info | Memory | CPU | Elapsed time | Command line
Comments (0)
No comments yet. Start the discussion.