Sublime2 is "translate_tabs_to_spaces: false", but it still inserts spaces. What for?

So, I am using Sublime Text 2, and I installed

"translate_tabs_to_spaces": false, 

so that the tabs remain tabs and do not convert to spaces. However, when I print the tab, it still inserts 4 spaces, not the tab. Does anyone know why this is?

+4
source share
2 answers

Well, I found it right after posting. I had

"detect_indentation": true,

so that he finds that spaces are used instead of tabs, and then uses that instead of the default tabs.

+8
source

I have a trick for this. 1. Open the file 2. Select all. 3. Cut it. 4. Save the file. 5. Close the file. 6. Open the file (it should be empty) 7. Insert it.

That's all!.

0
source

All Articles