Skip to content

Certain clang-format options are not recognized #656

@Vultraz

Description

@Vultraz

When running Format Document, certain options in a local clang-format config file are not recognized and cause the tool to fall back on default formatting. I've observed this with at least these:

  • SpaceAfterTemplateKeyword
  • FixNamespaceComments

I have confirmed these are valid according to the clang-format style guide. Only thing I can think of is these options are newer than the included clang-format version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServicefixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions