My indent(1) Profile
Manage C codebase is not easy, especially if the project is team-based. One of the common issues is about consistency of code formatting. Keeping the consistency of code format is very hard, because the heterogonous of code editor and development environment.
This is where tools like
rustfmt(1) used for. For C codebase there are common alternative:
indent(1). I use
indent heavily. It’s from GNU which is very simple and straight forward.
This is my
indent(1) profile look like: