Is there not a great alternative for C++? github.com/rishirdua/awesome-code-... lists a couple but they don't look all that promising. Prettier is probably going to be more focused on web development so I doubt they'll be adding C++ any time soon.
It's been so long since I've done any C++ but I'm surprised there isn't anything good out there after all these years. Could be a good project idea.
There is a tool that we're using called clang-format. It does a respectable job at formatting. The problem isn't having a good formatting tool, the problem is reaching a consensus as to what the formatting should be.
All I know, it won't be my preferred formatting style. Because my C++ formatting style is very non-mainstream.
Software engineer @avec_alan (opinions mine) | ex @Shopify | Tool Maker
| #SoftwareCraftsman
| C & Test lover
| Web Metamodernist
| Author of PicoTest, Colibri and Seaborg
Clang-format works great with VScode BTW. It's included in the standard C/C++ extension with sensible default settings although you can use your own or reuse popular styles (e.g. LLVM). I use it on all my projects and it made my life so much easier, formatting C code manually is such a PITA.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is there not a great alternative for C++? github.com/rishirdua/awesome-code-... lists a couple but they don't look all that promising. Prettier is probably going to be more focused on web development so I doubt they'll be adding C++ any time soon.
It's been so long since I've done any C++ but I'm surprised there isn't anything good out there after all these years. Could be a good project idea.
There is a tool that we're using called clang-format. It does a respectable job at formatting. The problem isn't having a good formatting tool, the problem is reaching a consensus as to what the formatting should be.
All I know, it won't be my preferred formatting style. Because my C++ formatting style is very non-mainstream.
Clang-format works great with VScode BTW. It's included in the standard C/C++ extension with sensible default settings although you can use your own or reuse popular styles (e.g. LLVM). I use it on all my projects and it made my life so much easier, formatting C code manually is such a PITA.