Share via

C++ errors

Sid Kraft 41 Reputation points
2026-05-25T13:59:32.98+00:00

Using Visual Studio, C++, is there a way to turn off the error reporting that is generated by "co-pilot", very irritating as every statement that is issued automatically generates suggested error or fixes while entering! "clutters up" the viewing window?

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.


1 answer

Sort by: Most helpful
  1. AI answer

    2026-05-25T13:59:42.86+00:00

    Yes. The behavior described comes from C++ IntelliSense and the C++ linter, not from GitHub Copilot itself. Both can be configured or turned off in Visual Studio.

    To reduce or disable the error popups and suggestions:

    1. Turn off IntelliSense error reporting
      1. In Visual Studio, go to Tools > Options.
      2. Expand Text Editor > C/C++ > IntelliSense.
      3. Under Errors:
        • Clear Show IntelliSense errors in the editor to remove red squiggles.
        • Clear Show IntelliSense errors in the error list window to stop them appearing in Error List.
        • Clear Suggest fixes for IntelliSense errors to stop fix suggestions.
    2. Turn off or soften the C++ linter suggestions
      1. In Tools > Options.
      2. Expand Text Editor > C/C++ > Code Style > Linter.
      3. Either disable specific checks by setting their severity to None, or globally reduce noise by changing severities from Error/Warning to Suggestion.

    These changes will stop or significantly reduce the automatic error/fix suggestions that appear while typing and clutter the editor.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.