Search code examples
phphtmleclipsemacoseclipse-pdt

Eclipse (on mac) bug: inserting html between 2php tags impossible


I'm facing a really annoying and blocking issue with Eclipse indigo (latest update) on my Mac. Every time I try to type an HTML tag between 2 PHP tags the editor start bugging, I can't type in anything and basicaly I have to close the file.

Example of what I initate the bug:

<?php if():?> <fieldset></fieldset> (when typing this rown in between the 2 php tags) <?php endif;?>

I found this bug described on Eclipse website under 2 diffents bug ids:

Did anyone faced this issue and found a workaround? The only option left I can see is to install an older version of Eclipse.

Thanks,


Solution

  • I know this is a compromise if your preference is Eclipse but Netbeans doesn't have this problem. You could also print your HTML from PHP instead of dropping out of PHP.