YCM 错误.ycmd 服务器关闭(重新启动...文档中的说明 [英] YCM error. The ycmd server SHUT DOWN (restart wit...the instructions in the documentation

查看:42
本文介绍了YCM 错误.ycmd 服务器关闭(重新启动...文档中的说明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了带有 vim 插件的 YCM,但我可能在进程完成之前关闭了.现在,当我启动 vim 时,出现此错误ycmd 服务器关闭(重新启动...文档中的说明."

I installed YCM with vim plug, but I may have shut down before process finished. Now when I start vim I get this error "The ycmd server SHUT DOWN (restart wit...the instructions in the documentation."

我用谷歌搜索但找不到可行的解决方案.我在文档中没有看到任何有帮助的内容.但我是 vim 和编码的新手,所以可能会遗漏一些东西.

I've googled but can not find workable solution. I don't see anything in the documentation that helps. But I am new to vim and coding in general so may be missing something.

:YcmDebugInfo 返回服务器出错,服务器没有调试信息".

:YcmDebugInfo comes back with "Server errored, no debug info from server".

我尝试过:YcmRestartServer,但没有结果——它暂停然后返回相同的错误.我还运行了 :PlugInstall 和 :PlugUpdate,所有插件,包括 YCM,都将恢复为最新版本.

I have tried :YcmRestartServer, but to no result -- it pauses then returns the same error. I have also run :PlugInstall and :PlugUpdate, and all plug ins, including YCM, are coming back as up to date.

推荐答案

我在使用 Vundle 时遇到了同样的问题,并按如下方式修复了它:
安装 cmake 后,我进入 ~.vim/bundle/YouCompleteMe 并运行python install.py

I ran into the same issue with Vundle and fixed it like this:
After installing cmake, I cd'd into ~.vim/bundle/YouCompleteMe and ran python install.py

这篇关于YCM 错误.ycmd 服务器关闭(重新启动...文档中的说明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆