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
Unneeded reference to css class #1989
Comments
Repo that includes this simple index.vue file: rchl/volar-vue2-test |
I've tested it only now and while the code lens shows only one reference now, the returned list on clicking still includes both. |
This is intentional because I think its results should be consistent with right click -> "Fine References". |
But it's not how it works in plain JS/TS, for example. If you define a function and show references for it then it won't show the function definition itself. |
I see, will make it consistent with plain JS/TS, thanks for bringing this up! |
Note how the code lens for the
.some-class
includes 2 references but there is only one use of.some-class
in the file:I believe the references lens should not include the class definition itself.
The text was updated successfully, but these errors were encountered: