Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Eclipse syntax color change

Tags:

php

eclipse

How can I change the PHP variables color in Eclipse? It is very light blue/gray by default. I go to preferences and click on all the editors but doesn't seem it is there.

By the way, I install the Eclipse 3.5.1 with PHPEclipse 1.2.x plugin.

like image 354
Murvinlai Avatar asked Feb 03 '10 23:02

Murvinlai


2 Answers

I am using Eclipse IDE for PHP Developers version 1.2.x and my path is as follows,

Preferences > PHP > Editor > Syntax Coloring > Variable

Try to download the PHP Development Tools (PDT) instead of PHPEclipse

like image 132
Anthony Forloney Avatar answered Sep 19 '22 15:09

Anthony Forloney


I have eclipse Helios running with 'PHPEclipse' plugin. I was able to resolve similar issue by making sure PHP files open with 'PHP Editor'.

  1. Right-click on the file, select 'open with' -> 'Other'.
  2. Choose 'PHP Editor'.

You can set 'syntax coloring preferences' at Window -> Preferences -> PHPEclipse -> PHP -> Tab syntax

like image 42
Mustafa Kachwala Avatar answered Sep 17 '22 15:09

Mustafa Kachwala