79554665

Date: 2025-04-04 07:14:22
Score: 1
Natty:
Report link
  1. Install the extension "Clang Power Tools 2022"

  2. In the solution explorer dock widget, right-click on your solution, then click "Clang Power Tools" > "Settings" menu entries

  3. In the "Format" tab :

    1. "Assume filename" = .clang-format (I do have a .clang-format file in the top-level directory of my project)

    2. "Style" = file

    3. "Format on save" = on

  4. Profit

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: georges abitbol