[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: imenu / speedbar and C++
From: |
Klaus Berndl |
Subject: |
Re: imenu / speedbar and C++ |
Date: |
02 Oct 2004 10:07:06 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
On Fri, 1 Oct 2004, Jay Cotton wrote:
> On Oct 1, 2004, at 12:05 PM, Eric Ludlam wrote:
>
> >>>> Jay Cotton <jay@fleeingrabbit.com> seems to think that:
> >> I've been enjoying the emacs imenu / speedbar features for coding Java
> >> and Ruby, but at the moment I'm working on a C++ project and now I'm
> >> having trouble getting imenu to recognize all the functions in the
> >> file. It seems to only recognize the class definition and the "main"
> >> function - which I guess makes sense if it follows a convention of
> >> only noticing functions that are delimited at the left margin.
> >>
> >> However, in my C++ file, all the interesting stuff happens within the
> >> class, and the functions therein are all indented a few spaces. Is
> >> there a way to broaden imenu's tag filter to allow for these functions
> >> to be captured?
> >
> > Hi,
> >
> > The CEDET project has goodies to improve this situation. See
> > http://cedet.sf.net
> >
> > I think ebrowse (which is part of Emacs 21) does something similar.
>
> Wow, thanks - a lot going on at CEDET. From what I can tell, speedbar
> was originally developed by CEDET, but the problem is that Emacs 21.3
> doesn't ship with the latest speedbar (actually, I gather it's more
> complicated than that, with lots of dependencies such as the
> 'semantic' project, also part of CEDEC).
>
> Anyway, I grabbed the latest beta version (cedet-1.0beta3b) and
> installed it and now I'm getting a much better speedbar experience (in
> C++ at least).
>
> Lots to learn.
Maybe you want also "learn" ECB - the Emacs Code browser http://ecb.sf.net .
Some people like it a lot ;-) It uses heavily CEDET................
Klaus
--
Klaus Berndl mailto: klaus.berndl@sdm.de
sd&m AG http://www.sdm.de
software design & management
Carl-Wery-Str. 42, 81739 Muenchen, Germany
Tel +49 89 63812-392, Fax -220