I can get confused with so many { } s

Is there a feature that would color code related brackets?

No sadly, but you can double click on a bracket and it will highlight the section

Also moving the cursor left and right (using the arrow keys) over the bracket, it highlights yellow briefly to see the one it pairs with

Thanks. Sadly indeed!