Problem (for me) with Brackets Check.
-
Is there a variant of the “Brackets Check” plugin that does NOT try to match within comments ??
I get a lot of false (to me) detections in comments in “C” and “C++”.
Regards,
Bob -
I don’t use the “Brackets Check” plugin, but the built-in functionality of Npp, and it seems that it does what you need.
-
@Ekopalypse said in Problem (for me) with Brackets Check.:
but the built-in functionality of Npp
This would be “moving the caret next to one of the braces to see the other one highlighted in a special way”.
Note, however, if the ARE matching brackets inside the commented part, they WILL be matched by this feature:
void main() { //{ } }
-
@Alan-Kilborn
Agreed, and think this is a desirable feature. In some other text editors when I’m writing something like a regular expression or stringified JSON, it’s really hard to tell when I’ve matched all the parentheses or brackets.
But Notepad++ not only lets me know when all the brackets inside the string match, it does so without giving false positives/negative bracket matches for block delimiting brackets in the code outside the string. -
@Mark-Olson ,
Agreed. This is one of the biggest reasons many of my fellow dBASE users wanted a Notepad++ UDL for the dBASE Language, and one fellow in particular.
This and word wrap in NPP makes it easy for them to track/find matching open/close delimiters when they make complex commands in dBASE that uses a combination of square brackets, curly brackets and parnthesis when making complex SQL strings for access to backend databases formatted for the dBASE frontend for sending/receiving data.