Bug 503056 - Support Json formatting
Summary: Support Json formatting
Status: RESOLVED FIXED
Alias: None
Product: extra-cmake-modules
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: ecm-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-20 13:25 UTC by Allen Winter
Modified: 2025-05-15 15:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Winter 2025-04-20 13:25:08 UTC
I'd like the generated .clang-format to support Json files, as in:

```
---
Language: Json
DisableFormat: false
IndentWidth: 4
```
Comment 1 Allen Winter 2025-04-20 13:26:02 UTC
I tired this MR but then realized I can't since the .clang-format is generated 
https://invent.kde.org/pim/korganizer/-/merge_requests/193
Comment 2 Bug Janitor Service 2025-05-08 10:15:24 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/527
Comment 3 Allen Winter 2025-05-15 15:58:40 UTC
Git commit b0fc3f13039792e50be52d6d527c2d4f0a44da70 by Allen Winter.
Committed on 08/05/2025 at 10:14.
Pushed by winterz into branch 'master'.

kde-modules/clang-format.cmake - add support for Json files

M  +4    -0    kde-modules/clang-format.cmake

https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/b0fc3f13039792e50be52d6d527c2d4f0a44da70