Livejournal
Log in
Post
Friends
My journal
torq
tabbing away
Oct 23, 2003 17:58
I really wish I knew a better way to retabify java code than emacs and the tab key. This is making my hands hurt.
Leave a comment
Comments 3
tirzelin
October 24 2003, 02:03:38 UTC
simple. perl script. depending on how your style you have have it set to insert tabs after every "{" symbol and one less after every "}"
have it take a file, and change it. Done. 1 hour to code the script, a lifetime without carpal tunnel.
Reply
torq
October 24 2003, 03:38:26 UTC
too late - I already have carpal tunnel.
Reply
tfofurn
October 31 2003, 21:41:10 UTC
C-M-\ aka M-x indent-region.
Reply
Leave a comment
Up
Comments 3
have it take a file, and change it. Done. 1 hour to code the script, a lifetime without carpal tunnel.
Reply
Reply
Reply
Leave a comment