bancolombia / dart-code-linter

Dart Code Linter is a software analytics tool that helps developers analyse and improve software quality. Dart Code Linter is based on a fork of Dart Code Metrics. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
https://dcl.apps.bancolombia.com/
MIT License
35 stars 20 forks source link

High CPU usage on VSCode, endless analyzing loop #117

Open juandiago opened 6 months ago

juandiago commented 6 months ago

Describe the error Hey! First of all, thanks for your package. I noticed that on my project using vscode with dart_code_linter enabled, I have and endless "analyzing" loop that hogs my CPU and kills my lp battery. Any idea what might be causing this? As soon as I remove dart_code_linter from my yaml. configuration, everything returns to normal.

How ​​to replicate the bug Step by step to reproduce the error:

  1. Open a project on vscode
  2. Enable dart_code_linter
  3. Watch the analyzer server running in a loop

Runtime environment

Happy to help, If you guys need more information

app-toolkit-opensource-innersource[bot] commented 6 months ago

Assign to review: @santitigaga @ajtortolero

juandiago commented 5 months ago

Updating to Flutter 3.16.5(Dart 3.2.3) seems to fix the issue. I was using Flutter 3.13.5.

Closing.

juandiago commented 5 months ago

on closer examination, issue is still present on 3.16.5

EDIT: seems to be vscode related, I'll try to gather more information....