Vim's Youcompleteme (abbreviated YCM) plugin is a code hint completion plugin that makes it easy to build a lightweight IDE with VIM. But it has been a bit bumpy to hear about the success of the installation tonight. The official website of the tutorial can not be installed successfully. The last step is to clone the Code project and compile the path.
1, cloning engineering
git clone--recursive https://github.com/valloric/youcompleteme.git
This takes some time, especially when the speed is not enough;
下载完毕之后,检查工程完整性:
git submodule update--init--recursive
2,安装
安装之前需要准备一些工具:cmake, python-dev,都使用apt-get install来安装吧
接着运行YouCompleteMe目录下的install.sh文件安装:./install.sh
3, come up with some problems
The hint does not find the Cxx compiler, similar to cxx compiler not found such as the error hint (probably this way, the specific memory is not clear);
usually no C + +, so still need to install: sudo apt-get install g++
4, then execute./INSTALL.SH can be compiled normally;
5, compiled can be tested if there is a code hint vim test.py, not only have code hints, but also can be viewed in the form of a window function declaration, really great ~
Vim's Youcompleteme plug-in installation process