Bug: php code indentation follows the HTML indentation.
The php code indentation inside <?php ... ?> follows the HTML indentation.
Wrong and very ennoying !
Yes, this is the same issue as described in https://dreamweaver.uservoice.com/forums/382851-adobe-dreamweaver-bugs/suggestions/18415939-bug-php-code-indentation-follows-the-html-indenta
Thanks for reaching out. We already have a known issue which was reported on - https://dreamweaver.uservoice.com/forums/382851-adobe-dreamweaver-bugs/suggestions/18415939-bug-php-code-indentation-follows-the-html-indenta
Can you please confirm if this is the same that you are also facing?
I use PHP code the same way as HTML code to take its place regarding indentation. However, instead of looking at the position of the starting tag, DW now has its own "creative" und unwanted idea to put a closing tag just at the place where it would be, if everybody would submit to the idea that only HTML tags count for indentation.
Please just look at the opening tag, and use the same indent for the closing tag.
You don't need to change anything. Just leave the layout to the coder.
Thanks for sharing feedback, we will surely raise this with the team.