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
Private functions used in template getting highlighted as declared but never #2646
Comments
Duplicate of #1261 |
It is same problem in #1261. |
@yoyo930021 still don't think this is a duplicate. What do you mean by more suggestions in the script area? #1243 was a working fix until one of the recent updates and now it has stopped working. |
Typescript error each has a code to it. From the screenshot you provides, it seems like a different one from the PR you linked. As for "`more suggestions", I think means it's a new typescript suggestion diagnostic being introduced. Which is more like a possible refactor or code smell issue. |
It isn't a regression. Same:
Not same:
The nature of the problem is same as #1261. So I closed this issue.
They don't generate suggestion diagnostics in |
I have the same problem |
Vetur: Restart VLS
Info
Problem
Something changed very recently which has caused all of my private functions only used within the templates to be highlighted as declared but never read. It appears this might be a regression as it looks like this was handled with a workaround here:
#1243
Here is an older issue that is still open talking a bit more about the original issue that prompted the workaround:
#1261
Reproducible Case
The text was updated successfully, but these errors were encountered: