NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code Insight array key name - eg. $_SERVER[*]


Joined: 03 Aug 2008
Posts: 2
Reply with quote
Is it possible to set up code insight to give you a list of available array keynames?

Particularly global arrays such as $_SERVER.

So you can type "$_SERVER[", and a drop down appear with a list of all the available keynames?
View user's profileFind all posts by SDBSend private message


Joined: 19 Mar 2007
Posts: 53
Reply with quote
That's a good idea.

And how about getting rid of this little annoyance - when saving a file can a double click on the file name NOT select the "."!!??
View user's profileFind all posts by danielwinterSend private message


Joined: 10 Mar 2008
Posts: 33
Reply with quote
I've just reported the same issue ($_SERVER array keys) - this WAS possible in 5.2 - I noticed straight away it was missing in 5.5.
View user's profileFind all posts by mailnet_ukSend private messageVisit poster's website
Guru master

Joined: 05 Jul 2004
Posts: 660
Location: Belgium
Reply with quote
Quote:
this WAS possible in 5.2

I wonder how you managed that then, it has been a feature request for ages but hasn't been implemented (yet?) afaik.
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 10 Mar 2008
Posts: 33
Reply with quote
Blizz wrote:
I wonder how you managed that then, it has been a feature request for ages but hasn't been implemented (yet?) afaik.


It worked at least in the previous 5.2 version I was working on - only for $_SERVER AFAIK. I could put in $_SERVER[' and get a code-completion list of things like HTTP_USER_AGENT, HTTP_REFERRER, REMOTE_ADDR etc.
View user's profileFind all posts by mailnet_ukSend private messageVisit poster's website
Guru master

Joined: 05 Jul 2004
Posts: 660
Location: Belgium
Reply with quote
I tested it on a 5.2 version before replying, with $_SERVER, and no such thing here.
Perhaps I'm missing something.
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 10 Feb 2004
Posts: 93
Reply with quote
mailnet_uk, please share how you were able to do that, cuz I could definitely use it, and have requested it for some time now.
View user's profileFind all posts by gilzowSend private messageAIM Address


Joined: 30 Jan 2007
Posts: 35
Reply with quote
danielwinter wrote:
...

And how about getting rid of this little annoyance - when saving a file can a double click on the file name NOT select the "."!!??


Daniel.... This won't be possible, as the "Save" dialog box is a Windows component, and not part of PhpEd.
View user's profileFind all posts by rgagnonSend private message


Joined: 19 Mar 2007
Posts: 53
Reply with quote
I would have thought so too, but PhpEd is the only app I own that does this!
View user's profileFind all posts by danielwinterSend private message
Veteran

Joined: 22 May 2008
Posts: 141
Reply with quote
It would be great if the intellisense could detect the key names that exist in any defined array.

I use arrays to avoid accidentally overwriting a variable through an include or something.
I have to constantly go to the array definition and find what key names I used.
View user's profileFind all posts by simshaunSend private message
Code Insight array key name - eg. $_SERVER[*]
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