I've noticed, from working in the Ruby on Rails syntax, that certain file-types convert the tab key silently to spaces at whatever space-to-tab preference is currently set. YAML for example. I was just trying out some Python for the first time in forever, and noticed that it was using tabs instead of spaces, even though the surrounding document was entirely indented in spaces.
Is this something that is adjustable? Where would I look? I looked in the language definition in the YAML bundle, but nothing jumped out at me.
Thanks in advance,
Walter
On 10/03/2012, at 23.12, Walter Lee Davis wrote:
[…] Is this something that is adjustable?
You can change soft tabs (wether or not indenting is via spaces) via the status bar pop-up menu.
TextMate 1.x automatically learns your preferences per language — for 2.0 you’ll presently need to create a .tm_properties file where you explicitly set your preferences.