New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support class name intellisense (links) without scoped attribute #1038
Comments
Oops my bad, everything works fine in vue2 setup. I just noticed that absense of |
It can do but I think we should not do it, because the class name is globally, if it can linking users will misunderstand that volar resolved to the accurate class location. But volar only check current SFC but not try to search global classes. |
Yes, I understand that. I'm just asking to do this, because I have extremely large legacy codebase that I'm working on, and for several reasons we can't just enable Please can we add a setting, that would be disabled by default with the description that it won't be accurate. This way I would understand what I'm doing. Also, I just switched to |
This is a quick implementation that doesn't currently do much premature optimization due to not being a stable design feature. (Actually based on some refactoring ideas,
You need to typing first character |
Is it feasible to support class links in
vue2withoutscoped
?It would be extremely handly if I could just jump into class declaration in
style
block.As I can understand it only works with vue3 & composition API.Related: pranaygp/vscode-css-peek#126
The text was updated successfully, but these errors were encountered: