-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Allow filtering problems by partial message (glob / regex support)
Description
Currently, the Problem filter list in the InlineProblems plugin only allows filtering errors based on the beginning of the problem message. This makes it impossible to filter problems when the variable or symbol name appears at the start of the message.
For example, consider the following message:
'variable' is assigned a value but never used
Because the variable name changes, it’s not possible to reliably filter this problem type using the current filtering mechanism.
It would be very useful to support partial matching, for example using glob patterns or regular expressions, so we could filter on a stable part of the message such as:
assigned a value but never used
Suggested improvement
- Add support for glob patterns (e.g.
*assigned a value but never used*) - Or allow regex-based filters in the Problem filter list
This would greatly improve flexibility and usability when working with common compiler or linter warnings.