This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CODECOMPOSER: how to set up Clang-tidy?

Part Number: CODECOMPOSER


Tool/software:

In CCS 20.2, how do I set up clang-tidy?
Currently, I have a .Clang-Tidy file in the project directory, which -according to the clangd log- is loaded, but does not generate warnings in the IDE.
Do I need to configure something in the IDE? Maybe disable the build-in Clang-Tidy menu? Or is my file just broken?

Checks: "-*,readability-identifier-naming"
CheckOptions:
  - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
  - { key: readability-identifier-naming.ClassCase, value: CamelCase }
  - { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ }
  - { key: readability-identifier-naming.StructCase, value: CamelCase }
  - { key: readability-identifier-naming.FunctionCase, value: lower_case }
  - { key: readability-identifier-naming.VariableCase, value: lower_case }
  - { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }