-
-
Notifications
You must be signed in to change notification settings - Fork 484
Description
Vue - Official extension or vue-tsc version
3.0.5
VSCode version
Cursor 1.3.9
Vue version
3.5.18
TypeScript version
5.9.2
System Info
System:
OS: macOS 15.3.2
CPU: (8) arm64 Apple M1 Pro
Memory: 128.91 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.5.0 - ~/.nvm/versions/node/v24.5.0/bin/node
npm: 11.5.1 - ~/.nvm/versions/node/v24.5.0/bin/npm
bun: 1.1.38 - ~/.bun/bin/bun
Watchman: 2025.03.10.00 - /opt/homebrew/bin/watchman
package.json dependencies
{
"$schema": "http://json.schemastore.org/package",
"name": "admin",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint . --cache --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
"format": "prettier --write src/",
"test": "vitest",
"coverage": "vitest run --coverage",
"deploy-dev": "./scripts/deploy-dev",
"deploy-staging": "./scripts/deploy-staging"
},
"dependencies": {
"@headlessui/vue": "^1.7.23",
"@primeuix/themes": "^1.2.3",
"@primevue/themes": "^4.3.7",
"@tabler/icons-vue": "^3.34.1",
"@tailwindcss/forms": "^0.5.10",
"@vueuse/core": "^13.6.0",
"axios": "^1.11.0",
"iso-3166-1": "^2.1.1",
"just-capitalize": "^3.2.0",
"just-clone": "^6.2.0",
"just-debounce-it": "^3.2.0",
"just-is-empty": "^3.4.1",
"just-kebab-case": "^4.2.0",
"just-memoize": "^2.2.0",
"pinia": "^3.0.3",
"primeicons": "^7.0.0",
"primevue": "^4.3.7",
"sortablejs": "^1.15.6",
"vue": "^3.5.18",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@primevue/auto-import-resolver": "^4.3.7",
"@tailwindcss/vite": "^4.1.11",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/sortablejs": "^1.15.8",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.6.0",
"@vue/tsconfig": "^0.7.0",
"autoprefixer": "^10.4.21",
"axios-mock-adapter": "^2.1.0",
"eslint": "^9.32.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-vue": "^10.4.0",
"jsdom": "^26.1.0",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"tailwindcss": "^4.1.11",
"tailwindcss-primeui": "^0.6.1",
"typescript": "^5.9.2",
"unplugin-vue-components": "^28.8.0",
"vite": "^7.0.6",
"vitest": "^3.2.4"
}
}
Steps to reproduce
- Open any Vue 3 + TypeScript project
- Make some intentional type errors in TypeScript files (preferably in 2-3 files, not necessarily .vue files)
- See how the "Problems" tab keeps refreshing the problem list non-stop every 1 second. When there are many files with many TS errors, my Mac starts lagging
What is expected?
It should not lint the files for errors so often
What is actually happening?
When I am opening multiple typescript files (not necessarily .vue files) in my Cursor with some TS type errors, my CPU and GPU is going through the roof, sometimes I cannot even use my Mac at all (MacBook Pro 2021, M1 Pro chip) because everything is freezing and the fan is going crazy.
This issue is that the "Problems" tab keeps refreshing the problem list every 1 second or so (see screencase link below).
I was disabling the extensions one by one to find the reason, and I'm now pretty confident that it is the "Vue (Official)" extension that is causing it because:
- Uninstalling it solves the CPU and GPU issue
- The "Problems" tab stops refreshing the results every 1 second (and I presume re-linting the files)
Fixing all TS errors also helps, but not as good.
See screencast:
https://drive.google.com/file/d/1VCisKAAcSpTErm-SQpw2AYf2L7azjD0o/view?usp=sharing
Also, see my "Energy" tab on mac without the Vue extension installed.

and here's with Vue extension installed (same project files opened, waited for 1 minute after Cursor restart):

Link to minimal reproduction
No response
Any additional comments?
No response