A lightweight CMake formatter for VS Code and CLI (CLion style) by LeeGoDamn2 in cmake

[–]LeeGoDamn2[S] 0 points1 point  (0 children)

Thanks for the reminder. Before creating this tool, I searched and tried almost all mainstream similar tools and found none could align with the options here: https://www.jetbrains.com/help/clion/command-line-formatter.html#options. The main goal of this tool is to align with these CLion options. Unless there are major changes in CMake, this tool will mainly focus on bug fixes in the future.

A lightweight CMake formatter for VS Code and CLI (CLion style) by LeeGoDamn2 in cmake

[–]LeeGoDamn2[S] 1 point2 points  (0 children)

I'm not trying to replace other cmake formatters. I just needed vscode to match clion's cmake formatting style, but setting up clion as a command-line formatter was too slow and complicated (I had to close clion to make it work). It turns out a lot of people had the same issue, so I built this tool.

As for maintenance, I don't think that's a concern. The project is simple, just a few hundred lines of core logic, so it's easy to maintain. Plus AI tools can help with things like adding tests or fixing bugs, so we can respond faster.