-1

Option to allocate tabs or spaces for certain file types

Tom Turton hace 12 años actualizado hace 12 años 2
In cases of YAML files certainly, tabs cannot be used. At the moment I have to manually put in spaces, save and close the file and then reopen so that tabs automatically become spaces.
Maybe in the case of YAML and other strict formats, Sublime Text 2 should force spaces/tabs?
You can easily do this yourselves by creating a file type specific setting that overrides the indentation style.
Thanks for the suggestion - I wasn't aware of file type specific settings.
However, in the case of YAML (and I suspect other languages) tabs are illegal so I shouldn't have to modify any settings to get it to work.