Sunday, February 7, 2010

KDevelop Php Update

I finished today the (for me) most missing feature in the KDevelop Php language plugin. It fixes parsing problems that occur when a project is initially parsed and the code makes heavy use of classes together with an autoloader. That means no include() statements for parent classes or static function calls. (Typical when using eg. Zend Framewok)

Previously code completion was broken until you manually forced a reparse, now this reparsing is automatically done once a identifier is not found - the file is added to the parse queue with very low priority - and the base class will be parsed meanwhile - and found correctly in the second pass.

Credits for this should mainly go to Hamish - who implemented that more or less the same way in Java language support.

As KDevelop is currently frozen for Beta8 I couldn't commit yet, until then I created a temporary git repository.

20 comments:

  1. Very nice, thanks. Do you know if anybody is working on the python plugin? It somehow disappeared in my distro.

    ReplyDelete
  2. Thanks for your work on php plugin! keep doing good job!

    ReplyDelete
  3. @dkrapohl:
    No - it's in playground and wasn't touched for some time.

    ReplyDelete
  4. This command will try to update the information in the GNU Build..

    ReplyDelete
  5. Why is KDevelop PHP support so important, when we've already got so many PHP IDEs out there?

    ReplyDelete
  6. under gentoo - i cant correct compile the kdevelop-plugins package. :(
    This contains the phplanguage-support ...

    ReplyDelete
  7. @Bodo:
    report the issue to gentoo

    ReplyDelete
  8. accurate this error:
    canning dependencies of target kdevphplanguagesupport_automoc
    Generating phplanguagesupport.moc
    /var/tmp/portage/dev-util/kdevelop-plugins-9999/work/kdevelop-plugins-9999/php/phplanguagesupport.h:86: Error: Undefined interface
    automoc4: process for /var/tmp/portage/dev-util/kdevelop-plugins-9999/work/kdevelop-plugins-9999_build/php/phplanguagesupport.moc failed: Unknown error
    pid to wait for: 0
    Generating phpparsejob.moc

    i hope, this helps to understand me :D

    ReplyDelete
  9. @Nico sorry, you was to fast or i was to slow ...

    ReplyDelete
  10. @PHP Developer India

    I don't know of any really good open source PHP IDE's that are even comparable to KDevelop. The KDevelop PHP plug-in is a great leap forward for decent PHP development on KDE.

    What are the many PHP IDE's that you are you referring to?

    ReplyDelete
  11. Are you going to support this plugin?

    ReplyDelete
  12. Thanks for sharing a very helpful and very informative blogBuzz Apps

    ReplyDelete
  13. Pleasant publish you might have performed here. I will be really happy to see this. It is a incredibly beneficial subject that you will be chosen. continue.Nimble Messaging Service

    ReplyDelete
  14. THANK YOU FOR THE INFORMATION .HI GUYS IF YOU SEARCHING FOR Web designing company in Bangalore

    PLEASE VISIT US
    Web designing company in Bangalore

    ReplyDelete
  15. Brilliant Information. Thank you for sharing.
    If you are using Windows 10, it has already uploaded many caches or junk files to your device. Because of this, Avast Antivirus does not work properly or closes some of your programs. Then, if you want to Uninstall Avast Antivirus in Windows 10 in your device. You can visit our blog and read our guidelines for installing Avast Antivirus in Windows 10 and resolve issues on your own.

    ReplyDelete
  16. I just read your blog, and I loved it! I'm a student myself and I think your blog is a great resource for students. I'll definitely be adding your blog to my bookmarks. Affordable Web Development Services

    ReplyDelete