有没有人为vim找到一套好的python插件——特别是模块完成? [英] Has anyone found a good set of python plugins for vim -- specifically module completion?

查看:24
本文介绍了有没有人为vim找到一套好的python插件——特别是模块完成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一套插件,可以帮助我最终全职切换到 vim.

I'm looking for a suite of plugins that can help me finally switch over to vim full-time.

现在我使用 Komodo 取得了一些不错的成功,但是他们的 vim 绑定有足够多的小错误,我已经厌烦了.

Right now I'm using Komodo with some good success, but their vim bindings have enough little errors that I'm tired of it.

不过,我在 Komodo 中最喜欢的是代码完成.所以,这就是我要找的东西(按重要性排序).

What I do love in Komodo, though, is the code completion. So, here's what I'm looking for (ordered by importance).

  • 代码完成,意思是:编写完整模块/功能/等的能力.在pythonpath上的任何模块中,不仅仅是系统模块.完成时显示文档字符串的奖励积分.
  • 跳转到类定义.我猜 CTAGS 会这样做,那么你们都是如何管理自动更新标签文件的?
  • 用于管理缓冲区的项目类型管理:理想情况下能够在目录结构中搜索文件名以打开它.在缓冲区打开时显示类定义索引的奖励.
  • Bzr 集成.不是很重要,因为我可以直接使用 shell 来完成大部分工作.
  • Code completion, meaning: the ability to code complete modules/functions/etc. in any module that's on the pythonpath, not just system modules. Bonus points for showing docstrings when completing.
  • Jump-to a class definition. I'm guessing CTAGS will do this, so how do you all manage automatically updating your tags files?
  • Project type management for managing buffers: ideally the ability to grep for a filename in a directory structure to open it. Bonus for showing an index of class definitions while a buffer is open.
  • Bzr integration. Not super important, since most of it I can just drop to the shell to do.

推荐答案

您可以在此处找到一些相关信息.

它涵盖了代码完成,在打开的文件中有一个类和函数的列表.我没有时间为 vim 做一个完整的配置,因为我不主要使用 Python,但我有同样的兴趣在更好的 Python IDE 中转换 vim.

It covers code completion, having a list of classes and functions in open files. I haven't got around to do a full configuration for vim, since I don't use Python primarily, but I have the same interests in transforming vim in a better Python IDE.

原始站点已关闭,因此找到它保存在网络存档中.

The original site is down, so found it saved on the web archive.

这篇关于有没有人为vim找到一套好的python插件——特别是模块完成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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