ycmd server SHUT DOWN

来源:互联网 发布:判断int类型数据长度 编辑:程序博客网 时间:2024/05/22 15:18

Vim YouCompleteMe异常

异常信息如下:

The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected error while loading the YCM core library. Use the ':YcmToggleLogs' command to check the logs.

1.重装YouCompleteMe

python3 YouCompleteMe/install.py --clang-completer --racer-completer

2.安装YouCompleteMe过程中提示cargo异常

ERROR: cargo is required for the Rust completer.

如果提示cargo异常,需要安装cargo,命令如下:

curl -sSf https://static.rust-lang.org/rustup.sh | sh

cargo安装成功后再重试上述步骤1

参考

“ycmd server SHUTDOWN” error

Cargo, Rust’s Package Manager

原创粉丝点击