How to change tab indent for a file type

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

0
2 comments

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 (http://editorconfig.org/) -- if implemented it should be supported.

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

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

0

Please sign in to leave a comment.