Skip to content

YouCompleteMe install all dependencies

axiaoxin edited this page Jul 24, 2020 · 15 revisions

https://github.com/ycm-core/YouCompleteMe/wiki/Full-Installation-Guide

使用YouCompleteMe安装全部支持的语言时,在默认无代理的CentOS机器上需要配置一些go、npm代理

yum install go
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct
yum install npm
npm config set registry https://registry.npm.taobao.org

rust被墙无法直接成功安装,手动安装

curl -sSf https://sh.rustup.rs | sh

安装 java

yum install java

依赖 jdt.ls,下载太慢,其他方式下载 http://download.eclipse.org/jdtls/snapshots/jdt-language-server-0.57.0-202006172108.tar.gz 后 手动将 tar.gz 文件放到:~/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/eclipse.jdt.ls/target/cache/jdt-language-server-0.57.0-202006172108.tar.gz

Clone this wiki locally