How to exclude files from being formatted by clang-format in a directory and all its subdirectories ? #12544
Unanswered
Fabian Zäh (Pavi92)
asked this question in
Q&A
Replies: 1 comment
|
That is tracked by #7543. You can upvote that. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Lets say I have the follwing project structure:
How can I exclude all files inside the libs directory and subdirectories from being formatted ?
I tried to add a .clang-format-ignore file next to the .clang-format with follwing content:
libs/*But this does not work.
All reactions