Ability to ignore commented braces
Posted: Thu Jul 06, 2006 5:27 pm
Using Ctrl+M to find matching pairs is very nice. A good enhancement to this would be to ignore braces in comments (if syntax highlighting is on, of course, since that's where the concept of a 'comment' is defined).
For example, this bit of perl:
Currently, pressing Ctrl+M on the last curly brace matches it with a comment, not executable code. Worse, pressing Ctrl+M on that first curly brace typically gets even more unexpected results.
It'd be nice if it could ignore comments.
For example, this bit of perl:
Code: Select all
if ($foo eq 'bar') {
# if ($foo ne 'bar') {
do($foo);
}
It'd be nice if it could ignore comments.