Skip to content

Update clangd config file schema with new config options in clangd 21 #4901

@HighCommander4

Description

@HighCommander4

Area with issue?

JSON Schema

✔️ Expected Behavior

When editing a .clangd configuration file, config keys added in clangd 21 are recognized.

❌ Actual Behavior

An error is reported for newly added config keys, e.g. "Property CodePatterns is not allowed".

JSON, YAML, or TOML file that does not work.

Completion:
  CodePatterns: None

IDE or code editor.

Visual Studio Code

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