clangd understands your C++ code and adds smart features to your editor:
code completion,//tab键补全
compile errors,// 当你编辑代码时,他会用下划线,或者警告标志来警告你当前语法有问题
go-to-definition // 按住ctrl + 鼠标左键点击,会进入定义
and more.
clangd is a language server that can work with many editors via a plugin.
clangd is based on the Clang C++ compiler, and is part of the LLVM project.