Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Latest commit

 

History

History
16 lines (15 loc) · 456 Bytes

README.md

File metadata and controls

16 lines (15 loc) · 456 Bytes

format

install clang-format (for mac user)

$ brew install clang-format

then run

$ find . -name "*.proto" | xargs clang-format -i

if you are using VSCode, you can install the extension clang-format and add the following configuration to your settings.json

    "[proto3]": {
        "editor.defaultFormatter": "xaver.clang-format"
    },