Changing the Formatting of Certain Diretives
Good afternoon, I'm having a problem with the auto format function of PhpStorm. I would like to know how to change the formatting of certain directives.
As you can see in the image below, the scope delimitation of the "@permission, @else and @endpermission" Directives is incorrect:

The correct way would be according to the following image:
Would anyone know how to fix this problem please?
请先登录再写评论。
Hi there,
So far it looks like IDE does not know that you can have @else inside @permission ... @endpermission (which are custom tags, right?) -- hoover over @else and see what the warning will say.
Looks similar to https://youtrack.jetbrains.com/issue/WI-35961 -- at very least from formatting behaviour point of view.
Andriy is absolutely right.
It would be great if you could add your example to https://youtrack.jetbrains.com/issue/WI-35961 .