[Zope-dev] z3c.recipe.tag: ignore imports as tags

2010-05-28 Thread Christian Theune
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 · c...@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

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] z3c.recipe.tag: ignore imports as tags

2010-05-28 Thread Roman Joost
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: ro...@bromeco.com


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] z3c.recipe.tag: ignore imports as tags

2010-05-28 Thread Christian Theune

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 · c...@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



smime.p7s
Description: S/MIME Cryptographic Signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] z3c.recipe.tag: ignore imports as tags

2010-05-28 Thread Marius Gedminas
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


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )