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

2018-09-09  本文已影响0人  singsing面包

原因是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.

上一篇下一篇

猜你喜欢

热点阅读