microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.79k stars 29.48k forks source link

Vscode recommends depricated extension TypeScript Vue Plugin( (Volar) #207269

Closed kingma-sbw closed 8 months ago

kingma-sbw commented 8 months ago

Does this issue occur when all extensions are disabled?: Yes/No yes

Steps to Reproduce:

  1. Open a vue project
  2. Volar is recommended, click on install,
  3. After Installation it shows as This extension is deprecated. Use the Vue - Official extension instead.
theking2 commented 8 months ago

The text that appears: Do you want to install the recommended 'TypeScript Vue Plugin (Volar)' extension from Vue for this repository?

panthablack commented 8 months ago

I just replicated this in a python project with no .js, .ts or .vue files in it. It also appears in an @recommended extension search.

isidorn commented 8 months ago

We actually do not recommend Vue.vscode-typescript-vue-plugin from vscode anywhere. It looks like the repository you are opening is recommending a deprecated extension. I suggest to reach out to the repository owner to tell them to recommend the new extension vue.volar

@sandy081 maybe there should be a way in core to change repository extension recommendation for deprecated extensions.

kingma-sbw commented 8 months ago

That is interesting . Is it part of a workspace file or repo to recommend extensions?

isidorn commented 8 months ago

Yeah, look under the top level .vscode folder in the repository.

panthablack commented 8 months ago

Yeah, it could be added as a feature request, for vscode to offer to remove deprecated recommendations from the extensions.json file (the culprit here, which I think was automatically added when creating a new Vue project with TS using Vue CLI and/or Vite) where vscode is currently suggesting to install it?