Skip to content

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

@ghentschke

Description

@ghentschke

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions