 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Victor Bazarov Guest
|
Posted: Fri Feb 25, 2005 3:17 am Post subject: Re: What C++ beautifier do you use? |
|
|
"Zhou Lei" <dark_eaglet (AT) hotmail (DOT) com> wrote...
| Quote: | 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.
|
|
| Back to top |
|
 |
Lionel van den Berg Guest
|
Posted: Fri Feb 25, 2005 5:13 am Post subject: Re: What C++ beautifier do you use? |
|
|
Zhou Lei wrote:
| Quote: | 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.
|
|
| Back to top |
|
 |
Zhou Lei Guest
|
Posted: Fri Feb 25, 2005 9:03 am Post subject: What C++ beautifier do you use? |
|
|
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.
|
|
| Back to top |
|
 |
snnn Guest
|
Posted: Fri Feb 25, 2005 1:27 pm Post subject: Re: What C++ beautifier do you use? |
|
|
Lionel van den Berg <charrliebrown (AT) hotmail (DOT) com> writes:
| Quote: | My favourite as a plain editor is kate
|
I like emacs,^_^
| Quote: | 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
| Quote: |
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
|
|
| Back to top |
|
 |
Zhou Lei Guest
|
Posted: Fri Feb 25, 2005 11:27 pm Post subject: Re: What C++ beautifier do you use? |
|
|
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.
|
|
| Back to top |
|
 |
Lionel van den Berg Guest
|
Posted: Sun Feb 27, 2005 11:10 pm Post subject: Re: What C++ beautifier do you use? |
|
|
snnn wrote:
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.
|
|
| Back to top |
|
 |
Ira Baxter Guest
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|