all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Etags and OOP
@ 2009-11-09  3:48 michael
  2009-11-09  3:59 ` Eli Zaretskii
  2009-11-09 13:35 ` Lluís
  0 siblings, 2 replies; 4+ messages in thread
From: michael @ 2009-11-09  3:48 UTC (permalink / raw
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

Hello, I was wondering is there a way for etags or any custom tool
compatible with emacs to write tags according to the class hierarchy when
writing Object Oriented code for later use in completion? Or any past works
along this? Thanks.

[-- Attachment #2: Type: text/html, Size: 241 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Etags and OOP
  2009-11-09  3:48 Etags and OOP michael
@ 2009-11-09  3:59 ` Eli Zaretskii
  2009-11-09 13:35 ` Lluís
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2009-11-09  3:59 UTC (permalink / raw
  To: michael; +Cc: emacs-devel

> Date: Mon, 9 Nov 2009 01:48:31 -0200
> From: michael <m.pontus@gmail.com>
> 
> Hello, I was wondering is there a way for etags or any custom tool
> compatible with emacs to write tags according to the class hierarchy when
> writing Object Oriented code for later use in completion? Or any past works
> along this? Thanks.

Take a look at Ebrowse.  It comes with its own manual, and is part of
Emacs.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Etags and OOP
@ 2009-11-09 10:50 dhruva
  0 siblings, 0 replies; 4+ messages in thread
From: dhruva @ 2009-11-09 10:50 UTC (permalink / raw
  To: emacs-devel

> 
> Message: 2
> Date: Mon, 9 Nov 2009 01:48:31 -0200
> From: michael 
> Subject: Etags and OOP
> To: emacs-devel@gnu.org
> Message-ID:
>     <176672f50911081948ic384412j764f1f22762d821d@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hello, I was wondering is there a way for etags or any custom tool
> compatible with emacs to write tags according to the class hierarchy when
> writing Object Oriented code for later use in completion? Or any past works
> along this? Thanks.


Try ebrowse (part of emacs). It creates a OO based tree and might serve your requirement. I have not tried the completion part from ebrowse but use gtags (GNU Global).

-dhruva


      Connect more, do more and share more with Yahoo! India Mail. Learn more. http://in.overview.mail.yahoo.com/




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Etags and OOP
  2009-11-09  3:48 Etags and OOP michael
  2009-11-09  3:59 ` Eli Zaretskii
@ 2009-11-09 13:35 ` Lluís
  1 sibling, 0 replies; 4+ messages in thread
From: Lluís @ 2009-11-09 13:35 UTC (permalink / raw
  To: michael; +Cc: emacs-devel

> Hello, I was wondering is there a way for etags or any custom tool
> compatible with emacs to write tags according to the class hierarchy when
> writing Object Oriented code for later use in completion? Or any past works
> along this? Thanks.

You also have cscope, which comes with the xcscope plugin, but you have to
give it some extra flags for the sake of tags completeness. In C++ I use:

    tags-exuberant --c++-kinds=+p --c-kinds=+p --fields=+iaS --extra=+q --tag-relative=yes <files>

Lluis

--
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-09 13:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09  3:48 Etags and OOP michael
2009-11-09  3:59 ` Eli Zaretskii
2009-11-09 13:35 ` Lluís
  -- strict thread matches above, loose matches on Subject: below --
2009-11-09 10:50 dhruva

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.