在 Vim 上获得正确的 Python 代码补全? [英] Getting proper code completion for Python on Vim?

查看:27
本文介绍了在 Vim 上获得正确的 Python 代码补全?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我之前已经使用 Pysmell 完成全能工作,但我似乎不能再这样做了.

I've gotten omnicompletion with Pysmell to work before, but I can't seem to do it again.

我尝试在网上遵循一些步骤,但其中大多数(如果不是全部)都是含糊不清的,并且假设您在某种程度上知道自己在做什么.

I tried following some steps online, but most, if not all, of them are to vague and assume too much that you know what you are doing to some extent.

有人可以为完整的 Vim 新手(傻瓜?)发布关于如何使代码完成正常工作的完整分步教程吗?

Can someone post a full, step-by-step tutorial on how to get code completion working properly, for complete Vim newbies (for dummies?)?

推荐答案

你可以试试 Pydiction(摘录如下)

You may try Pydiction (Excerpt below)

描述 Pydiction 允许您Vim 中的 Tab 完整 Python 代码,包括:标准、定制和第三方模块和包.加关键字、内置函数和字符串文字.

Description Pydiction allows you to Tab-complete Python code in Vim, including: standard, custom and third-party modules and packages. Plus keywords, built-ins, and string literals.

这篇关于在 Vim 上获得正确的 Python 代码补全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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