Capture group — now you can choose a specific capture group to be matched before applying regexp and highlighting. Leave 0 to match all groups.
Format — you can choose a specific parsing format for the highlighting. Leave Any to match all formats.
Motivation
Previously highlighting would highlight anything matching the pattern, that would lead to issues like this one.
Here we use the default Error pattern and it works ok with IDEA format, but leads to somewhat strange in a custom one:
Features
This PR adds two fields to highlighting settings:
0
to match all groups.Any
to match all formats.Motivation
Previously highlighting would highlight anything matching the pattern, that would lead to issues like this one. Here we use the default Error pattern and it works ok with IDEA format, but leads to somewhat strange in a custom one:
How it works now