Sublime Forum

Change tab_size depending on filetype

#1

I like writing Ruby (RoR) at 2 spaces to the tab.
But my Javascript is more verbose, and generally I’d like 4 spaces to the tab so as to better see the code’s structure.

Is there any way I can change the pref depending on the file extension?

0 Likes