Vim完成与Windows上的YouCompleteMe [英] Vim completion with YouCompleteMe on windows

查看:642
本文介绍了Vim完成与Windows上的YouCompleteMe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我拼命地想要在Windows上使用 YouCompletMe ,作者清楚地说,Windows没有官方支持这是公平的。虽然有维基可以在Windows上构建,但您发现有1/2人在线上声称他们...

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 a wiki to build it on windows and you find 1/2 people online claiming they succeded in building it on windows without semantic support for C/C++...

我想知道我是否可以使用编译的 ycm_core.pyd 从其他人或如果明显的原因不能工作。

I was wondering if I could use the compiled ycm_core.pyd from someone else or if for obvious reasons that would not work.

我使用 vim7.4 32/64位版本)+ python2.7 + python3.2

推荐答案

包含来自我的二进制文件( ycm_core.pyd )的插件YCM插件: Vim YouCompleteMe for Windows 。提供x86和x64架构。

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.

如果您还需要出血的LLVM / Clang,您也可以从我的下载二进制文件: LLVM for Windows 。提供x86和x64架构。

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.

如果您正在寻找支持Python的最新Vim,您可以再次下载我的二进制文件: Vim for Windows 。提供了x86和x64架构,以及支持Python 2(这是YCM所需的)和Python 3。

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.


  1. 不要忘记使用Python 2 DLL(例如 python27.dll <环境变量中的)和Python 2
    解释器( python.exe ; c> c> c> 环境
    变量(推荐)旁边 ycm_core.pyd ;

  2. 所有3个组件(LLVM / Clang,Vim,
    YCM)的架构匹配;

  3. 您可以在 my其他答案

  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.

这篇关于Vim完成与Windows上的YouCompleteMe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆