[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: IDE versus emacs
From: |
Doug Lewan |
Subject: |
RE: IDE versus emacs |
Date: |
Tue, 9 Oct 2012 12:48:17 +0000 |
I recently discovered that CYGWIN delivers "Exuberant Ctags" (Yes, etags too.)
and it is used instead of emacs' etags. (GPL, available at
http://ctags.sourceforge.net.)
Exuberant Ctags can be extended to look for other things via regular
expression. It is a wonderful thing!
I can now look for tags in my shell code to by running:
etags --langdef=shell --regex-shell='/function
[_[:alnum:]]+/[_[:alnum:]]+/' --language-force=shell
(Unfortunate side-effect: That can also pick up comments, so I also have to fix
things:
sed -n -e '/#/d' -ep < TAGS > TTT && mv TTT TAGS
Oh, well.)
Shell programming is suddenly almost pleasant!
,Doug
> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Vagn Johansen
> Sent: Saturday, 2012 October 06 03:57
> To: help-gnu-emacs@gnu.org
> Subject: Re: IDE versus emacs
>
> Is the TAGS format extensible so a new fields could be added?
>
> It would useful if the identifiers were tagged (pun intended) with the
> the "type": class, method, static function, constant etc.
>
> For example find-tag could then support a customized
> find-first/find-next order (eg. class first).
>
> You could also use it to make the function guess-class-name-at-point. I
> have previously needed this for my tempo expansions for C++ member
> functions.
>
> --
> Vagn Johansen
- Re: IDE versus emacs, (continued)
- Re: IDE versus emacs, Brandon Betances, 2012/10/19
- Re: IDE versus emacs, Tom, 2012/10/20
- Re: IDE versus emacs, Jai Dayal, 2012/10/20
- Re: IDE versus emacs, Tom, 2012/10/20
- Re: IDE versus emacs, Jai Dayal, 2012/10/20
- Re: IDE versus emacs, Eli Zaretskii, 2012/10/19
- Message not available
- Re: IDE versus emacs, Vagn Johansen, 2012/10/06
- Re: IDE versus emacs, Eli Zaretskii, 2012/10/06
- Message not available
- Re: IDE versus emacs, Vagn Johansen, 2012/10/06
- Re: IDE versus emacs, Eli Zaretskii, 2012/10/06
- RE: IDE versus emacs,
Doug Lewan <=
- Message not available
- Re: IDE versus emacs, Vagn Johansen, 2012/10/06
Re: IDE versus emacs, Ken Goldman, 2012/10/05