Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime2 "translate_tabs_to_spaces: false" but it still inserts spaces. Why?

So I'm using Sublime Text 2, and I have set

"translate_tabs_to_spaces": false,

so that tabs remain tabs and don't get converted to spaces. However, when I type a tab, it still inserts 4 spaces, and not a tab. Does anybody know why that is?

like image 629
Willem Mulder Avatar asked Apr 08 '13 11:04

Willem Mulder


1 Answers

Well, I found it just after posting. I had

"detect_indentation": true,

so it finds out that spaces are used instead of tabs, and will then use that instead of the default tabs.

like image 180
Willem Mulder Avatar answered Sep 20 '22 04:09

Willem Mulder