Creating a new coloring matching character
-
OP is talking only about coloring.
What you cited (both references) is for the on-demand brace-matching feature (Search > Go to Matching Brace).
But I think you are right; from the N++ code it appears angled brackets are supported, but the go-to-matching feature is not enabled when near an angled bracket.
-
from the images I got the impression that OP is referring to colors used by matching braces functionality but I might be wrong.
-
@Ekopalypse said:
from the images
I think the images are inconclusive on that point; I thought the OP was talking about just careting over an opening or closing brace/bracket and seeing the match be color-highlighted. Perhaps if the OP meant the on-demand feature he would have thought it important enough to mention? Or, I’m totally wrong. :)
-
-
When I place the cursor right before or after an angle bracket (felt or right), I wanted NP++ to bold and color both angle brackets, assuming it finds the other side of the pair.
just like with curly brackets -
I tried a few things but I guess this is a bug.
You might consider open an issue here. -
Hi,
and how shall I call this feature, so that the developer understand what I mean?
If this thread is of any indication, it seems I’m having trouble explaining what I wanted!Thanks to all for help and feedback
-
It is called brace matching, I’m going to open an issue.
-
-
there was a decision made long time ago that the angled bracket matching isn’t part of the builtin matching function
as too much languages do use angled brackets as operators, which then would falsely color those operators.At the moment I do see two options for you.
- Open a feature request at github and define exactly how you want it to behave and for which languages (which itself shouldn’t use angled brackets as operators in their syntax) or
- Use one of the plugin scripting languages and make it as a feature for you.