brew install clang?

Setting up VSCode and Clang for C++ on macOS

You can install clang-format and git-clang-format via npm install -g clang-format . To automatically format a file according to Electron C++ code style, run clang-format -i path/to/electron/file.cc . It should work on macOS/Linux/Windows.

Download & install clang-format@8 on Mac OS (Big Sur, Monterey, Catalina) via Homebrew / brew

Leave a Comment

Share via
Copy link
Powered by Social Snap