Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not create .clangd-format file in project if parent has one #436

Open
ghentschke opened this issue Feb 20, 2025 · 0 comments · May be fixed by #444
Open

Do not create .clangd-format file in project if parent has one #436

ghentschke opened this issue Feb 20, 2025 · 0 comments · May be fixed by #444

Comments

@ghentschke
Copy link
Contributor

ghentschke commented Feb 20, 2025

In our case, we have a .clang-format file in the root directory of our multi-project git repo. We'd like to use that one instead of having a new .clang_format file being generated for each project. The case looks very similar to issue #227.

In best case, CDT LSP (ClangFormatFileHandler) would check the parent folders to find a .clang-format file, before creating a new one. This way, no customization via additional plug-ins would be necessary for the desired behavior.

Originally posted by @travkin79 in #364 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant