All you are proposing really is that code be stored in a common format that editors can parse and display. Tabs and spacing literally are already exactly that - a common format that text editors can properly display.
Otherwise, it would require text editors to have knowledge of how to parse a specific language or serialization, which requires a lot of extra that most wouldn't support.