Prettier is not formatting c++ code in VS code. I have to manually enter the indentation in the code. I would lie to know how to solve the issue. If it is not possible can someone suggest a code formatter for c++
Prettier is not formatting c++ code in VS code. I have to manually enter the indentation in the code. I would lie to know how to solve the issue. If it is not possible can someone suggest a code formatter for c++
Prettier wasn't intended to format C++ code. You should install the C/C++ for Visual Studio Code extension developed by Microsoft, it supports code formatting.
Details can be found in the Visual Studio Code documentation.