Open jenslys opened 2 years ago
I like how Xcode handles this with temporary highlights instead of persistent colors that add visual complexity to your editor. It may be considered distracting. We can provide an option, and if not we allow for development of extensions. My vote is to follow suit with Xcode and go with the temporary bracket pair highlights.
https://user-images.githubusercontent.com/806104/160148989-de2b4180-0608-42f7-90ba-2b833766a730.mov
This would require some functionality around editor highlighting because this kind of highlighting is used in document find/replace - CodeEditApp/CodeEditTextView#31.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When dealing with deeply nested brackets in your code, it can be hard to figure out which brackets match and which do not. Bracket pair colorization fixes this by making pairs the same color to easily distinguish them.
Resources
https://code.visualstudio.com/blogs/2021/09/29/bracket-pair-colorization