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

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

Re: A guide on setting up C/C++ development environment for Emacs


From: Tu Hoang Do
Subject: Re: A guide on setting up C/C++ development environment for Emacs
Date: Wed, 27 Aug 2014 20:18:27 +0700

CEDET is not slow. It's reasonably fast given it is implemented in Emacs
Lisp. It needs time for parsing to build a database, so you see a message
printing this: parsing....<file> in the minibuffer. It needs parsing to
build up a database for smart completion. After the first time parsing,
completion happens instantly and you should enable Semanticdb minor mode to
save the parsing results, so CEDET won't have to parse the next time. CEDET
can handle project with the size of Emacs really well. I think even project
with more than a million lines of code. CEDET is the only viable solution
so far I found for real smart completion in Emacs. Other clang based
solution is pretty limited: you can only get completion from system header
and current directory, but not for your project. You have to add the
include paths to tell Clang where your project include paths are, and you
have to specify with absolute paths. It's really tedious.


On Wed, Aug 27, 2014 at 7:48 PM, Dmitriy Igrishin <dmitigr@gmail.com> wrote:

> Hi,
>
> Amazing work. Thank you!
>
> Although, I don't use CEDET because it's terrible slow for me.
>
>
> 2014-08-27 11:05 GMT+04:00 <solidius4747@gmail.com>:
>
>> Hi list,
>>
>> I wrote a guide on setting up C/C++ development in Emacs that covers the
>> following topics:
>>
>> - Source code navigation: jump around Linux kernel with easy, find any
>> file in project, find any definition and reference in project.
>> - Smart completion with CEDET and Semantic.
>> - More code navigation with Senator.
>> - Project management with EDE and Projectile.
>> - Display source code source code information with
>> semantic-idle-summary-mode and semantic-sticky-func-mode.
>> semantic-idle-summary-mode displays function interface in the minibuffer
>> and semantic-sticky-func-mode displays interface of current function point
>> is in.
>> - Utilities for source code editing.
>> - Compile with Compilation mode.
>> - Debugging with GDB Many Windows or plain old GUD.
>>
>> The link: http://tuhdo.github.io/c-ide.html
>>
>
>
>
> --
> // Dmitriy.
>
>


reply via email to

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