Hello,
I'm having a problem with the indentation breaking whenever i put a semicolon at the end of endif, endwhile or endforeach in PHP. It removes one or all the tabs and moves the code back one tab or at the beginning of the line.

I have tried with all extensions disabled, and tried with a clean install on a different PC. Still the same.
Thanks.
Did you find the bug? Are there any workarounds one can apply now?
This only bug makes me to desire more and more to switch Code for another editor. It's so sad.
me and everyone else at work have this bug too.
This is not windows 10 only, it happens on two different versions of Mac OS as well. Latest VS Code (1.25.1). It's rather irritating. I feel like this should affect everyone, unless it's because of the php-debug extension (only one i've installed).
@secretfork I'm on mac as well. One of my teammates who's also on mac doesn't use any php extensions and has this problem
Seems to be happening for HTML tags as well, at least in some cases.

Disabling "Auto Indent" option helped me solve this amazingly annoying issue

Is this issue being continued?
It seems that PHP indenting and formatting is so annoying in VSCode. I migrate from Brackets for speed issues and other stuff but in this matter Brackets has a better editor.
@siemano1 thanks for that, that does help a bit, but doesn't really solve the underlying issue. It's just about half as annoying, but still annoying 馃槗
It's strange this has been open for so long. There was a pull request referenced but I can't be certain it resolves this issue. It adds open and close handling for the php tag, but doesn't seem to address the outdenting for the semicolon on one-liners. I manually applied the configuration changes and didn't notice any difference.
It's now late July and this issue is still occurring in 1.36.1 on MacOS 10.14.5
Ran into this same bug in 1.37.1, MacOS 10.14.6
Most helpful comment
Did you find the bug? Are there any workarounds one can apply now?
This only bug makes me to desire more and more to switch Code for another editor. It's so sad.