简体   繁体   English

VSCode 不显示语法错误和 Error lens extension is not working

[英]VSCode does not show syntax errors and Error lens extension is not working

I tried to uninstall VSCode, cleaned up all data files, uninstalled all the extensions.我尝试卸载 VSCode,清理所有数据文件,卸载所有扩展。 None of them was working for me.他们都没有为我工作。 please help!!!请帮忙!!! 在此处输入图像描述

i encountered same problem, make new workspace folder and it will solve the issue我遇到了同样的问题,创建新的工作区文件夹,它将解决问题

enter image description here open workspace/folder and select the file from vscode explorer, don't open the file directly在此处输入图像描述打开工作区/文件夹和 select 来自 vscode 资源管理器的文件,不要直接打开文件

Type in Command palette of VS Code "Enable Error Squiggles".. This worked for me!!输入 VS 代码的命令面板“启用错误波浪线”。这对我有用!!

Go to vsccode settings and type Error Lens: Enabled转到 vsccode 设置并键入Error Lens: Enabled
Make sure you check the box.确保选中该框。 Hope this helps希望这可以帮助

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Vector3.MoveTowards 不工作。 它不会移动或显示任何错误 - Vector3.MoveTowards not working. It does not move or show any errors 带有 vscode 和 C# 扩展的 Ubuntu 19.10 上的 Unity3D:出现错误并且自动完成功能不起作用 - Unity3D on Ubuntu 19.10 with vscode and C# extension : get an error and the autocomplete doesn't working Intellisense 在 VSCode 中不起作用 - OmniSharp 错误 - Intellisense not working in VSCode - OmniSharp Error VScode 中的 Unity intellisense 不工作,Omnisharp 给出多个错误和警告 - Unity intellisense in VScode not working and Omnisharp is giving multiple errors and warnings Visual Studio 不再显示代码中的错误 - Visual Studio does not show errors in the code anymore Unity 故障但不显示任何错误 - Unity Glitches but does not show any errors 向不起作用的刚体施加力。 错误:UnityEngine.Component不包含AddForce的定义,也不包含AddForce的扩展方法 - Adding force to a rigidbody not working. Error: UnityEngine.Component does not contain a definition for AddForce and no extension method for AddForce Unity 语法错误 当我按空格键时 LaserSound 不播放? - Unity syntax errors LaserSound does not play when I press spacebar? Visual Studio 2019 中的构建错误在错误列表中显示不一致 - Build Errors in Visual Studio 2019 inconsistently show up in Error List 自动完成不适用于带有 Unity 的 VSCode - Autocomplete not working for VSCode with Unity
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM