language-tools: Problems count goes bananas (up and down ad infinitum)

Vue - Official extension or vue-tsc version

Vue - Official extension

VSCode version

1.90.2

Vue version

3.4.30

TypeScript version

5.5.2

System Info

System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M3
    Memory: 171.89 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/Library/Caches/fnm_multishells/12157_1719844539387/bin/node
    Yarn: 1.22.22 - ~/Library/Caches/fnm_multishells/12157_1719844539387/bin/yarn
    npm: 10.2.4 - ~/Library/Caches/fnm_multishells/12157_1719844539387/bin/npm
    pnpm: 9.4.0 - ~/Library/Caches/fnm_multishells/12157_1719844539387/bin/pnpm
  Browsers:
    Safari: 17.4.1

Steps to reproduce

  1. clone https://github.com/varfish-org/varfish-server (needs git-lfs)
  2. open VSCode with the official Vue extension installed

What is expected?

A calm editing experience that does not heat up my laptop

What is actually happening?

https://github.com/vuejs/language-tools/assets/4051932/42d3ed60-203a-4cf4-be2c-a53e4f9d7099

(the loop is not in the video but in reality)

Link to minimal reproduction

No response

Any additional comments?

This problem disappears when disabling the extension, hence it looks like the culprit

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

I fix my problem. In global VS Code settings file I found line: "typescript.tsserver.experimental.enableProjectDiagnostics": true I removed this line and it resolve problem

Investigation record:

  1. The problem still exists when disabling all extensions and only enabling Vue - Official
  2. The problem disappears when Hybird Mode is disabled.
  3. The problem no longer occurs when Hybrid Mode is enabled again.

Other informations:

  • Cannot reproduce on my machine with same repo setup.

@johnsoncodehk it’s gregor91