I don't understand how can I format correctly HTML code when is surrounded between PHP tags when I click "Auto-Indent Lines".
What do I expect:
What PhpStorm does when I click "Auto-Indent Lines".:
I don't understand how can I format correctly HTML code when is surrounded between PHP tags when I click "Auto-Indent Lines".
What do I expect:
What PhpStorm does when I click "Auto-Indent Lines".:
You can change that behaviour in the PHPStorm Preferences. Open your Preferences... When the Window opens; type Code Style to search for that Keyword. Then under the Menu select HTML.... Here You can decide how your HTML would be formatted or you may select any Language like PHP...
However; you may have to restart PHPStorm for the Effect to take place.