You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.clang-format-ignore files are not respected with this extension. They are similar to .gitignore files and describe which files should not be formatted.
Note that I'm pointing to a custom clang-format release using "clang-format.executable" in the .code-workspace file. My clang-format has version 18.1.5. It has been tested without going through xaver.clang-format and it does respect .gitignore in that case.
The text was updated successfully, but these errors were encountered:
I have the same issue. I think clang-format itself has issues with .clang-format-ignore as well since it does not recognize simple patterns like src/**/* to ignore all its subdirectories. The only thing that works reliably is DisableFormat: true in .clang-format. My use case is I need to ignore a directory with all its subdirectories without having to put a .clang-format inside the directory. Help me, please!
This may be an issue with clang-format and not the extension. To be precise an issue with the clang-format -assume-filename option not playing nicely with .clang-format-ignore. See microsoft/vscode-cpptools#13005 and llvm/llvm-project#113099.
.clang-format-ignore files are not respected with this extension. They are similar to .gitignore files and describe which files should not be formatted.
Note that I'm pointing to a custom clang-format release using "clang-format.executable" in the .code-workspace file. My clang-format has version 18.1.5. It has been tested without going through xaver.clang-format and it does respect .gitignore in that case.
The text was updated successfully, but these errors were encountered: