Ubuntu18.04 ycm server SHUTDOWN

當(dāng)在Unbuntu18.04中安裝ycm時(shí),將會(huì)遇到y(tǒng)cm server SHUTDOWN問(wèn)題具體信息為:
The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM before using it. Follow the instructions in the documentation
1.重裝YouCompleteMe
python3 install.py --clang-completer --racer-completer(先進(jìn)入ycm文件~/.vim/bundle/YouCompleteMe,在對(duì)其中的install.py進(jìn)行此命令操作。
2.安裝YouCompleteMe過(guò)程提示cargo異常
ERROR:cargo is required for the Rust completer
如果提示cargo異常,需要安裝cargo,命令如下:
curl -sSf https://static.rust-lang.org/rustup.sh | sh
cargo安裝成功后再重試上述步驟1
參考連接:https://blog.csdn.net/gis_101/article/details/78769347

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

友情鏈接更多精彩內(nèi)容