all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs as a C++ IDE
Date: Sat, 04 Oct 2008 20:48:50 +0200	[thread overview]
Message-ID: <gc8dpm$r9q$1@registered.motzarella.org> (raw)
In-Reply-To: c41f0e47-3e04-48fd-8cc4-7312fd27eb01@m3g2000hsc.googlegroups.com

alessandro.bernardini.1979@gmail.com writes:

> I want to use Emacs for C++ programming with SuSE LINUX and Windows
> Vista.
>
> I have readed the Emacs manual and searched the web, but i still have
> those questione:
>
> - how can i have interactive help in emacs writing C++ code ? If i
> write a C++ keyword, I would like to  get help and informations and
> examples about it, only typing a command.

I'll throw in some keywords which might help you get started.

Google up devhelp. More gnome (and therefore C in a lot of cases).  You
can also bind a key to "manual-entry" for word at point assuming you
have the required manual pages. Also consider eldoc for context
sensitive help if the required functions can be written for the language
you are interested in.

Use cscope and also consider etags. I then have:
,----
| (require 'etags-select)
| (global-set-key "\M-." 'etags-select-find-tag-at-point)
| (global-set-key "\M-#" 'pop-tag-mark)
`----

Good for C/C++ and elisp and php and ... I think.

Also there is a commercial offering :

http://www.xref.sk/xrefactory/main.html

The standard c++browser for emacs is, I believe, ebrowse but I have no
idea as to its status or abilities.

http://www.gnu.org/software/emacs/manual/ebrowse.html

Lastly look at Cedet. I never really got autocompletion working properly
before I changed to another project but it looks promising.

>
> - how can i browse classes in emacs ? Is cscope the best tool ? I
> woluld like to have informations about any classes or functions in my
> code, and to browse it easily. I need informations not only about the
> classes in my file, but in all header files too and so on recursively,
> INCLUDING the standard library. Is this possible ?
>
> - what about ecb ? What other tools i need ?

I'm not sure, personally, about ecb. It is configurable but the default
layout takes a lot of real estate for little practical gain in my
opinion. 

I would love to see a collection of what others have achieved with emacs
as a C/C++ IDE.

Lastly, if you dont get what you want look up using eclipse - it's IDE
features for things like refactoring, context help are much superior to
Emacs at this stage IMO. The disadvantages are ... its not emacs.

>
> Thank you very much in advance !
>
> A.B.

-- 
Don't get smart alecksy
With the galaxy
Leave the atom alone.
~E.Y. Harburg, "Leave the Atom Alone," 1957


  parent reply	other threads:[~2008-10-04 18:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-04 15:57 emacs as a C++ IDE alessandro.bernardini.1979
2008-10-04 18:41 ` Eli Zaretskii
2008-10-04 18:48 ` Richard Riley [this message]
2008-10-05  3:31 ` Wei Weng
2008-10-28  3:21 ` lingyu.ma.fu
2008-11-09 12:52   ` alex

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='gc8dpm$r9q$1@registered.motzarella.org' \
    --to=rileyrgdev@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.