kokororin / vscode-phpfmt

Integrates phpfmt into VS Code
https://marketplace.visualstudio.com/items?itemName=kokororin.vscode-phpfmt
BSD 3-Clause "New" or "Revised" License
129 stars 30 forks source link

AlignEquals does not work perfectly #155

Open ashraf-kabir opened 1 month ago

ashraf-kabir commented 1 month ago

AlignEquals does not seem to work perfectly. See attached screenshot.

image

My phpfmt settings as follows:

"phpfmt.passes": [ "PSR2LnAfterNamespace", "PSR2CurlyOpenNextLine", "PSR2ModifierVisibilityStaticOrder", "PSR2SingleEmptyLineAndStripClosingTag", "AlignEquals", "AlignDoubleArrow", "AlignPHPCode", "MergeElseIf", "ReindentAndAlignObjOps", "ReindentSwitchBlocks", "ReplaceBooleanAndOr", "ShortArray", "StripExtraCommaInArray" ], "phpfmt.exclude": ["ReindentComments", "StripNewlineWithinClassBody"], "phpfmt.psr2": false, "phpfmt.indent_with_space": 2,

driade commented 1 month ago

Hi @ashraf-kabir may you please share the complete snippet? I wasn't able to reproduce the bug with the information provided

ashraf-kabir commented 1 month ago
image

VSCode on macOS Sonoma Version 14.5

@driade

driade commented 1 month ago

I'm really sorry I'm still unable to reproduce this behaviour.