z3c.recipe.tag: ignore imports as tags
Hi, I just noticed that running ctags-exuberant with the option '--python-kinds=-i' improves the usefulness of the vi tag file for me a lot. You can set this as the default for ctags in your home directory ($HOME/.ctags) but maybe it's a good idea to control this in the recipe. Christian -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development
On Fri, May 28, 2010 at 10:31:46AM +0300, Christian Theune wrote:
Hi,
I just noticed that running ctags-exuberant with the option '--python-kinds=-i' improves the usefulness of the vi tag file for me a lot. By more "useful", do you mean that the results for a e.g. method completion are more accurate?
Cheers for the hint! -- Roman Joost www: http://www.romanofski.de email: roman@bromeco.com
On 05/28/2010 11:22 AM, Roman Joost wrote:
On Fri, May 28, 2010 at 10:31:46AM +0300, Christian Theune wrote:
Hi,
I just noticed that running ctags-exuberant with the option '--python-kinds=-i' improves the usefulness of the vi tag file for me a lot. By more "useful", do you mean that the results for a e.g. method completion are more accurate?
Yes. No more hitting from bla import foo when searching for foo Christian -- Christian Theune · ct@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development
On Fri, May 28, 2010 at 10:31:46AM +0300, Christian Theune wrote:
Hi,
I just noticed that running ctags-exuberant with the option '--python-kinds=-i' improves the usefulness of the vi tag file for me a lot.
You can set this as the default for ctags in your home directory ($HOME/.ctags) but maybe it's a good idea to control this in the recipe.
+1000 Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development
* Christian Theune <ct@gocept.com> [2010-05-28 09:31]:
I just noticed that running ctags-exuberant with the option '--python-kinds=-i' improves the usefulness of the vi tag file for me a lot.
Note that this feature was introduced in exuberant ctags version 5.8, which may or may not be included in your favourite distribution yet (Gentoo, for example is still at 5.7, as is Debian stable; Ubuntu has been more progressive in updating this package). However, on older versions the invocation you mention only seems to provoke a warning, so that's probably fine. Wolfgang
participants (4)
-
Christian Theune -
Marius Gedminas -
Roman Joost -
Wolfgang Schnerring