cquery+VScode安装与使用
参考链接: https://josephpei.github.io/2018/05/04/VSCode-cquery-lsp-实现-C-C-补全/ https://blog.coderzh.com/2018/10/14/cquery/ https://github.com/cquery-project/cquery/wiki/Building-cquery https://code.visualstudio.com/docs/getstarted/settings#_default-settings 1. build cquery 参考官网教程,先安装依赖: 安装cmake: brew install cmake clang已经安装上了,不知道为什么之后还会下载7.0版本,可以在这里查看一下版本信息: clang --version gcc --version 之后,按照官网教程进行配置: git clone --recursive https://github.com/cquery-project/cquery.git cd cquery git submodule update --init mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE = Release -DCMAKE_INSTALL_PREFIX = release