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

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

RE: [h-e-w] c++ editing , variable name completion


From: Jeremy Bowen
Subject: RE: [h-e-w] c++ editing , variable name completion
Date: Tue, 23 Jul 2002 17:36:26 +0100

From: john ware [mailto:address@hidden
Sent: 22 July 2002 19:33

> Hi,
>    Is there a mode which will perform variable name and function name 
> completion for C++.
>
>    By this I mean, if you type in the the beginning of a variable name 
> and hit the proper key combination then a list of all possible symbols 
> which are valid in the scope are displayed. I know that the JDEE mode 
> will do this for java code, but alas, I am back working with C++.

I quite like dabbrev mode. Look in Info under the topic "Emacs->Abbrevs"

It doesn't "display" all completions but it does cycle through the 
available ones it knows about. It is very light-weight but this might be 
good enough. 

I think it works out of the box. You can try it with simply M-/ after 
typing the first few letters of the variable/function name.

Hope this helps



reply via email to

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