💾 Archived View for freeshell.de › tldr › clang-format.gmi captured on 2023-11-14 at 08:51:56. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Tool to auto-format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code.
clang-format {path/to/file}
clang-format -i {path/to/file}
clang-format --style={LLVM|Google|Chromium|Mozilla|WebKit} {path/to/file}
clang-format --style=file {path/to/file}
clang-format --style={LLVM|Google|Chromium|Mozilla|WebKit} --dump-config > {.clang-format}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).