Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Latest Eclipse PHP not matching alternative syntax keywords
Latest Eclipse PHP not matching alternative syntax keywords [message #1400660] Mon, 14 July 2014 14:26 Go to next message
Martin Briglia is currently offline Martin BrigliaFriend
Messages: 3
Registered: July 2014
Junior Member
Hi!, I'm using Eclipse for PHP offical package downloaded from here http://www.eclipse.org/downloads/packages/eclipse-php-developers/lunar without error, but I have an issue with PHP alternative syntax highlighting...

In a code block I have a foreach loop this way:

...
...    
<?php
foreach($things as $thing):
?>
    <li>
        <?php echo $thing; ?>
    </li>    
<?php 
endforeach;
?>
...
...


The issue is that Eclipse won't match my code block if I use PHP alternative syntax (foreach -> endforeach match).

It does well if I use standard brackets, it highlight brackets match (for an if(){ }, for instance).

Is it possible to have Eclipse PDT to highlight PHP alternative syntax keywords match?

[Updated on: Tue, 15 July 2014 11:26]

Report message to a moderator

Re: Latest Eclipse PHP not matching alternative syntax keywords [message #1401284 is a reply to message #1400660] Tue, 15 July 2014 11:46 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 290
Registered: March 2013
Senior Member
I saw your post on stackoverflow and pdt-dev.

Can your create bug on bugs.eclipse.org and upload problematic file? I cannot reproduce problem now.

Maybe its similar to https://bugs.eclipse.org/bugs/show_bug.cgi?id=381637 ?


Re: Latest Eclipse PHP not matching alternative syntax keywords [message #1401482 is a reply to message #1401284] Tue, 15 July 2014 17:28 Go to previous messageGo to next message
Martin Briglia is currently offline Martin BrigliaFriend
Messages: 3
Registered: July 2014
Junior Member
Hi, Just uploaded a complete clean workspace wit a project called test with a single index.php file. Also uploaded an screenshot of that workspace and the foreach->endforeach not being matched and highlighted.

Created bug report here https://bugs.eclipse.org/bugs/show_bug.cgi?id=439642

[Updated on: Tue, 15 July 2014 17:34]

Report message to a moderator

Re: Latest Eclipse PHP not matching alternative syntax keywords [message #1402816 is a reply to message #1400660] Thu, 17 July 2014 15:09 Go to previous message
Martin Briglia is currently offline Martin BrigliaFriend
Messages: 3
Registered: July 2014
Junior Member
Hi guys, any clue on this?

Thanks!
Previous Topic:how to configure php eclipse to use apache
Next Topic:The type *** cannot be resolved or namespace is empty
Goto Forum:
  


Current Time: Wed Oct 09 01:40:27 GMT 2024

Powered by FUDForum. Page generated in 0.03712 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top