vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.88k stars 408 forks source link

插件 2.1.10 在 vscode 1.95.3 中无法使用 #5023

Closed WangJincheng4869 closed 3 days ago

WangJincheng4869 commented 3 days ago

Vue - Official extension or vue-tsc version

2.1.10

VSCode version

1.95.3

Vue version

3.5.13

TypeScript version

5.6.3

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (24) x64 AMD Ryzen 9 9900X 12-Core Processor
    Memory: 27.51 GB / 47.63 GB
  Binaries:
    Node: 22.11.0 - D:\Program Files\nodejs\node.EXE
    npm: 9.4.0 - D:\Users\jcwang\AppData\Roaming\npm\npm.CMD
    pnpm: 9.13.2 - D:\Users\jcwang\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Chromium (128.0.2739.42)
    Internet Explorer: 11.0.26100.1882

package.json dependencies

{
"dependencies": {
    "@better-scroll/core": "^2.5.1",
    "@better-scroll/mouse-wheel": "^2.5.1",
    "@better-scroll/pull-down": "^2.5.1",
    "@better-scroll/scroll-bar": "^2.5.1",
    "@ckeditor/ckeditor5-vue": "^7.3.0",
    "@designable/core": "1.0.0-beta.45",
    "@designable/formily-transformer": "1.0.0-beta.45",
    "@designable/shared": "1.0.0-beta.45",
    "@element-plus/icons-vue": "^2.3.1",
    "@formily/core": "^2.3.2",
    "@formily/grid": "^2.3.2",
    "@formily/json-schema": "^2.3.2",
    "@formily/path": "^2.3.2",
    "@formily/reactive": "^2.3.2",
    "@formily/reactive-vue": "^2.3.2",
    "@formily/shared": "^2.3.2",
    "@formily/vue": "^2.3.2",
    "@guolao/vue-monaco-editor": "^1.5.4",
    "@logicflow/core": "^2.0.9",
    "@logicflow/extension": "^2.0.13",
    "@logicflow/vue-node-registry": "^1.0.11",
    "@vueuse/components": "^12.0.0",
    "@vueuse/core": "^12.0.0",
    "@vueuse/integrations": "^12.0.0",
    "axios": "^1.7.8",
    "ckeditor5-simperfect-build": "^43.3.1",
    "classnames": "^2.5.1",
    "cropperjs": "2.0.0-rc.0",
    "dayjs": "^1.11.13",
    "decimal.js": "^10.4.3",
    "echarts": "^5.5.1",
    "echarts-wordcloud": "^2.1.0",
    "element-plus": "^2.8.8",
    "html2canvas": "^1.4.1",
    "jsencrypt": "^3.3.2",
    "jwt-decode": "^4.0.0",
    "lodash": "^4.17.21",
    "lodash-es": "^4.17.21",
    "lodash-unified": "^1.0.3",
    "mark.js": "^8.11.1",
    "minimatch": "^10.0.1",
    "monaco-editor": "^0.50.0",
    "nanoid": "^5.0.9",
    "nodejs-jieba": "^0.2.1",
    "nprogress": "^0.2.0",
    "photoswipe": "^5.4.4",
    "pinia": "^2.2.7",
    "pinyin-pro": "^3.26.0",
    "print-js": "^1.6.0",
    "prismjs": "^1.29.0",
    "recorder-core": "^1.3.24102001",
    "resize-observer-polyfill": "^1.5.1",
    "sortablejs": "^1.15.5",
    "spark-md5": "^3.0.2",
    "sql-formatter": "10.1.1",
    "video.js": "^8.20.0",
    "videojs-wavesurfer": "^3.10.0",
    "vue": "^3.5.13",
    "vue-i18n": "^10.0.5",
    "vue-router": "^4.5.0",
    "vuedraggable": "^4.1.0",
    "wavesurfer.js": "^7.8.9",
    "xlsx": "^0.20.0"
  },
  "devDependencies": {
    "@babel/parser": "^7.26.2",
    "@intlify/unplugin-vue-i18n": "^6.0.0",
    "@types/lodash-es": "^4.17.12",
    "@types/mark.js": "^8.11.12",
    "@types/node": "^22.10.1",
    "@types/nprogress": "^0.2.3",
    "@types/prismjs": "^1.26.5",
    "@types/spark-md5": "^3.0.5",
    "@vitejs/plugin-vue": "^5.2.1",
    "@vitejs/plugin-vue-jsx": "^4.1.1",
    "@vue/tsconfig": "^0.7.0",
    "@vuepress/bundler-vite": "2.0.0-rc.18",
    "@vuepress/plugin-redirect": "2.0.0-rc.57",
    "@vuepress/plugin-register-components": "2.0.0-rc.54",
    "@vuepress/plugin-shiki": "2.0.0-rc.57",
    "autoprefixer": "^10.4.20",
    "cross-env": "^7.0.3",
    "less": "^4.2.1",
    "mermaid": "^11.4.1",
    "postcss": "^8.4.49",
    "prettier": "^3.4.1",
    "rollup-plugin-visualizer": "^5.12.0",
    "sass": "~1.79.6",
    "tailwindcss": "^3.4.15",
    "typescript": "~5.6.3",
    "unplugin-auto-import": "^0.18.6",
    "unplugin-vue-components": "^0.27.5",
    "vite": "^6.0.1",
    "vite-plugin-compression2": "^1.3.3",
    "vite-plugin-prismjs": "^0.0.11",
    "vite-svg-loader": "^5.1.0",
    "vue-component-type-helpers": "^2.1.10",
    "vue-tsc": "^2.1.10",
    "vuepress": "2.0.0-rc.18",
    "vuepress-plugin-search-pro": "2.0.0-rc.59",
    "vuepress-theme-hope": "2.0.0-rc.59"
  },
}

Steps to reproduce

  1. 2.1.10 在 vscode 1.95.3 中无法使用,回退 2.1.8 只有就可以了
  2. 但是我另一台笔记本是可以使用的
  3. 我尝试写在 vscode 重新安装但是没有效果
  4. 我也尝试将 user 目录下的 .vscode 目录删除后再重新安装,但是依旧没用

What is expected?

希望可以使用

What is actually happening?

2.1.10 插件无法使用,请问如何彻底卸载这个插件让它重新开始工作?

Link to minimal reproduction

No response

Any additional comments?

No response

KazariEX commented 3 days ago

在 VSCode 里面卸载之后到扩展目录中删除所有 vue.volar 开头的文件夹(一般在 .vscode/extensions),然后再试试重新安装。

WangJincheng4869 commented 3 days ago

在 VSCode 里面卸载之后到扩展目录中删除所有 vue.volar 开头的文件夹(一般在 .vscode/extensions),然后再试试重新安装。

用户目录那个吧,刚才试了一下,还是不能用。 图片

KazariEX commented 3 days ago

方便远程看看吗 https://github.com/vuejs/language-tools/wiki/Help-Us-Investigate-Issues-Remotely

WangJincheng4869 commented 3 days ago

方便远程看看吗 https://github.com/vuejs/language-tools/wiki/Help-Us-Investigate-Issues-Remotely

可以的,约个时间可以用腾讯会议。

WangJincheng4869 commented 3 days ago

方便远程看看吗 https://github.com/vuejs/language-tools/wiki/Help-Us-Investigate-Issues-Remotely

非常感谢,我这刚才一看已经好使了。太玄学了,之前也重启过电脑。感觉就是VSCode 有啥缓存导致的。