fluent-kotlin icon indicating copy to clipboard operation
fluent-kotlin copied to clipboard

Create AntiPatterns (working title) to marshall Patterns into something editor-friendly and back

Open Pike opened this issue 5 years ago • 0 comments

When humans edit Fluent content, they're most often editing straight-forward patterns.

They shouldn't be bothered with leading/trailing whitespace, or escaping {.

Thus we should create a representation of Patterns which is editing-friendly.

Pontoon has code for similar purposes in https://github.com/mozilla/pontoon/tree/master/frontend/src/core/utils/fluent.

Working title is AntiPattern, as combining Patterns and AntiPatters is pure energy. This name should not stick.

Pike avatar Aug 10 '20 12:08 Pike