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 29 forks source link

AlignEquals does not work perfectly #155

Open ashraf-kabir opened 3 months ago

ashraf-kabir commented 3 months 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 3 months 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 3 months ago
image

VSCode on macOS Sonoma Version 14.5

@driade

driade commented 3 months ago

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