Home Download Buy Blog Forum Support

Replace all spaced indents with tab indents on open/paste?

Replace all spaced indents with tab indents on open/paste?

Postby handycam on Fri Jul 26, 2013 3:43 pm

I prefer to use tabs for indents.

Opening code (or pasting a block into my code) written by others who use spaces is annoying and makes the code alignment sloppy.

Is there a setting or plugin to automagically replace 4 spaces (and/or 2 spaces) with a tab, for example?

I find myself frequently having to search for " {4}" and replace with "\t" but it gets old fast.
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 15 guests