I recently started using Atom, and I have run into an issue that I have not been able to solve. I am working on a large C++ codebase that has been actively developed since the 80s, and the indentation style have varied over time, so in the same file tabs are mixed with spaces, even on the same line sometimes. The indentation looks OK with atom if I set tab lentgh to 8, but then when I write new code, the indentation level is also 8, which is not OK.
Is it possible to set the indentation level separate from the tab length using style sheets or some other way that I haven’t been able to figure out? I think the indentation level should be a setting next to the tab length setting, but since it isn’t I am really hoping that there is a way around that.