开发者

Vim: Good AutoCompletion Plugin for Python and PHP

开发者 https://www.devze.com 2023-02-02 10:18 出处:网络
I use Vim with ctags 开发者_高级运维for development. I found ctags to be very useful in going to definitions, but I don\'t know a good plugin to make use of ctags for clever auto completion. It seems

I use Vim with ctags 开发者_高级运维for development. I found ctags to be very useful in going to definitions, but I don't know a good plugin to make use of ctags for clever auto completion. It seems that the default Vim auto completion is not good. When I write set omnifunc? in Vim, I get this:

omnifunction=pythoncomplete#Complete

I do know about OmniComplete for C++, but I don't know any good plugin for Python and PHP. Does anybody have an idea?


For Python, you can use the .vimrc file specified here:

Ultimate Vim Python setup.

I think you will like it :)

Happy vimming and Happy New Year!


You can use following:

For Python: http://www.vim.org/scripts/script.php?script_id=30

For PHP: http://www.vim.org/scripts/script.php?script_id=1571

0

精彩评论

暂无评论...
验证码 换一张
取 消