Can I set different tab types for different file types?


In config.cson file, I can set the tabLength for different file types, but the tabType setting seems has no effect. Is that possible to set tab type to “hard” for PHP files and tab type “soft” for all other files?


Yes, it is totally possible. Here’s what I added to my config.cson:

    tabType: "hard"

And here’s what my indentation-indicator package reports when I’ve opened a PHP file:

And my default tabType is soft:


Got it. Thank you!