I have ST 2, running on Debian 8.4 and for some reason that I ignore, indentation is set by default for any type of file to 3 spaces. This is occurs for Makefiles, C++, Python, etc…
I looked in under Preferences -> Settings - Default, I have:
// The number of spaces a tab is considered equal to
“tab_size”: 4,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": false,
The the other configurations, Settings - User and Settings - Mode, are empty files.
Curiously, when I open the file Settings - Default I see the file type identified as JSON and indentation set to 4 spaces. Opening the file file Settings - User, I see the file type identified as JSON and indentation set to 1 tab.
This is driving me craze, because Python tends to be picky about indentation… How can I set the correct indentation for a file type ?
Thanks,
Nelson