in Sublime, go to 'View' -> 'Indentation', check 'Indent using spaces' and click on 'Convert indentations to spaces'