+4

Bracket indicator mixes comments and actual code

Jeff Yeo 14 years ago updated by Asher Max Schweigart 13 years ago 2
For example
1 - If(blah blah){
2 - //If(blah){ <-- commented out
3 - Code code
4 - }

The bracket indicator would pair line 2 and 4.
This happened to me in C++. I don't know how it's doing in other languages.
It would be awesome if this can be fixed.
On the other hand, it can still be useful to find paired brackets within large blocks of commented code.

So really, it should depend on whether the selected bracket is commented or not as to whether the matched bracket should also be commented or not.
I'm not seeing the described behavior in php or javascript.