Vim completion with YouCompleteMe on windows

前端 未结 2 727
囚心锁ツ
囚心锁ツ 2020-12-28 10:51

I am desperately trying to get YouCompletMe working on windows, the author clearly says that there is no official support for windows so that\'s fair enough. Though there is

相关标签:
2条回答
  • 2020-12-28 11:21

    Adding to the accepted answer (SE won't let me comment), I got Alexander Shukaev's binaries from here: https://bitbucket.org/Alexander-Shukaev/vim-youcompleteme-for-windows/downloads

    (in case the links on the other page are still broken).

    0 讨论(0)
  • 2020-12-28 11:31

    You can download archives of drop-in YCM plugin containing binaries (ycm_core.pyd) from me: Vim YouCompleteMe for Windows. Both x86 and x64 architectures are provided.

    If you also need bleeding-edge LLVM/Clang, you can download the binaries from me as well: LLVM for Windows. Both x86 and x64 architectures are provided.

    If you are looking for up-to-date Vim with Python support, you can download the binaries from me once 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 altogether.

    Common Pitfalls


    1. Don't forget to have Python 2 DLL (e.g. python27.dll) and Python 2 Interpreter (python.exe) in the PATH environment variable;
    2. Don't forget to have libclang.dll in the PATH environment variable (recommended) OR right next to ycm_core.pyd;
    3. Make sure that architectures of all 3 components (LLVM/Clang, Vim, YCM) match;
    4. You can find some hints on configuration in my other answer.
    0 讨论(0)
提交回复
热议问题