jtokoph / auto-detect-indentation

Auto detect indentation of files in Atom
MIT License
39 stars 6 forks source link

What does? #1

Closed exalted closed 10 years ago

exalted commented 10 years ago

Hi,

quick question: what this package does exactly?

Thanks!

jtokoph commented 10 years ago

It looks at each opened file and sets file specific tab settings (hard/soft tabs, tab length) based on the content of the file instead of always using the editor defaults.

You might have atom configured to use 4 spaces for tabs but open a rails project which defaults to 2 spaces. Without this package, you would have to change your tabstop settings globally or risk having inconsistent lead spacing in your files.

I'll update the readme tomorrow.

exalted commented 10 years ago

Thanks. :pray: