Using Eclipse 3.5 PDT, how do I stop it from automatically converting <? into <?php ?>?
-
13-09-2019 - |
Question
I just upgraded to Eclipse 3.5 PDT, and everytime I type <?
, it converts it into <?php ?>
. How do I turn that off?
Solution
If you want to turn it off, it's under
Preferences -> PHP -> Editor -> Typing -> Close PHP Tag (?>)
It really is a best practice to use full <?php
open tags however.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow