On 24/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It's possible you're already doing this, or are already aware, but > Vim (a text editor, http://vim.sf.net) does nice code formatting. > It has built-in support for just about everything. > > Once you get familiar with vim, you'll find you can re-format an > entire source file with a few keystrokes. > > Matt > > Vim works for me, but just occasionally it gets wrong. See if it fits your needs.
Turn of vi compatibility mode (the example rc will do /usr/local/share/vim63/vimrc) Open your code vG (select all) followed by = should try to auto indent all your code. Regards Edd