Add custom formatting rules

Issue #7 open
Yusuf Ismail repo owner created an issue

As a replacement for the built in hard-coded rules for errors and warnings, create a flexible system where each rule specifies

The string to match The match type (equals, contains) What color to use on match Part of the string to color when matched (all of it, only the match)

Comments (4)

  1. Yusuf Ismail reporter

    Design

    New design has been considered that uses full regex, each “pattern“ will be the following

    1. A regex for the pattern to match
    2. What color to make the matched pattern
    3. Bold, italics, etc.
    4. If the “formatting“ applies to the entire log line, or only the parts matching the exact regex

    This should allow for complete codeless control on the colored formatting

    Considerations

    These patterns will be part of the Quantum Theme. Should they be a serializable class or a scriptable object?

  2. Log in to comment