How to change tab indent for a file type

How to change tab indent for particular file type for example for *.mustache files?


Hi there,

Settings | Editor | Code Style | Specific language

If there is an option for your file type there, then it can be changed there. Otherwise -- only general setting that affects all file types / languages.


Other than that: look at EditorConfig ( -- if implemented it should be supported.

The EditorConfig plugin is bundled with WebStorm 9/IDEA 14. If not -- install plugin manually.

Please note that settings from .editorconfig plugin have priority and silently will overwrite your settings set in IDE


Please sign in to leave a comment.