Home Download Buy Blog Forum Support

Mass convert space to tab indentation

Mass convert space to tab indentation

Postby Arjan on Sat Jan 26, 2013 5:48 pm

The ST2 feature of easily converting a documents spaces to tabs for indentation is great.

What's not so great is to do it manually on hundreds of files in a project. Any way to do it on a project, all files, automagically?

Thanks,
arjan
Arjan
 
Posts: 88
Joined: Thu Jan 24, 2013 1:08 pm

Re: Mass convert space to tab indentation

Postby prmaple on Sun Jan 27, 2013 12:29 am

better to do it with a python script
Find me
HTML5 Games: SNAKE! Tetris!
prmaple
 
Posts: 82
Joined: Sun Dec 25, 2011 11:06 am
Location: Melbourne

Re: Mass convert space to tab indentation

Postby jkw on Mon Jan 28, 2013 2:25 pm

OffTopic
Why would you even want to convert from spaces to tabs?
jkw
 
Posts: 17
Joined: Sun Nov 04, 2012 3:02 pm

Re: Mass convert space to tab indentation

Postby Arjan on Mon Jan 28, 2013 2:30 pm

Because indentation with spaces is idiotic (yes, I don't write in lame languages where indentation has semantic meaning).
Arjan
 
Posts: 88
Joined: Thu Jan 24, 2013 1:08 pm

Re: Mass convert space to tab indentation

Postby bizoo on Mon Jan 28, 2013 3:11 pm

bizoo
 
Posts: 886
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 16 guests