[TxMt] Tab emulation language dependent

Allan Odgaard allan at macromates.com
Thu Mar 3 19:14:30 UTC 2005


On Mar 3, 2005, at 15:50, Chris Jenkins wrote:

> Having just started to do some Python coding, I have discovered that 
> Python
> seems to prefer spaces instead of tabs for its indenting, so I've 
> switched
> the setting in the prefs, which is fine, but I was wondering whether 
> there
> is any way to make this setting language dependent as I do a lot of
> Actionscript work as well, where tabs are more normal for indenting.

Currently that's not possible, but I'm moving as many settings as 
possible to the style sheet system, so it will be possible to toggle 
such things based on file type or even position of the caret (which 
does make sense for e.g. embedded languages, or settings like smart 
typing).




More information about the textmate mailing list