Skip to content

FAQ.zh_CN

Charles Qiu edited this page Oct 30, 2017 · 4 revisions

YouCompleteMe无法补全某些C/C++头文件

需要对~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py文件进行配置。 在.ycm_extra_conf.py的flags数组中加入头文件对应的全路径。例如:

'-isystem',
'/usr/include',
'-isystem',
'/usr/include/c++/4.8'
Clone this wiki locally