Log in

No account? Create an account
Code completion for emacs? - Emacs [entries|archive|friends|userinfo]

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Code completion for emacs? [Mar. 5th, 2003|06:18 pm]


I want code completion in my IDE, but I don't like KDevelop. I love emacs and use it as my primary IDE, but I feel the lack of code completion.

Can emacs do code completion? Are there GNU emacs packages to do code completion? The only tools I've found so far are oo-browser, a GNU product which only offers class name completion, and Xrefactory, a commercial product which has variable and class name completion (and costs $29 for an individual licence).

Has anybody else used code completion in emacs before? Any tips and tricks?
Additionally, if anybody knows of CASE tools for emacs fans, I'm always looking for tools to make my job easier. Thanks.

[User Picture]From: bhatta
2003-03-05 04:43 pm (UTC)
M-/ is used for auto-completion. U can cycle through the list of expansions.
(Reply) (Thread)
[User Picture]From: ademus05
2003-03-05 05:21 pm (UTC)
Ooh, thank you, I didn't even know this existed! C-M-/ is even better!

I <3 emacs
(Reply) (Parent) (Thread)
[User Picture]From: bhatta
2003-03-05 07:33 pm (UTC)
what was that last line?
(Reply) (Parent) (Thread)
From: ex_makaroff405
2003-03-05 08:18 pm (UTC)
I love emacs
(Reply) (Parent) (Thread)
[User Picture]From: cema
2003-03-06 05:30 pm (UTC)
(load "completion")

Then use dabbrev-completion or dabbrev-expand which are usually attached to "ESC C-/" and "ESC /" respectively.
(Reply) (Thread)
[User Picture]From: tfofurn
2004-05-01 06:45 am (UTC)
All hail M-/! In the default configuration, though, it has some annoying behaviors for programming in case-sensitive languages. I strongly recomment M-x customize-group dabbrev.
(Reply) (Thread)