Vim's Youcompleteme plug-in installation process

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.