On Mon, Jan 17, 2022 at 3:22 PM John Sturdy <jcg.stu...@gmail.com> wrote:

> But it might be handled better in the display in editors and IDEs (perhaps
> syntax coloring brackets by their depth).
>

VSCode already supports this out of the box. Just search "bracket pair" in
the settings and check (tick) the box for Bracket Pair Colorization.
Attached is an example of what it looks like with four levels of nesting by
default (using one of my old personal projects for the sake of example).
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/MOS36QG7GBKGNL5IU3PQU6SPEI43TSVC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to