How to disable C++ error checking in VS Code?

给你一囗甜甜゛ 提交于 2020-12-30 04:10:47

问题


I am producing C++ example code files, and as such they have a lot of inherent errors, e.g., made-up function names. I am trying to get rid of all error messages and error-related syntax highlighting in my files.

I imagine there is some setting for C++ but I could not find it.


回答1:


Open up the command palette (CTRL + SHIFT + P) - > C/Cpp: Toggle Error Squiggles. This will disable all error warnings and highlighting.

Update: April 2020: it is now called "c/c++: Disable Error Squiggles"



来源:https://stackoverflow.com/questions/51552414/how-to-disable-c-error-checking-in-vs-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!