問題
タブの空白が4スペースになることがある。設定
Settings - Userには下記を設定
"tab_size": 2,
推測
編集したファイルのインデントの種類が混在してる時に起きるっぽい調査1 原因の調査
発生してる現象は下記リンクと同じ
stackoverflow
http://stackoverflow.com/questions/12190382/sublime-text-2-tab-size-setting-not-correctly-activated
"detect_indentation": false
が必要みたい。
- 調査2 detect_indentationって何
sublimetext - Indentation Settings https://www.sublimetext.com/docs/2/indentation.html detect_indentationがtrueになってると、sublimeでファイルを開いたタイミングでインデントがいくつになるか自動で算出→設定される。 (ってことは設定したtab_size:2は無視される?ってことかな)