-
-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Labels
c-formatterPHP code reformatting and style rulesPHP code reformatting and style rulest-bugSomething isn't workingSomething isn't working
Description
Description
When pasting text, mago always adds an empty line after the pasted code. Only happens when mago is set as the formatter using customLocalFormatters.formatters, doesn't happen with prettier or cs fixer.
Happens for constructor properties, array keys, named arguments etc.
Playground Link
No response
Reproduction
Config
[formatter]
print-width = 80
align-assignment-like = true
parentheses-around-new-in-member-access = true
empty-line-after-opening-tag = false
empty-line-after-trait-use = true
empty-line-after-class-like-constant = false
empty-line-after-property = false
empty-line-after-symbols = false
empty-line-between-same-symbols = false
separate-class-like-members = false
Copy/Cut multiple lines of text, place the caret at the desired position and paste the code:
Environment
Mago: 1.3.0
OS: Windows 10
"Installed" from zip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
c-formatterPHP code reformatting and style rulesPHP code reformatting and style rulest-bugSomething isn't workingSomething isn't working