facebook

PHP Color Syntax Highlighting

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #274942 Reply

    I’ve looked everywhere in the configuration and searched the forums but I can’t find out how to enable PHP color syntax highlighting. All I’ve been able to find is some lame reference to “ASP Content” which simply treats the entire PHP content as one entity.

    How do I get TRUE syntax highlighting of the PHP code as functions, variables, constants, comments; you know, like a REAL language editor? All the other MyEclipse language editors do proper syntax highlighting so I assume there is a way to get PHP highlighting as well.

    Thanks!

    #274963 Reply

    Loyal Water
    Member

    You can go to Windows > Preferences > MyEclipse > Files and Editors > ASP and PHP > ASP and PHP styles and set you syntax highlighting there.

    #276732 Reply

    Tomnibus
    Member

    @support-nipun wrote:

    You can go to Windows > Preferences > MyEclipse > Files and Editors > ASP and PHP > ASP and PHP styles and set you syntax highlighting there.

    You point us to the ASP and PHP Styles but that’s not the answer. Everything withing the <? and ?> tags end up being one color. The functions are not different colors, the strings, the variables. there is NOT true PHP syntax styling with this. lumping it with ASP and .NET is just not enough.

    after 10 minutes of having this product installed, I’m removing it. This is A #1 for me.

    (Edited to correct the bold statement above)

    #276771 Reply

    Riyad Kalla
    Member

    Tomnibus,
    MyEclipse is first and foremost a Java EE IDE. We added *basic* styling support for PHP/ASP just for the few users that needed to work with these file formats but predominately worked with Java technologies and wanted an out of the box solution from MyEclipse.

    If you do primarily PHP development, you could look at adding the PDT plugin to an existing MyEclipse install to get the full PHP-IDE support you are looking for.

    Sorry for the confusion.

    #277042 Reply

    This message has not been recovered.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: PHP Color Syntax Highlighting

You must be logged in to post in the forum log in