tonyfischetti / sake

A self-documenting build automation tool
MIT License
269 stars 8 forks source link

Allow tabs in YAML #55

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi,

As a user perspective, it's annoying not to be able to have a YAML file with indentation made by tabs. Can you solve it?

refi64 commented 9 years ago

As far as I know, YAML (and therefore pyyaml...and therefore Sake) explicitly makes this illegal. Of course, theoretically, Sake could pre-process the file, replacing each tab with 4 spaces...but someone's bound to complain about letting users set a custom space count, and a can of worms just opens from there.

But I'm not this project's maintainer; I just like helping out in issues. :)

Why not use a text editor like Howl that auto-indents using spaces? Or even Sublime; just set it to use spaces. Gedit even lets you auto-indent, and Notepad++ lets you change it to use spaces instead of tabs.

ghost commented 9 years ago

OK. Thanks for the info, @kirbyfan64