How to figure out whether the editor uses tabs or spaces


Some files like JSON are supposed to use spaces, but JavaScript in Atom is supposed to use tabs for me. How can I find a setting that says when the editor should use tabs or spaces without having to check the file type?


You can use my indentation-indicator package. It adds an indicator to the status bar showing what the indentation settings are for the active editor: