Closed zebrajiahao closed 4 years ago
@zebrajiahao 你好,编译ycm有没有报错呢?你的系统是什么?
@zebrajiahao 你好,编译ycm有没有报错呢?你的系统是什么?
你好,我直接在ubuntu18.04上按照脚本安装的,没有报错信息,一般错误显示文件开头位置。
是因为诊断的问题太多了么,该工程使用10多个第三方库,头文件要都添加在.ycm_extra_conf.py中?
This means that ycmd found more than 30 diagnostics when parsing the translation unit. This limit is configurable through the max_diagnostics_to_display option (a value of 0 means no limit).
需要在.vimrc中 ycm对应位置添加 g:ycm_max_diagnostics_to_display = 0 这个配置。
打开项目,在ycm添加头文件,还会有个#号报错,查看是Maximum number of diagnostics exceeded. 请问是什么造成的,如何解决?