simple code beautifier

E

Eran

Hi all,

I am looking for external free tool for beautifying code. I need it to
support automation (so i can't use VS's code beautifier).
Does VS code beautifier has any automation?
I am writting CS script composer and I want to add code beautifier so
it should be something that I can add to my intaller.

Thank you for your help.
 
E

Eran

Have you tried the ones that google finds:
   http://astyle.sourceforge.net/
   http://uncrustify.sourceforge.net/
?

Arne

Hello Arne,

Thank you for your help.
uncrustify - I already saw this app. The problem with this app is
that I have no idea how to use it. There is no sample and its help is
not very clear.
astyle - this app works well beside the fact that it doesn't indent
the class Bracket '{'. it does the oposite. it indent it to the most
left.
Meaning: it change it to this format
"
namespace ConsoleApplication1
{
class Program
{
"
while it was ok:
namespace ConsoleApplication1
{
class Program
{
}
 
A

Arne Vajhøj

uncrustify - I already saw this app. The problem with this app is
that I have no idea how to use it. There is no sample and its help is
not very clear.
astyle - this app works well beside the fact that it doesn't indent
the class Bracket '{'. it does the oposite. it indent it to the most
left.
Meaning: it change it to this format
"
namespace ConsoleApplication1
{
class Program
{
"
while it was ok:
namespace ConsoleApplication1
{
class Program
{
}

I don't know the tools.

But I did assume that:
- they work
- they can do simple indentation

Otherwise I can't see any point in them exist.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top