Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
As stated in the official Official Prettier Website it doesn't support C files, mostly just frontend web development related filetypes like HTML, CSS, JS, YAML, etc. For C and C++ you have to use abother formatter. My favorite is clang-format. It should be installed by default in VSCode when you installed the C/C++ extension from Microsoft. Just run the command "Format Document" from the command palette (don't remember if that's the exact command name". You can configure the formatting styles in your settings.json following the configuration options stated in the official clang-format guide.