Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Requirements for namespace support in PDT
Requirements for namespace support in PDT [message #80318] Tue, 16 September 2008 09:06 Go to next message
Karsten Dambekalns is currently offline Karsten DambekalnsFriend
Messages: 8
Registered: July 2009
Junior Member
Hi.

As asked by Roy this thread should collect requirements for a useful
support of PHP namespaces in PDT (and Zend Studio).

So here goes my wishlist:

1. Make the syntax checker aware of the new keyword.
Currently I appear to have more than 11500 errors, but the code
works...
2. Make auto completion work again. If I declare some variable to be of
type Some::Thing::Here it's members should be offered by auto-
completion.
3. Hint on using :: to explicitly specify the global namespace for
internal classes (either checking a list of PHP's internal classes or
checking against all classes defined in the current namespace.
4. If more than one namespace is used in a file, make it visible in the
outline. Maybe even if it's just one namespace.


Regards,
Karsten
Re: Requirements for namespace support in PDT [message #86510 is a reply to message #80318] Fri, 12 December 2008 14:52 Go to previous messageGo to next message
Karsten Dambekalns is currently offline Karsten DambekalnsFriend
Messages: 8
Registered: July 2009
Junior Member
Hi again.

Now the namespaces syntax has been finalised and alpha3 of PHP 5.3.0 has
been released. First projects have switched to the new syntax. One of
those projects is our framework FLOW3.

We have tons of code, and auto-completion and error detection were very
helpful until namespaces arrived. That's the cost of using bleeding
egde, but we have been bleeding for a while now, so... we'd like to have
our tools back. At least an IDE that helps, for a start.

Could someone please tell us whether it might make sense to wait for PDT
supporting this? I heard from the Apatana people that they will fix[1]
their IDE "as soon as possible". That is a lot more promising than *not*
saying *anything*.

So, I started this list a while ago, as requested. Any news?

On 16.09.2008 11:06 Uhr, Karsten Dambekalns wrote:
> As asked by Roy this thread should collect requirements for a useful
> support of PHP namespaces in PDT (and Zend Studio).
...
> 1. Make the syntax checker aware of the new keyword.
> Currently I appear to have more than 11500 errors, but the code
> works...
> 2. Make auto completion work again. If I declare some variable to be of
> type Some::Thing::Here it's members should be offered by auto-
> completion.
> 3. Hint on using :: to explicitly specify the global namespace for
> internal classes (either checking a list of PHP's internal classes or
> checking against all classes defined in the current namespace.
> 4. If more than one namespace is used in a file, make it visible in the
> outline. Maybe even if it's just one namespace.

Regards,
Karsten

[1] Yes, fix. Namespaces will be a first class language feature with the
next PHP version. Not having support for that is a bug IMHO. Think about it.
Re: Requirements for namespace support in PDT [message #86582 is a reply to message #86510] Sat, 13 December 2008 10:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michael.zend.com

We are planning to provide good namespaces support ASAP also. But I think
it's gonna happen closer to the release of PHP 5.3.

"Karsten Dambekalns" <karsten@typo3.org> wrote in message
news:ghttsa$h0i$1@build.eclipse.org...
> Hi again.
>
> Now the namespaces syntax has been finalised and alpha3 of PHP 5.3.0 has
> been released. First projects have switched to the new syntax. One of
> those projects is our framework FLOW3.
>
> We have tons of code, and auto-completion and error detection were very
> helpful until namespaces arrived. That's the cost of using bleeding egde,
> but we have been bleeding for a while now, so... we'd like to have our
> tools back. At least an IDE that helps, for a start.
>
> Could someone please tell us whether it might make sense to wait for PDT
> supporting this? I heard from the Apatana people that they will fix[1]
> their IDE "as soon as possible". That is a lot more promising than *not*
> saying *anything*.
>
> So, I started this list a while ago, as requested. Any news?
>
> On 16.09.2008 11:06 Uhr, Karsten Dambekalns wrote:
>> As asked by Roy this thread should collect requirements for a useful
>> support of PHP namespaces in PDT (and Zend Studio).
> ...
>> 1. Make the syntax checker aware of the new keyword.
>> Currently I appear to have more than 11500 errors, but the code
>> works...
>> 2. Make auto completion work again. If I declare some variable to be of
>> type Some::Thing::Here it's members should be offered by auto-
>> completion.
>> 3. Hint on using :: to explicitly specify the global namespace for
>> internal classes (either checking a list of PHP's internal classes or
>> checking against all classes defined in the current namespace.
>> 4. If more than one namespace is used in a file, make it visible in the
>> outline. Maybe even if it's just one namespace.
>
> Regards,
> Karsten
>
> [1] Yes, fix. Namespaces will be a first class language feature with the
> next PHP version. Not having support for that is a bug IMHO. Think about
> it.
Re: Requirements for namespace support in PDT [message #86807 is a reply to message #86582] Mon, 15 December 2008 07:51 Go to previous message
Karsten Dambekalns is currently offline Karsten DambekalnsFriend
Messages: 8
Registered: July 2009
Junior Member
Hi Michael.

On 13.12.2008 11:35 Uhr, Michael Spector wrote:
> We are planning to provide good namespaces support ASAP also. But I think
> it's gonna happen closer to the release of PHP 5.3.

Great news. If you have *anything* worth testing, announce it.

Thanks,
Karsten
Previous Topic:PDT 1.0.3 does not support PHP 6
Next Topic:PDT 2.0 RC1 - still problems with CodeIgniter (maybe Zend too?)
Goto Forum:
  


Current Time: Wed Feb 08 21:47:18 GMT 2023

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

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

Back to the top