Re: emacs c++ code completion help

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

 



On Mon, May 25, 2009 at 11:57 AM, GMS S <gmspro@xxxxxxxxx> wrote:
>
> Ed Greshko wrote
> [
> Did you visit...
>
> http://cedet.sourceforge.net/setup.shtml
> ]
>
> Reading this ,going to the cedet directory did this
>
> make EMACS=emacs
>
> And added in .emacs file
>
> (load-file "~/cedet-1.0pre6/common/cedet.el")
> (global-ede-mode 1)                      ; Enable the Project management system
> (semantic-load-enable-code-helpers)      ; Enable prototype help and smart completion
> (global-srecode-minor-mode 1)            ; Enable template insertion menu
>
> But it is not working.
> If I run a .cpp file with emacs and after typing dot(.) no menu is shown.
>
>
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

Here we go, I got it working:
Download these files:
auto-complete.el
auto-complete-cpp.el
auto-complete-gtags.el
auto-complete-semantic.el
auto-complete-yasnippet.el

put them in a directory, let's say ~/.emacs.d/elisp/

then add this to your ~/.emacs file:

====================
(add-to-list 'load-path "~/.emacs.d/elisp")
(require 'auto-complete)
(global-auto-complete-mode)
====================

It worked for me, but let me know if it worked for you too!  (the
auto-completion is really nice btw!)

-- 
Armin Moradi

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux