当前位置: 动力学知识库 > 问答 > 编程问答 >

Is there any way vim can autocomplete methods and classes from PyQt or PySide?

问题描述:

I find myself needing to refer to the documentation a lot simply because I can't remember the name of a method or class. Has anyone come across a way to autocomplete these packages while editing in vim?

网友答案:

Exuberant Ctags parses Python source and integrates well with vim. Just build a tags file from your library or libraries of choice and point VIM to your tag file with:

set tags=<tags path>

This will only work if "t" is in your option complete string. Check this with set cpt?

分享给朋友:
您可能感兴趣的文章:
随机阅读: