1.将.ycm_extra_conf.py拷贝到工程目录,然后打开,将自己的include目录添加进去 转载于:https://www.cnblogs.com/penuel/p/11260690.html