Skip to content

Improve rules features #90

Description

@l2eused
  1. add prompt popup alert when press "reload" button (reset to default rules), for accident pressing

  2. find and alerts duplicate rules (or interupt rule), suppose that no one want this happen and might helper to find out for someone who have long rules

    example: when having 'dpx|' -> 'abcd|' and 'dpx|' -> 'dpxls|'

  3. add sequence rule

    example: 'w/ |' -> 'with |' -x 'w/ |' instead of seperate 2 rule, 'w/ |' -> 'with |' and 'with |' -x 'w/ |'

    use case: in currently, if I have sentence like this comment with the word and want to deleting, when with | it will also trigger rule and convert to w/ . As the rule 'with |' -x 'w/ |' is mainly purpose to undo 'w/ |' -> 'with |' rule, it should avoid to trigger rule when w/ | didn't active before.

    In case of --> and , when I want to delete , I need to press 4 backspaces instead of just 1 backspace.

    This feature should be, 'w/ |' -> 'with |' -x 'w/ |', type w/ , trigger with and listen, if pressing backspace, trigger w/ else execute -x 'w/ |' rule. When have with and press backspace, nothing happen cause -x 'w/ |' need 'w/ |' -> 'with |' to trigger before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions