ycmd 在mac进行标识符补全时很慢

原因是ctags的问题

Make sure you are using Exuberant Ctags to produce your tags files since the only supported tag format is the Exuberant Ctags format. The format from "plain" ctags is NOT supported. The output of ctags --version should list "Exuberant Ctags". See Universal Ctags for a maintained version.

是因为ycmd要求使用Exuberant Ctags.而mac上默认自带的并不是这个格式。

所以需要使用

`brew install ctags`

下载最新版本的ctags

官方原文

NOTE: Mac OS X comes with "plain" ctags installed by default. brew install ctags will get you the Exuberant Ctags version.

你可能感兴趣的:(ycmd 在mac进行标识符补全时很慢)