Ctrl + Shift + L when indenting an HTML heredoc
When I hit Ctrl + Shift + L on an heredoc, it doesn't indent the inside:
So if I hit Ctrl + Shift + L on this code, it does not change/indent the code :
$var = <<<HTML
<div></div>
<div><div></div></div>
HTML;
However when I indent outside of a heredoc, it indents properly this way:
<div></div>
<div>
<div></div>
</div>
When I do "edit fragment", it indents fine in the second window it opens. But that defeats the purpose, it should be possible to do it inline as well.
请先登录再写评论。
Not possible currently, sorry. Please vote: https://youtrack.jetbrains.com/issue/IDEA-146807