Page 1 of 1

How to disable auto-check

Posted: Fri Jul 30, 2021 11:53 am
by daniil1

The red arrow in the line opposite #include does not work correctly. Writes "file not found". Although the project compiles. How to disable the red arrow and so that it appears only when the project is not assembled


Re: How to disable auto-check

Posted: Sun Aug 01, 2021 1:24 pm
by eranif

its a feature of the language server settings.
this gives you a hint that code completion will not be able to work since client.h can not be found.
if your project compiles but you still get this: are you using custom makefile?

Anyways, you can disable it from:
plugins -> language server -> settings -> clangd -> display diagnostics


Re: How to disable auto-check

Posted: Mon Aug 02, 2021 10:42 am
by daniil1

Thank you very much, you answered my question.

I don't know what a "custom makefile" is. If you are talking about "Project Setting -> General -> Build -> Makefile Generator" then "Default" is set there

Probably this is an interesting innovation, but for some reason my brain took it with hostility. Perhaps the use case will change the attitude towards this tool.