Running Vim with YouCompleteMe on Windows

I am desperately trying to get YouCompletMe while working on windows, the author clearly says that there is no official support for windows, so this is fair enough. Although there is a wiki to build it on windows, and you will find that 1/2 of the people on the Internet claim to have succeeded in creating it on windows without semantic support for C / C ++ ...

I was wondering if I can use the compiled ycm_core.pyd from someone else or if, for obvious reasons, this does not work.

I am using vim7.4 (I have both 32/64 bit versions) + python2.7 + python3.2

+6
source share
2 answers

You can download archives of YCM plugins containing binary files ( ycm_core.pyd ) from me: Vim YouCompleteMe for Windows . There are x86 and x64 architectures.

If you also need a bleeding LLVM / Clang, you can also download the binaries from me: LLVM for Windows . There are x86 and x64 architectures.

If you are looking for an updated version of Vim with Python support, you can download the binaries from me again: Vim for Windows . Both x86 and x64 architectures are provided, as well as support for both Python 2 (which is required by YCM) and Python 3 in general.

Common mistakes


  • Remember to leave the Python 2 DLL (for example, python27.dll ) and the Python 2 Interpreter ( python.exe ) in the PATH environment variable;
  • Remember to have libclang.dll in your PATH environment variable (recommended) OR next to ycm_core.pyd ;
  • Ensure that the architectures of all three components (LLVM / Clang, Vim, YCM);
  • You can find some tuning tips in my other answer .
+15
source

Adding to the accepted answer (SE will not allow me to comment), I received the binary files of Alexander Shukaev: https://bitbucket.org/Alexander-Shukaev/vim-youcompleteme-for-windows/downloads

(if the links on another page are still broken).

+1
source

Source: https://habr.com/ru/post/953456/


All Articles