简体   繁体   中英

Emacs python autocompletion

I've installed python-mode, pymacs and pycomplete+ from el-get on emacs24. But i am not able to get auto-completion for python in emacs.

I'd recommend you to try emacs-jedi . The author is really trying to bring the best Python autocompletion experience to Emacs. (It uses the Jedi autocompletion library).

There are ways to hook ropemacs up as an auto-complete source, but as far as I know it's not provided "by default" in any of these packages. You might try this in your .emacs , this is a snippet I've used successfully

From what I'm reading this package completion that's more simple to configure.

bzr branch lp:python-mode/components-python-mode

ie the development branch of python-mode.el delivering an inlined Pymacs provides auto-completion right out of the box for me

Might conflict with an already installed Pymacs though

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM