开发者

ctags never stops when I try to build a tag file for all python libraries

I used to use ctags to generate a tags file for all installed python libraries by this command:

C:\Windows\System32>ctags -R -f d:\home\vimfiles\python.ctags d:\Python26

But this morning, after I upgraded to Python 2.6.7, that command only gene开发者_如何学Pythonrates the following output and never finishes its job. The size of the tags file doesn't change anymore once it reaches about 11MB.

ctags: Warning: ignoring null tag in d:\Python26\Lib\copy.py
ctags: Warning: ignoring null tag in d:\Python26\Lib\pickle.py
ctags: Warning: ignoring null tag in d:\Python26\Lib\site-packages\django\contrib\admin\sites.py

What might cause this problem?


@Gintautas You are genius.

I found ctags was stopped by this file :

D:\Python26\Lib\site-packages\ipython-0.10-py2.6.egg\share\doc\ipython\manual\html\searchindex.js

Exclude it by set the following ctags option could resolve the problem.

--exclude=searchindex.js

I guess it's a bug of ctags.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜