[FEAT] Add in C/CPP code formatting #15
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TDD-Templates/cmake_cpputest_template#15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From some initial investigation on tools for this I found that clang-tidy and clang-format are commonly recommended tools. Indent is another tool that I've seen as a recommendation for devs that like gcc.
I found a full list of formatters as a repo here: https://github.com/rishirdua/awesome-code-formatters
Some of the code beautifiers and tools I found were ancient and seem somewhat dead. I'm going forward with clang's tooling as they are already the only one's maintaining the LSP so GNU's offerings with indent are less appealing to me at the moment.
Added functionality into the
.otto.sh
shell script along with a config file that's hidden in the root directory.