Add support for multiple pipes in placeholder modifiers#17
Draft
Add support for multiple pipes in placeholder modifiers#17
Conversation
- Modified PlaceholderFormatter to split pipe string by unescaped | characters - Each modifier is applied sequentially in order - Added test cases for multiple pipes functionality - Supports escaped pipes (\|) as arguments within modifiers Co-authored-by: henriquemoody <154023+henriquemoody@users.noreply.github.com>
- Changed test cases from quote to actual formatters (date, pattern, mask, number) - These modifiers are actually available in the default chain - Tests demonstrate multiple pipes with realistic formatter combinations Co-authored-by: henriquemoody <154023+henriquemoody@users.noreply.github.com>
- Documented multiple pipes syntax and usage in PlaceholderFormatter.md - Added examples showing chained modifiers - Explained escaped pipes (\|) behavior - Updated template syntax rules Co-authored-by: henriquemoody <154023+henriquemoody@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for multiple pipes in placeholder modifiers
Add support for multiple pipes in placeholder modifiers
Feb 7, 2026
henriquemoody
requested changes
Feb 7, 2026
Member
henriquemoody
left a comment
There was a problem hiding this comment.
Great changes!
Now make sure docs/modifiers/Modifiers.md is up-to-date as well
- Added "Chaining Multiple Modifiers" section - Included examples showing multiple pipes usage - Explained escaped pipe behavior - Documented sequential left-to-right application Co-authored-by: henriquemoody <154023+henriquemoody@users.noreply.github.com>
Contributor
Author
Updated! Added a "Chaining Multiple Modifiers" section to docs/modifiers/Modifiers.md with examples and explanation of the sequential application behavior. (d8fb54c) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|\|) are treated as arguments not separatorsOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.