help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and C++ codesense


From: Hadron
Subject: Re: Emacs and C++ codesense
Date: Thu, 03 May 2007 12:07:17 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.99 (gnu/linux)

Klaus Berndl <address@hidden> writes:

> On Mon, 30 Apr 2007, address@hidden wrote:
>
>>  "address@hidden" <address@hidden> writes:
>>  
>> > I'm looking for solutions for working with C++ code in Emacs.
>> >
>> > I'd like the following:
>> >
>> > - Jumping to the definition of the symbol I'm standing on when I press
>> > a key. I know tags is useful for that, but they don''t seem to work
>> > properly in every case, only in most of the cases and I'd like a
>> > proper solution.
>>  
>>  cscope is the best for this IMO. Well, it is for C .....
>>  
>> >
>> > - Show the documentation of the current symbol in a tooltip when
>> > pressing a key. The tooltip is not a big deal. I can do it if I can
>> > get the documentation somehow.
>> >
>> > - Inteligent completion of the current symbol when I press a key.
>> >
>> > I don't want ECB, because I don't want separate windows within the
>> > frame showing information. I like to work in a single frame and get
>> > information only if I press a key explicitly.
>>  
>>  yes. ECB is a bit in your face I agree.
>
> Thanks a lot ;-)

No insult intended - but it takes a lot of configuring and learning to
get familiar with it. Even the very first design issue you hit - why
doesn't "switch to other buffer" include the ecb windows? After a while I
appreciated this touch. But not when I started :-; I find that the
overhead of the ascii character window splits takes too much real estate
from the editor - yes I know you can expand it .... Also, I never got
speedbar working properly with it.

In fact, I intend to be trying ecb out again soon - it will be
interesting to see how well the issues with winman integration are now.

It is still confusing, btw, on what ecb to use. The "best" way seems to
be from cedet, but cedet seems to be ancient. Could you maybe post a
"how to get up and running" update so someone can get the latest all
working and integrated in a few easy steps?

>
>>  
>> >
>> > I suspect semantic can do some or all of the above. Is it true? Is
>> > there a solution out of the box which works like described above or I
>> > have to learn how the semantic api works and implement my own
>> > solution? How good is semantic's C++ parsing/support?
>> >
>> > Are there other alternatives?
>> >
>> > xref seems nice, but I'd like to evaluate free software first.
>> >
>> > I'm also checking out kdevelop which I hear has good support for C++,
>> > but I really don't want to leave emacs (iswitchb!) if I can find a
>> > satisfactory solution.
>>  
>>  I used hippy-expand for the expansion! No tooltips, but cscope worked
>>  for me. I never used it for c++, but I believe it works ok.
>>  
>> >
>> > Thanks.
>> >

-- 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]