By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,423 Members | 1,294 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,423 IT Pros & Developers. It's quick & easy.

What C++ beautifier do you use?

P: n/a
GNU Indent is a powerful beautifier for C, and I'm using astyle to do that for
C++. But it's not perfect, anyone knows a free tool in Linux? Thanks.
Jul 23 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"Zhou Lei" <da*********@hotmail.com> wrote...
GNU Indent is a powerful beautifier for C, and I'm using astyle to do that
for
C++. But it's not perfect, anyone knows a free tool in Linux? Thanks.


A Linux newsgroup can be just as good a place to ask or even better.
Try comp.os.linux.development.apps next time.
Jul 23 '05 #2

P: n/a
Zhou Lei wrote:
GNU Indent is a powerful beautifier for C, and I'm using astyle to do that for
C++. But it's not perfect, anyone knows a free tool in Linux? Thanks.


I agree with the other post, but there are several options. My favourite
as a plain editor is kate because it also has an integrated shell
meaning you don't have to switch between editor and shell all the time.

You will probably have to tell kate to indent the way you like to
indent, tell it to use spaces etc. or whatever your personal preferences
are.

Lionel.
Jul 23 '05 #3

P: n/a
Lionel van den Berg <ch***********@hotmail.com> writes:
My favourite as a plain editor is kate
I like emacs,^_^

because it also has an integrated shell meaning you don't have
to switch between editor and shell all the time.
yes,emacs also.To do that,simply press Alt+x

You will probably have to tell kate to indent the way you like to
indent, tell it to use spaces etc. or whatever your personal
preferences are.


^_^,just press TAB is ok,under emacs,or Alt+\,for indent selected
region
Jul 23 '05 #4

P: n/a
Thank you I love GNU EMACS and I'm using it but I don't know whether there is
some .el extension so I can insert a space between operands and operators. I'll
post the question on other places, thank you all.
Jul 23 '05 #5

P: n/a
snnn wrote:
I like emacs,^_^


Sure, emacs is fine, I just never bothered to spend the time learning
all the keys to navigate around it. If I was going to use emacs it would
be xemacs. When I was playing with it at one stage I found xemacs had
some more features though this was a few years ago and I can't remember
what they were :). For a newbie, unless you are prepared to sit down and
do some memorising I wouldn't suggest it.

Lionel.
Jul 23 '05 #6

P: n/a

"Lionel van den Berg" <ch***********@hotmail.com> wrote in message
news:cv**********@bunyip2.cc.uq.edu.au...
snnn wrote:
I like ...


See http://www.semanticdesigns.com/Produ...Formatter.html

--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
Jul 23 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.