Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » auto complete $_SESSION
auto complete $_SESSION [message #82255] Fri, 17 October 2008 20:40 Go to next message
Fernando Dias is currently offline Fernando DiasFriend
Messages: 9
Registered: July 2009
Junior Member
hi people, I am new here... and I am starting to use eclipse pdt recently

and its amazing... the auto complete is so good...

but I have a doubt

auto complete to variables $_SESSION, that I already started, like normal
variables...

is there this functionality in Eclipse PDT ?
Re: auto complete $_SESSION [message #82381 is a reply to message #82255] Mon, 20 October 2008 18:34 Go to previous messageGo to next message
Fernando Dias is currently offline Fernando DiasFriend
Messages: 9
Registered: July 2009
Junior Member
anyone have this info ???
Re: auto complete $_SESSION [message #82407 is a reply to message #82381] Tue, 21 October 2008 02:25 Go to previous messageGo to next message
David Muir is currently offline David MuirFriend
Messages: 63
Registered: July 2009
Member
Not sure if I'm following. Are you wanting autocomplete for keys in
$_SESSION?
If so, there might be something in the works for arrays in general, but
not sure. Overall, since session variables are defined at run-time, you're
unlikely to actually get anything useful from an autocomplete.
Re: auto complete $_SERVER [message #82420 is a reply to message #82407] Tue, 21 October 2008 07:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spam.networks.fi

David Muir wrote:
> Not sure if I'm following. Are you wanting autocomplete for keys in
> $_SESSION?
> If so, there might be something in the works for arrays in general, but
> not sure. Overall, since session variables are defined at run-time,
> you're unlikely to actually get anything useful from an autocomplete.
>

Maybe other superglobals could be autocompleted, like $_SERVER . Well i
don't come up with any other superglobals that you could autocomplete
easily, but .. maybe only $_SERVER then? :)
Re: auto complete $_SERVER [message #82431 is a reply to message #82420] Tue, 21 October 2008 08:01 Go to previous messageGo to next message
Jorrit Schippers is currently offline Jorrit SchippersFriend
Messages: 26
Registered: July 2009
Junior Member
Jasmo Hiltula wrote:
> David Muir wrote:
>> Not sure if I'm following. Are you wanting autocomplete for keys in
>> $_SESSION?
>> If so, there might be something in the works for arrays in general, but
>> not sure. Overall, since session variables are defined at run-time,
>> you're unlikely to actually get anything useful from an autocomplete.
>>
>
> Maybe other superglobals could be autocompleted, like $_SERVER . Well i
> don't come up with any other superglobals that you could autocomplete
> easily, but .. maybe only $_SERVER then? :)

$_SERVER can't be compared to other superglobals as the keys of $_SERVER
are more or less known. If you add something to $_SERVER manually it
will not show up in the auto complete list either.


--
Jorrit
Re: auto complete $_SESSION [message #82583 is a reply to message #82407] Mon, 27 October 2008 12:12 Go to previous messageGo to next message
Fernando Dias is currently offline Fernando DiasFriend
Messages: 9
Registered: July 2009
Junior Member
I am using session defined at run-time...

but can I use other method to get a list to auto complete when I write
$_SESSION[''] ?

David Muir wrote:

> Not sure if I'm following. Are you wanting autocomplete for keys in
> $_SESSION?
> If so, there might be something in the works for arrays in general, but
> not sure. Overall, since session variables are defined at run-time, you're
> unlikely to actually get anything useful from an autocomplete.
Re: auto complete $_SESSION [message #82594 is a reply to message #82583] Mon, 27 October 2008 13:05 Go to previous message
David Muir is currently offline David MuirFriend
Messages: 63
Registered: July 2009
Member
Doesn't look like it.
Here's the bug report for it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=248277

Fernando Dias wrote:

> I am using session defined at run-time...

> but can I use other method to get a list to auto complete when I write
> $_SESSION[''] ?

> David Muir wrote:

>> Not sure if I'm following. Are you wanting autocomplete for keys in
>> $_SESSION?
>> If so, there might be something in the works for arrays in general, but
>> not sure. Overall, since session variables are defined at run-time, you're
>> unlikely to actually get anything useful from an autocomplete.
Previous Topic:PDT 1.0.5 release tag in CVS
Next Topic:I have compiled PDT 1.0.5 and I have issued all-in-one package that is based on Eclipse 3.4.1 GANYME
Goto Forum:
  


Current Time: Sun Jan 29 10:13:42 GMT 2023

Powered by FUDForum. Page generated in 0.08163 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top