PHP-eClipse Setup Syntax Highlight for file.thtml

By wharsojo

This is how I set configuration on PHP-Eclipse to know file.thtml.
first open menu in eclipse as you see in this picture below ( Window -> Preferences ),
eClipseWindowMenu

after that you see on the TREE MENU click on “Content Types” and on the Right-Top, click “PHP Source File”, see the Right-Box Below and Add “File Associations” for “*.thtml”
eClipseWindowMenuContentType

on the TREE MENU click on “Editor – File Associations” add File Types:*.thtml and set Associated Editor to “PHP Editor”.
eClipseWindowMenuFileAssociations

3 Responses to “PHP-eClipse Setup Syntax Highlight for file.thtml”

  1. Andreas Stephan Says:

    nice… just one thing to add ;)
    restart eclipse to get the color coding working on the thtml files. Took me a bit to figure that out…

  2. Fred’s weblog - » Activer la coloration syntaxique pour les fichiers .thtml de CakePHP dans Eclipse Says:

    [...] Par défaut le plugin php-eclipse n’est pas utilisé pour les fichiers .thtml de CakePHP, donc pas de coloration syntaxique et pas de complétion. Pour rajouter les fichiers .thtml, c’est très simple il suffit de suivre ce tuto. [...]

  3. bubai Says:

    thnks for this. I was looking for the way out.

Leave a Reply