Skip to content

Support for .c++ file extension #99

@tobbelobb

Description

@tobbelobb

Hello Compiledb developers!

Could we change

file_regex = re.compile(r"^.+\.c$|^.+\.cc$|^.+\.cpp$|^.+\.cxx$|^.+\.s$", re.IGNORECASE)

into

file_regex = re.compile(r"^.+\.c$|^.+\.cc$|^.+\.cpp$|^.+\.cxx$|^.+\.c\+\+$|^.+\.s$", re.IGNORECASE)

please please pleeeease?

I know .c++ is not a widely used file extension, but if you ever see it in the wild, you would expect the file to contain c++ source code and nothing else, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions