Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 3: how to change the size of tabs? [closed]

I'm using ST3 (build 3103) on OS X.

I have this set in my user preferences:

...
"tab_size": 2,
"translate_tabs_to_spaces": true,
...

but when I open *.css files hitting the tab key always inserts 4 spaces instead of two.

I've tried creating a css-specific settings file (CSS.sublime-settings) with the following but, even after a restart, I'm still seeing 4 spaces when I tab.

{
  "tab_size": 2,
  "translate_tabs_to_spaces": true,
}

Am I doing something wrong?

like image 312
RobertJoseph Avatar asked Dec 14 '22 08:12

RobertJoseph


1 Answers

Check tab size in the bottom right corner of ST window. Try Select All and then changing tab size.

like image 148
krozaine Avatar answered Jan 17 '23 05:01

krozaine