Opened 5 years ago

Closed 5 months ago

#636 closed Feature Requests (fixed)

Intergrate Namespace for PHP 5.3

Reported by: nobody Owned by: ed_mann
Priority: 9 Milestone: 1.3.0
Component: PHP Parser Version: 1.2.4
Keywords: namespace, 5.3, php Cc:

Description (last modified by ed_mann)

Hello,

Please, you can integrate the auto-completion for the namespace of php 5.3?

Change History (8)

comment:1 Changed 5 years ago by incastrix

Logged In: YES 
user_id=944994
Originator: NO

atm (20071231) php 5.3 is only in cvs.php.net, and namespace implementation isn't completed.

comment:2 Changed 5 years ago by ed_mann

  • billable set to 0
  • Component changed from editor to PHP Editor
  • Description modified (diff)
  • Keywords namespace, 5.3, php added
  • Milestone set to 1.5.x
  • os_platform set to Linux
  • Version changed from None to 1.2.0-nightly

comment:3 Changed 5 years ago by kuste

I would like to know, how the status of namespace implementation in phpeclipse is.
I switched to PHP 5.3 because of namespaces and all source files are now shown as
faulty.

comment:4 Changed 5 years ago by ed_mann

  • Owner changed from nobody to ed_mann
  • Status changed from assigned to new

The status is that it has not been started yet. I have just read
http://blog.agoraproduction.com/index.php?/archives/47-PHP-Namespaces-Part-1-Basic-usage-gotchas.html
and
http://blog.agoraproduction.com/index.php?/archives/54-Namespaces-part-1.2-Namespaces-import-renamed-to-use.html

We are starting on the 1.3.0 branch, and it will be worked on in there. If it's easy it will be backported to 1.2.x and possibly 1.1.x

Sorry for the long wait.

comment:5 Changed 4 years ago by incastrix

  • Milestone changed from 1.5.0 to 1.3.0
  • os_platform changed from Linux to Any
  • Owner changed from ed_mann to incastrix
  • Priority changed from 5 to 9
  • Status changed from new to assigned
  • Version changed from 1.2.0-nightly to 1.2.x

comment:6 Changed 3 years ago by ed_mann

  • Owner changed from incastrix to ed_mann

comment:7 Changed 3 years ago by ed_mann

  • Description modified (diff)
  • Status changed from assigned to accepted

I have put code changes into 1.2.4 dev that will address the namespace issue. It will only remove the error and will not provide any content assist on filling out the namespace. Yet the errors should be gone.

I have committed a fix to svn. I have also built another nightly build process that will build svn branches/1.2.x where i created this fix. I still need to fix the use statement, but this is a step in the right direction. I am going to update the front page of PHPEclipse.com to list the new update site.

Let me know if you try it and have issues. If you do please let me know

comment:8 Changed 5 months ago by robekras

  • Component changed from PHP Editor to PHP Parser
  • Resolution changed from None to fixed
  • Status changed from accepted to closed
  • Version changed from 1.2.x to 1.2.4
Note: See TracTickets for help on using tickets.