NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Color Options for Superglobals


Joined: 25 Dec 2008
Posts: 1
Reply with quote
Sorry for accidently posting this under the wrong feature request section a minute ago.

This feature would allow you to, for example, have $_SESSION highlighted with a different color than the default variable color.

Both Aptana Studio and Zend Studio already have this functionality.

Unfortunately, this cannot be achieved through PhpED's reserved words.
View user's profileFind all posts by Richard BaroskySend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
What they should change is the order of the determination of colors, so that the reserved words are given priority, that would solve the problem
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
It works pretty fine in PhpED 5.6 too:



As you can see $_SESSION is colored differently than $another_variable.
To achieve the effect you have to add such variables into a group of reseved words and assign this group with desired colors

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Color Options for Superglobals
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic