Currently, I am using VS Code to write QEMU-related code. I use the clangd plugin, which requires the compile_command.json file. Although I generated this file with the appropriate command ninja -t compdb > compile_commands.jso
, clangd still cannot prompt correctly. Additionally, I would like to use clang-format to format the code, but I cannot locate the .clang-format file that QEMU is using. I am also curious about the code formatting tool that QEMU developers use.
I want to know how the QEMU developers write the code especially what they use to debug and format the code.