Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AlignEquals does not work perfectly #155

Open
ashraf-kabir opened this issue Aug 4, 2024 · 3 comments
Open

AlignEquals does not work perfectly #155

ashraf-kabir opened this issue Aug 4, 2024 · 3 comments

Comments

@ashraf-kabir
Copy link

ashraf-kabir commented Aug 4, 2024

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
Copy link

driade commented Aug 5, 2024

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

@ashraf-kabir
Copy link
Author

ashraf-kabir commented Aug 5, 2024

image

VSCode on macOS Sonoma Version 14.5

@driade

@driade
Copy link

driade commented Aug 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants