Hello, sometimes when i press tab key (even if in settings i have "tab_size": 4, ) it will indent with only 2 spaces.
Anybody else has this problem?
I`m on Windows 7 x64 using dev 2097
"translate_tabs_to_spaces":false,
"tab_size": 4
...foo
bar...foo
..bar
....bar
......bar
etc.jps wrote:When you press tab with translate_tabs_to_spaces on, it won't always insert tab_size spaces, it'll insert enough spaces to take you to the next tabstop (i.e., the next column that's a multiple of tab_size), which will insert between 1-tab_size spaces
jps wrote:Check the indentation settings that are applied to the current file, via the View/Indentation menu - it sounds like the automatic indentation detection is setting the tab_size to 2 for you. You can disable it via setting the detect_indentation setting to false.
Users browsing this forum: No registered users and 13 guests