autoformat (ctrl + alt + l) extra space before opening the php tag Permanently deleted user 创建于 2019年02月12日 13:40 <script> function initAddress<?=$i?>_ <?=$j?>() { }</script>What option is responsible for this space (before <?=$j?>)?
Does space go away if you replace the shorthand tag with the actual printed value?
Can't reproduce that in 2018.3.4. Please export your code style scheme and share it. Thank you!
<code_scheme name="MySuperScheme1">
<option name="RIGHT_MARGIN" value="500" />
</code_scheme>
phpStorm 2017.2.1
1. create file test.php
2. write to file:
3. press Ctrl + Alt + L
4. after that I see the result:
It seems to be a bug, not an option. The bug is fixed in 2017.3.
Please upgrade.
thank you very much, I will try
installed PhpStorm 2019.1 EAP, everything is fine