read expandtab setting and use spaces when needed for the codeformatter