大佬教程收集整理的这篇文章主要介绍了VS Code ESLint 检查快速修复...不起作用,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我不确定这是否是最近的更新,但由于某种原因,我不再获得 ESlint 的快速修复。它会说“正在检查快速修复...”,但我不会显示任何内容。在 ESlint 服务器中,我可以看到可用的修复程序,但 VS Code 中缺少该命令。
[Trace - 5:30:49 PM] Received response 'textdocument/codeAction - (13)' in 0ms.
Result: [
{
"title": "disable no-unused-vars for this line","command": {
"title": "disable no-unused-vars for this line","command": "eslint.applydisableline","arguments": [
{
"uri": "file:///d%3A/Development/sfdx/insIDer/force-app/main/default/lwc/apexImperativeMethod/apexImperativeMethod.Js","version": 14,"rulEID": "no-unused-vars"
}
]
},"kind": "quickfix"
},{
"title": "disable no-unused-vars for the entire file","command": {
"title": "disable no-unused-vars for the entire file","command": "eslint.applydisablefile","arguments": [
{
"uri": "file:///",{
"title": "Show documentation for no-unused-vars","command": {
"title": "Show documentation for no-unused-vars","command": "eslint.openRuleDoc","kind": "quickfix"
}
]
同样的情况也发生在我身上,在尝试了多种对我有用的方法后,我重新安装了代码,这意味着卸载代码、删除扩展文件夹并安装代码,然后安装扩展。快速修复又回来了。
以上是大佬教程为你收集整理的VS Code ESLint 检查快速修复...不起作用全部内容,希望文章能够帮你解决VS Code ESLint 检查快速修复...不起作用所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。