Skip to content

TS problems "flickering" #5250

@arpadgabor

Description

@arpadgabor

Vue - Official extension or vue-tsc version

vue-tsc: 2.2.8, vue extension: 2.2.8

VSCode version

1.97.2

Vue version

3.5.13

TypeScript version

5.7.3

System Info

System:
    OS: Linux 6.11 Fedora Linux 41 (Workstation Edition)
    CPU: (32) x64 AMD Ryzen 9 7950X3D 16-Core Processor
    Memory: 44.87 GB / 62.00 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
    npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
    pnpm: 10.4.0 - ~/.nvm/versions/node/v22.14.0/bin/pnpm

package.json dependencies

"dependencies": {
    "@unovis/ts": "^1.5.1",
    "@unovis/vue": "^1.5.1",
    "@vee-validate/zod": "^4.15.0",
    "@vueuse/core": "^12.7.0",
    "class-variance-authority": "^0.7.1",
    "clsx": "^2.1.1",
    "embla-carousel-vue": "^8.5.2",
    "lucide-vue-next": "^0.477.0",
    "reka-ui": "^2.0.2",
    "tailwind-merge": "^3.0.2",
    "tailwindcss-animate": "^1.0.7",
    "vaul-vue": "^0.3.0",
    "vee-validate": "^4.15.0",
    "vue": "3.5.13",
    "vue-router": "4.5.0",
    "vue-sonner": "^1.3.0",
    "zod": "^3.24.2"
  },
  "devDependencies": {
    "@tsconfig/node22": "^22.0.0",
    "@types/node": "22.13.9",
    "@vitejs/plugin-vue": "5.2.1",
    "@vue/tsconfig": "0.7.0",
    "autoprefixer": "^10.4.20",
    "npm-run-all2": "7.0.2",
    "tailwindcss": "3",
    "typescript": "5.7.3",
    "vite": "6.2.0",
    "vite-plugin-vue-devtools": "7.7.2",
    "vue-tsc": "2.2.8"
  },

Steps to reproduce

Once a project contains a reasonable size of components, it's very easy to get the language server to show and hide errors constantly.

What is expected?

The language server should be stable in error reporting.

What is actually happening?

It keeps showing and hiding errors which is very distracting and in more complex projects some errors are not shown at all and are only discovered when running vue-tsc.

vue-ts-flickering.mp4

Link to minimal reproduction

The project was generated with pnpm create vue@latest and then added all shadncn-vue components.

https://github.com/arpadgabor/vue-ts-problems

Any additional comments?

This is now in Linux, but it happens in Windows and with WSL as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions