标签:start ati 更新 lang make href javascrip tor ace
YCM源码地址:https://github.com/Valloric/YouCompleteMe
安装依赖:
sudo apt-get install build-essential cmake sudo apt-get install python-dev python3-dev
获取源码
git clone https://github.com/Valloric/YouCompleteMe.git ~/.vim/bundle/YouCompleteMe cd ~/.vim/bundle
安装Momo
安装步骤参照:http://www.mono-project.com/download/#download-lin-ubuntu
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/mono-official.list sudo apt-get update sudo apt-get install mono-devel
安装Go
Go下载地址:https://golang.org/dl/
wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz tar -C /opt -xvf go1.8.3.linux-amd64.tar.gz
安装Node
Node下载地址:https://nodejs.org/en/download/
wget https://nodejs.org/dist/v6.11.1/node-v6.11.1-linux-x64.tar.xz tar xvf node-v6.11.1-linux-x64.tar.xz sudo mv node-v6.11.1-linux-x64 /opt/node
nmp 更新
npm install npm@latest -g
修改环境变量添加Momo和go变量每个人不同我的是vim ~/.profile
export GOROOT=/opt/go
PATH="$HOME/bin:$HOME/.local/bin:$GOROOT/bin:/opt/node/bin:$HOME/.cargo/bin:$PATH"
更新环境变量
source ~/.profile
typescript安装
npm install -g typescript
cd ~/.vim/bundle/YouCompleteMe
./inistall.py --all
单种语言支持对应软件和编译命令选项
--omnisharp-completer
when calling ./install.py
.--gocode-completer
when calling ./install.py
.npm install -g typescript
.--tern-completer
when calling ./install.py
.--racer-completer
when calling ./install.py
.--clang-completer
标签:start ati 更新 lang make href javascrip tor ace
原文地址:http://www.cnblogs.com/anshuafeng/p/6645523.html