emacs c++ code completion help

GMS S gmspro at yahoo.com
Tue May 26 11:00:27 UTC 2009


Armin moradi wrote:
[[
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
]]

It seems it is partially working.
After the dot(.) the list of built-in functions do no appear as list.
But when I type "v" a list appears with the options

1.vector
2.vv (it is the variable i declared)


What i did:
1.Downloaded all .el files from here http://www.emacswiki.org/emacs/AutoComplete#toc5
2.Put these files in ~/.emacs.d/elips
3.Added these lines in ~/.emacs file

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

Thanks.


      




More information about the fedora-list mailing list