C/C++

C/C++ codebase will typically have its own build system. mono-dev on the other hand, ships the formatting config

Check and Fix

Note

fd and clang-format are required

version: '3'

includes:
  ccpp:
    taskfile: ../mono-dev/task/ccpp.yaml
    internal: true

tasks:
  check:
    cmds:
      - task: ccpp:fmt-check

  fix:
    cmds:
      - task: ccpp:fmt-fix