you want what's called untabify in emacs?
Theoretically one could do a regex to s/^\t/ /g (roughly), but what if multi line code incidentally starts with a tab?
The edge cases are so hairy that I doubt that our dev will try, especially because it needs to be configurable per user.
Of course you could extend my wiki solution with such js code...
See Good Intentions: Wikisyntax for the Monastery
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Pretty Print
by LanX
in thread Pretty Print
by jmlynesjr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |