Finding Matching Brackets
The feature within Notepad++ to identify matching brackets and braces is useful, but not as useful as it could be. here are two improvements that I would like to suggest:
- In a PHP file, it would be really useful if the red highlighting in the left margin when you place your cursor on a brace, that helps you find the matching opening or closing brace, continued through HTML sections of the file. Currently in a long PHP file with substantial HTML sections, it can be quite difficult and time consuming to find the matching brace.You basically have to go through the whole file looking for the red brace. With this improvement, it would simply be possible to keep moving up or down until the red line stops. Or you could do binary chops to home in on the correct location.
- It would be helpful if you could double click on a brace to take you to the matching brace, or right-click on it and select something from the context menu, or some other such shortcut.
Thanks - Rowan
For your second point, doesn’t Search (menu) -> Go to Matching Brace work?
real-time Matching Current Brackets block:
real-time Matching Current Brackets block
I think the OP is talking about a different use-case (“long file”, “whole file”) than what the script you pointed to provides. The script is for where the opening and closing delimiter are viewable simultaneously in an editing tab.