79589039

Date: 2025-04-23 16:10:33
Score: 1
Natty:
Report link

What helped me with formatting is Clang-Format extension. The only setting I have in my config file with regards to C++ formatting is the following:

{
    // ...
    "[cpp]": {
        "editor.defaultFormatter": "xaver.clang-format"
    }
}

By the way, I can see this setting in your configuration file:

"C_Cpp.intelliSenseEngine": "Disabled",

It seems that you might have installed some alternative IntelliSense engine like clangd which also takes responsibility for formatting. I got problems with ignoring my project's .clang-format file right after installing clangd extension and the solution was to install Clang-Format extension alongside its clangd counterpart and to set the former as default (see editor.defaultFormatter property in my config above).

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What help
  • Low reputation (0.5):
Posted by: Victor