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.
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:
- Turn off IntelliSense error reporting
- In Visual Studio, go to Tools > Options.
- Expand Text Editor > C/C++ > IntelliSense.
- 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.
- Turn off or soften the C++ linter suggestions
- In Tools > Options.
- Expand Text Editor > C/C++ > Code Style > Linter.
- 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: