1.vscode中安装proto3插件和clang-format插件
2.安装LLVM
Release LLVM 15.0.7 · llvm/llvm-project · GitHub
3.修改vscode的setting.json
加入这一行
"clang-format.executable": "D:/LLVM/bin/clang-format.exe",
后面的红色的地址根据LLVM的安装路径决定。
Release LLVM 15.0.7 · llvm/llvm-project · GitHub
加入这一行
"clang-format.executable": "D:/LLVM/bin/clang-format.exe",
后面的红色的地址根据LLVM的安装路径决定。