* emacs as a C++ IDE
@ 2008-10-04 15:57 alessandro.bernardini.1979
2008-10-04 18:41 ` Eli Zaretskii
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: alessandro.bernardini.1979 @ 2008-10-04 15:57 UTC (permalink / raw
To: help-gnu-emacs
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.
- 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 ?
Thank you very much in advance !
A.B.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs as a C++ IDE
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
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2008-10-04 18:41 UTC (permalink / raw
To: help-gnu-emacs
> From: alessandro.bernardini.1979@gmail.com
> Date: Sat, 4 Oct 2008 08:57:30 -0700 (PDT)
>
> - how can i browse classes in emacs ?
Emacs comes with Ebrowse, which is documented in its own manual (also
part of the Emacs distribution).
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs as a C++ IDE
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
2008-10-05 3:31 ` Wei Weng
2008-10-28 3:21 ` lingyu.ma.fu
3 siblings, 0 replies; 6+ messages in thread
From: Richard Riley @ 2008-10-04 18:48 UTC (permalink / raw
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs as a C++ IDE
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
@ 2008-10-05 3:31 ` Wei Weng
2008-10-28 3:21 ` lingyu.ma.fu
3 siblings, 0 replies; 6+ messages in thread
From: Wei Weng @ 2008-10-05 3:31 UTC (permalink / raw
To: help-gnu-emacs
alessandro.bernardini.1979@gmail.com wrote:
> 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.
>
> - 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 ?
>
> Thank you very much in advance !
>
> A.B.
I use ecb with semantic 1.0, and a CVS build of emacs 23.
ECB is pretty good. :)
You can use ebrowse if you want to have a global view of all the classes in
all of your related C++ projects.
Thanks
Wei
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs as a C++ IDE
2008-10-04 15:57 emacs as a C++ IDE alessandro.bernardini.1979
` (2 preceding siblings ...)
2008-10-05 3:31 ` Wei Weng
@ 2008-10-28 3:21 ` lingyu.ma.fu
2008-11-09 12:52 ` alex
3 siblings, 1 reply; 6+ messages in thread
From: lingyu.ma.fu @ 2008-10-28 3:21 UTC (permalink / raw
To: help-gnu-emacs
On 10月4日, 下午11时57分, alessandro.bernardini.1...@gmail.com wrote:
> 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.
>
> - 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 ?
>
> Thank you very much in advance !
>
> A.B.
in my memory there're four tools you could use:
Ebrowse
etags
escope
xrefacotry
you could find the information in google.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacs as a C++ IDE
2008-10-28 3:21 ` lingyu.ma.fu
@ 2008-11-09 12:52 ` alex
0 siblings, 0 replies; 6+ messages in thread
From: alex @ 2008-11-09 12:52 UTC (permalink / raw
To: help-gnu-emacs
On Oct 28, 4:21 am, lingyu.ma...@googlemail.com wrote:
> On 10月4日, 下午11时57分, alessandro.bernardini.1...@gmail.com wrote:
>
>
>
> > 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.
>
> > - 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 ?
Thank you very much !
>
> > - what about ecb ? What other tools i need ?
>
> > Thank you very much in advance !
>
> > A.B.
>
> in my memory there're four tools you could use:
> Ebrowse
> etags
> escope
> xrefacotry
>
> you could find the information in google.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-11-09 12:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-10-05 3:31 ` Wei Weng
2008-10-28 3:21 ` lingyu.ma.fu
2008-11-09 12:52 ` alex
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.