Comments (6)
Just upgraded to 2.0.6 this morning on a vue/webpack project and am not seeing this issue.
I have a separate vue/nuxt project that seems to have lost all typing for any imported components or nuxt builtins though. HTML elements seem fine.
"nuxt": "^3.10.3",
"vue": "^3.4.19",
![image](https://private-user-images.githubusercontent.com/410558/313268147-2eb9df19-0381-4741-8285-191a260b57d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTUyMjgxMTksIm5iZiI6MTcxNTIyNzgxOSwicGF0aCI6Ii80MTA1NTgvMzEzMjY4MTQ3LTJlYjlkZjE5LTAzODEtNDc0MS04Mjg1LTE5MWEyNjBiNTdkMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUwOVQwNDEwMTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lY2NkOWIyOGFhZTgzMDQyYjc2NzdmNDY0MzRiZWIyMTg4YTVjMjE3NDhkNjYxNmVlMzRiYjU1MmRmNTgxNGEyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.wRVHjxd2gkW-BKFZPKVNYWDTuW2sOAUdXEprJYJbUz8)
Seem to have lost all intellisense for node_modules
![image](https://private-user-images.githubusercontent.com/410558/313268952-16375a1f-14da-4e23-80b0-b253e72fc657.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTUyMjgxMTksIm5iZiI6MTcxNTIyNzgxOSwicGF0aCI6Ii80MTA1NTgvMzEzMjY4OTUyLTE2Mzc1YTFmLTE0ZGEtNGUyMy04MGIwLWIyNTNlNzJmYzY1Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUwOVQwNDEwMTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMDdiZjIwYzA3NjE0Mjk1N2JlNjFmZDAwYWRjYjljYWM5YmYzNjI5ZTNmMjRiM2M4MWZiYTZhMTc0ZDg4ODRhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.z0iu7EiifgkTRZd0M6yER-0Tq8SXjsIsAnLa5zIsMW8)
Downgrading to 2.0.5 did not resolve.
from language-tools.
Got it - in my case it was due to #3942 - having the styled-components extension installed.
disabling styled-components.vscode-styled-components
resolved, does not seem to be Vue extension version related. I was able to use v2.0.6 once I disabled. Difference between the 2 contexts for me was due to the extension already being disabled via a workspace extensions.json that I did not account for.
from language-tools.
My colleagues do not seem to be having this issue but it is consistent for me. Feedback appreciated
from language-tools.
Same issue for me in Nuxt. Vue highlighting is not working in 2.0.6.
The fix is to revert back to Vue - Official 2.0.5
from language-tools.
Not Nuxt related I'm on Vue / Vite (Rollup)
from language-tools.
Does it work now? Should be fixed by #4119
from language-tools.
Related Issues (20)
- How to specify typescript path to volar lsp HOT 2
- Showing false _declared but not used_ errors for functions used in `v-on="{}"`
- How to use format HOT 2
- `language-plugin-pug` unused prop with `v-slot` and `v-for`
- missing auto closing tags in template HOT 1
- Is Vue.Volar still the recommended formatter since the new Vue - Official extension has been released? HOT 1
- IntelliSense is not working HOT 26
- Hybrid Mode Discussion HOT 3
- TypeScript checks partially fail when not using anonymous functions in templates HOT 1
- 使用泛型hook,ts类型推断错误 / Using generic hook, ts type inference error HOT 5
- V2.0.16 code folding function disabled. HOT 6
- vue-tsc think that unregister component is unknown in template tag
- some mistakes HOT 1
- dts emit file(.vue.d.ts) that has ts prompt error HOT 1
- Syntax highlight breaks when using directives/mixins on Vue2 with TS HOT 1
- Vue TSC & computed-refs HOT 1
- vscode ref 类型的变量 .value 自动保存不会补全 HOT 1
- Types imported in the `<script setup>` should not be used as a variable in template
- ``.foo`` -> ``foo`` when renaming classname within ``scoped``
- vue-official导致项目全部报错 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-tools.