In GNU Emacs there is a feature to highlight matching brackets in code with the same colour.
However when the code which the brackets enclose is really long with severa
Try mic paren which shows matching parenthesis code even if found outside the present screen.