看网上都是windows的解决方法,ubuntu解决比较简单: https://github.com/xaverh/vscode-clang-format-provider/issues/48
sudo apt-get install clang-format