NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code completion for constants
Veteran

Joined: 26 Dec 2006
Posts: 253
Location: Phoenix, AZ
Reply with quote
Many PHP functions, such as htmlentities(), take constants for certain parameters. Remembering all these constants is virtually impossible for my memory-challenged brain, which means I get to look in the docs virtually every time. It would be great if PhpED could at least list the constants in its function help pop-up, and even better, if it could actually do code-completion for them.
View user's profileFind all posts by bobwilliamsSend private messageVisit poster's website
Veteran

Joined: 06 Jun 2007
Posts: 289
Location: Vancouver, Canada
Reply with quote
I second Bob's suggestion. Code completion for PHP's built-in constants and also for superglobals like $_SERVER would be most welcome.

_________________
Smile
View user's profileFind all posts by annoSend private messageVisit poster's website


Joined: 10 Feb 2004
Posts: 93
Reply with quote
I third the suggestion! It's funny, I used the EXACT same example when I requested that hitting the f1 key while within the parens of a function open the php manual to the function (turns out phped does do this, but you have to be on the function name, now within the parens). specifically because i can never remember all the defined constant arguments for the different functions. So, I like this request even better!
View user's profileFind all posts by gilzowSend private messageAIM Address
Code completion for constants
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