TM should -- assuming I'm remembering this correctly! -- remember the soft tab setting on a per filetype basis. If you set "soft tabs, 4 spaces per tab" when an HTML file is open and save that file that way, the next time you open an HTML file, it'll be opened in soft tabs, 4 spaces per tab.<br>
<br><div>There's a menu command to convert hard tabs to soft tabs, which you probably already know about; I don't know of a way to automatically link that to the 'save' action, though.</div><div><br></div>
<div>- Watts</div><div><br><div class="gmail_quote">On Wed, Oct 20, 2010 at 8:56 AM, Joe Lapp <span dir="ltr"><<a href="mailto:arachnojoe@gmail.com">arachnojoe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I've just been troubleshooting why so many of my files have hard tabs<br>
in them.  Now I see that whenever I create a new file in TextMate, it<br>
defaults to hard tabs.  Two questions:<br>
<br>
(1) How do I have TextMate automatically assume soft tabs 2 when I<br>
create a new file?<br>
<br>
(2) Is there a way to have TextMate convert hard tabs to soft tabs on<br>
save, so I can easily fix this mess?<br>
<br>
I think once upon a time I knew that I had to manually set soft tabs<br>
for each new file, but at some point I forgot.<br>
<br>
~joe<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</blockquote></div><br></div>