Getting proper code completion for Python on Vim?


Question

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.

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

1
4
10/5/2009 2:52:40 PM

Accepted Answer

You may try Pydiction (Excerpt below)

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.

2
10/5/2009 3:52:11 PM

There's also Ctrl+n in insert mode which will autocomplete based on the words it has seen in any of the open buffers (even in other tabs).


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon