Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Beautifying Tcl Scripts

773 views
Skip to first unread message

WJG

unread,
Mar 6, 2011, 3:52:41 AM3/6/11
to
Ok, I'm lazy. I type in my code and, well, it can look like a real
mess. When I code in C, I used Astyle to tidy up the code and it looks
good. All nicely indented and so on. Is there a script or utility out
there that I can use to beautify my Tcl scripts too?

Will

elipse

unread,
Mar 6, 2011, 7:20:27 AM3/6/11
to

Alan Grunwald

unread,
Mar 6, 2011, 7:34:23 AM3/6/11
to

I use emacs myself, it does quite a good job of indenting lines.

--
Alan

WJG

unread,
Mar 6, 2011, 11:30:10 AM3/6/11
to
Thanks for the suggestions.

Will

Harald Oehlmann

unread,
Mar 7, 2011, 4:24:25 AM3/7/11
to
Komodo ?

Maksym H.

unread,
Mar 7, 2011, 10:37:14 AM3/7/11
to
On 7 Бер, 11:24, Harald Oehlmann <wortka...@yahoo.de> wrote:
> Komodo ?

I already asked this in Komodo forum: http://community.activestate.com/forum/tcl-code-formatter
It seems that currently there is no formatter/beautifier for TCL for
Windows. Will, please write if you already try Frink and does this
utility was helpful?

tomk

unread,
Mar 7, 2011, 1:43:07 PM3/7/11
to

I wrote a code indent normalizer for the introspection part of WUB.
You can down load WUB which contains the indent package.
tomk

Glenn Jackman

unread,
Mar 7, 2011, 6:27:47 PM3/7/11
to
At 2011-03-07 10:37AM, "Maksym H." wrote:

I haven't used this cygwin alias for some time...

alias beautify_tcl='~/tcl/frink/frink.exe -egINnz -w 150'


--
Glenn Jackman
Write a wise saying and your name will live forever. -- Anonymous

razajac

unread,
Mar 26, 2011, 11:08:11 AM3/26/11
to
On Mar 6, 8:34 pm, Alan Grunwald <alan-clt-pos...@nospam.demon.co.uk>
wrote:

> On 06/03/11 12:20, elipse wrote:
>
> > On Mar 6, 10:52 am, WJG<wjgiddi...@blueyonder.co.uk>  wrote:
> >> Ok, I'm lazy. I type in my code and, well, it can look like a real
> >> mess. When I code in C, I used Astyle to tidy up the code and it looks
> >> good. All nicely indented and so on. Is there a script or utility out
> >> there that I can use to beautify my Tcl scripts too?
>
> >> Will
>
> > Frink ?
> >http://catless.ncl.ac.uk/Programs/Frink/
> >http://dir.filewatcher.com/d/SuSE/10.1/i586/Development/Languages/Tcl...

>
> I use emacs myself, it does quite a good job of indenting lines.
>
> --
> Alan

Emacs' tcl-mode rocks!

0 new messages