How do I set up YouCompleteMe?

How do I set up YouCompleteMe?

2 Answers

  1. Install vim 7.4: brew install vim.
  2. Install Vundle.
  3. Add Plugin ‘Valloric/YouCompleteMe’ to ~/.
  4. Download clang+llvm-version-x86_64-apple-darwin.
  5. Make the download directory: mkdir -p ~/.vim/bundle/YouCompleteMe/third_party/ycmd/clang_archives.
  6. Put the downloaded file in that directory.

How install complete me vim Ubuntu?

Installing Vim-youcompleteme for Ubuntu 18.04

  1. In a Terminal, run the command: $ sudo apt install vim-youcompleteme.
  2. Next, run the command: $ vim-addon-manager install youcompleteme.

How do I install Mecompleteme on my Mac?

Instructions

  1. brew install cmake.
  2. cd ~/.vim/bundle.
  3. mkdir YouCompleteMe/ycmbuild.
  4. cd YouCompleteMe/ycmbuild.
  5. cmake -G “Unix Makefiles” . ~/.vim/bundle/YouCompleteMe/cpp/
  6. make ycm_core.
  7. Restart Vim.
  8. Enjoy.

What is Ycm_extra_conf PY?

C/C++ YCM uses a python script called . ycm_extra_conf.py to set project wide settings, needed to provide completion and syntax check. A brief introduction to essential configuration follows, for details and advanced options see the upstream documentation. Alternatively, provide a compile_commands.

Where is Ycm_extra_conf PY?

my dotfiles repository
ycm_extra_conf.py. The original file can be found in my dotfiles repository.

What is Vim Athena?

vim-athena – enhanced vi editor – compiled with an Athena GUI. This package is compiled with the Athena GUI as opposed to GTK+ or Gnome. See this askubuntu answer for additional details. In order to install this package, run sudo apt-get install vim-athena. Supports Perl, Python, Ruby, and TCL scripting.

What is Compile_commands JSON?

Compile_commands. json file is a compilation database that consists of an array of “command objects” , where each command object specifies one way a translation unit is compiled in the project. Its format is specified in the Clang documentation and can be auto-generated by many build systems, including CMake and Ninja.