Automatic formatting of C++ code on push/PR Auto-commit formatted changes back to the repository Multiple workflow patterns for different use cases These are minimal ...
repos: - repo: https://github.com/jlebar/pre-commit-hooks.git hooks: - id: do-not-submit - id: bazel-buildifier # pre-commit 2.9.0 and newer should be able to use the ...
Visual Studio CodeでC/C++コードを書く時、コード自動整形(フォーマット)機能を使うと便利です。 適当に書いて「Ctrl + S」を入力すると、以下のように整えてくれます。 自動整形 Windowsでこの設定を行う場合に、どうやるんだっけ、と毎回調べる羽目になり ...