-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
New Release (1.2.4) Breaks SFC Integration #68
Comments
@phobetron It is a diagnostic message at the "hint level" ( The same will be displayed in VSCode's This is a feature added in this release of
If you want to hide this message, set {
// ...snip
"diagnostic.showDeprecated": false,
"diagnostic.showUnused": false,
// ...snip
} |
Alternatively, it can be suppressed by setting {
// ...snip
"diagnostic.level": "information",
// ...snip
} |
@yaegassy Do you know why those messages are displayed, even for props and computed properties that are verifiably referenced within the template? They are not deprecated, and the hints do not disappear when deprecation diagnostics are disabled. I would like to see hints for unused variables, but these are not unused. |
@phobetron If the problem is also reproduced in VSCode, it would be better to ask the question in vetur's itself issue. |
I use I'd be shocked if I'm the only one with this issue, unless I'm the only person who uses Vue, TS, |
Most vue users use VSCode without TS I think. You can check the output https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel |
@phobetron I have also tried other LSP client plugins. The situation is the same for "vim-lsp" and "Neovim built-in lsp" with the latest version of You may find something related to the "vetur" issue. For example, this issue. vuejs/vetur#2646 Since you seem to think it is a big issue, I still think you should ask the question in the vetur's issue. |
False positives triggered by default are a pretty big issue, especially if the solution to remove them may also remove meaningful messages. I'll ask the |
After upgrading to the latest release of
coc-vetur
, I've started receiving errors such as:This error is displayed for props, computed properties, and watcher methods, while using
vue-property-decorator
in a SFC.This issue can be mitigated by downgrading
coc-vetur
to version1.2.3
.Edit: I am also using a local
eslint
configuration for my project, which works as expected on1.2.3
.The text was updated successfully, but these errors were encountered: