I was coding today and the thought occurred to me: why is dynamic scaling of the relative sizes of nested parentheses/brackets/curly braces not already a common feature of code editors?
One often has layers of functions nested one inside the other
zip(range(len(some_list)), range(len(some_other_list)))
or functions called on containers which may contain complicated elements
foo({bar(1, ("A", "B", "C")): [1,2,3], bar(2, ("x", "y", "z"): [4,5,6]})
or maybe just long math expressions.
If one was writing out such expressions on a whiteboard one would likely scale the sizes of successive pairs of parentheses to keep track of the scope one was currently at, with the outermost parentheses having the largest size and size incrementally decreasing as we progress to inner scopes.
Is anyone aware of any code editors that do this (or failing this, aware of any justification for not doing so)?