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.
Tool/software:
I am trying to configure the formatting style in CCS Theia 1.5.1.3. According to https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1371734/codecomposer-theia-document-formatting-of-comments this can be changed with a .clang-format file in the "home" directory. Which directory is this refering to on windows? I tried putting it in c:\user\%username%\ and in the root project folder. None of these options seem to have any effect on the behaviour of code formatting. Is there any documentation? The same goes for .clang-tidy. Where to put the configuration file? in project root it seems to be ignored.
Hi Matthias,
The .clang-format file has to be in a parent directory of the `ti` folder. You can try putting the file in the parent directory of that folder. The "home" directory here in windows would refer to the `C:\`, but that is not needed.
Hope this helps!
Udit
Its working now, the problem was that my .clang-format file contained a configuration which was invalid for the installed clangd version. After updating clangd it works.
How do I use clang-tidy checks within CCS? I enabled some checks in CCS->Clang-Tidy configuration, but there does not seem to be any output or consequence. Is there any documentation for this feature?
but there does not seem to be any output or consequence
The output will appear in the Problems view: