0.37.1及以上版本会导致vscode部分代码提示插件失效,回退以下版本正常
binggana opened this issue · comments
binggana commented
- I have searched through existing issues
- I have read through docs
- I have read FAQ
- I have tried restarting VS Code or running
Vetur: Restart VLS
Info
- Platform: Win
- Vetur version: 0.37.1
- VS Code version: 1.75.1
- TypeScript version:
- Vetur output:
Output
<!-- Run VSCode command `Vetur: Show output panel` -->
Vetur initialized
[INFO ] Loaded bundled typescript@4.9.5.
[INFO ] Loaded bundled prettier.
[INFO ] Loaded bundled @starptech/prettyhtml.
[INFO ] Loaded bundled prettier-eslint.
[INFO ] Loaded bundled prettier-tslint.
[INFO ] Loaded bundled stylus-supremacy.
[INFO ] Loaded bundled @prettier/plugin-pug.
[Error - 10:58:11] Request textDocument/codeAction failed.
Message: Request textDocument/codeAction failed with message: (0 , rCe.default)(...).filter is not a function
Code: -32603
Doctor output
在.vue文件下执行Vetur: Show doctor info命令,输出
Failed to doctor. Make sure the current file is a .vue file.
<!-- Run VSCode command `Vetur: Show doctor info` -->
Failed to doctor. Make sure the current file is a .vue file.
Problem
** 使用Vue Vscode Snippets插件在vue2项目中无法正常使用代码提示和代码块生成功能,Vetur回退至0.36.1既恢复正常 **