美文网首页
ycmd 在mac进行标识符补全时很慢

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

作者: singsing面包 | 来源:发表于2018-09-09 16:50 被阅读0次

    原因是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进行标识符补全时很慢

          本文链接:https://www.haomeiwen.com/subject/vlldgftx.html