1. Chinese garbled characters
Solution: Add environment variables
Create new system variable
Change name:JAVA_TOOL_OPTIONS
Change amount:-Dfile.encoding=UTF-8
2. Too much carriage return indentation
The carriage return and line feed characters are indented by 4 characters and do not match the system-generated code.
Solution: Change settings Project->Properties->C/C++ General-> Formatter->Edit
IndentationOption Change the tab size to 2