all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Knackeback <knackeback@randspringer.de>
Subject: Re: emacs as a C++ editor
Date: 09 Jan 2005 19:28:38 +0100	[thread overview]
Message-ID: <m3mzvimp7t.fsf@redrat.quark.de> (raw)
In-Reply-To: roy-1B84D3.14285308012005@reader1.panix.com

Roy Smith <roy@panix.com> writes:

> In article <m33bxbohrh.fsf@redrat.quark.de>,
>  Knackeback <knackeback@randspringer.de> wrote:
> 
> > Does an emacs extension exist which supports 
> > code completion for C++ programming ? 
> > 
> > Thomas
> 
> There is C++ mode, which is probably included in most emacs distribtions.
> 
> I'm not sure what you mean by "code completion", but it has a lot of 
> features which help editing C++ code.
> 
> You can do meta-/ and it will try to autocomplete the word you started 
> typing.  This is especially useful with the long function names that 
> seem to be common in C++.  You type "fin M-/" and it completes 
> "findAndReplaceAllFrobnitzOccurrances", assuming there is an instance of 
> that name somewhere nearby.  If it guessed wrong, hit M-/ again and 
> it'll cycle through some likely alternatives.  Very handy.
> 
> It also auto-indents code (and can be tweaked to use almost any indent 
> style known to man), matches parens (and braces and brackets and 
> quotes), does syntax coloring, and probably 47 other nifty things I've 
> either forgotten about of haven't discovered yet.
> 
g> Not to mention built-in support for running compilations, and 
> interfacing to several common source control systems.

I think the CEDET project http://cedet.sourceforge.net/ could have
the feature. I will try it. I think the boost libraries are a real
test for parsing the C++ code, which is necessary for code completion
in C++. Of course if someone has already excperience with CEDET please
tell ...

-- 
NO ePatents: http://swpat.ffii.org/index.de.html

  reply	other threads:[~2005-01-09 18:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-08 19:14 emacs as a C++ editor Knackeback
2005-01-08 19:28 ` Roy Smith
2005-01-09 18:28   ` Knackeback [this message]
2005-01-10 14:18     ` Eric Ludlam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3mzvimp7t.fsf@redrat.quark.de \
    --to=knackeback@randspringer.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.