An Oracle blog about NetBeans for PHP

NetBeans 7.0 is available

The final build of NetBeans 7.0 is now available. You can download it from NetBeans site. Although NetBeans IDE 7.0 introduces language support for coding to the proposed
Java SE 7 specification with the JDK 7 developer preview, it also contain few features for PHP developers. The list of all main new things is here.

In the list is mentioned Generate PHP Doc in the PHP section, but you should be aware that PHP Documentor doesn't support PHP 5.3 yet.Hopefully it will be soon.

Every feedback is welcome. Now we are working on a small bug fix release that should be available soon, so if you find an issue, please enter it into our Bugzilla.

Join the discussion

Comments ( 21 )
  • Rob Wednesday, April 20, 2011

    Great to see another major version release but i'm pretty astonished to see there is \*still\* no level of quality support for code folding in Netbeans for all control structures. I'm talking about if/else, loops, switch statements/cases etc. A bug report for all of this exists here http://netbeans.org/bugzilla/show_bug.cgi?id=186731 but the reality is that this isnt a bug its a feature that is missing and i know a number of devs that have moved from Netbeans purely for this reason so please don't assume this is a minor thing. I assume this is possible for the Java version etc so i'm not sure why its being ignored. There are increasingly some great alternatives to Netbeans such as phpStorm that have this feature and already have solid Git support, in fact i've not used an IDE without it other than Netbeans. I would really see this as a massive priority

  • David Laker Wednesday, April 20, 2011

    Completely agree with Rob about Git and especially code folding.

  • nick Wednesday, April 20, 2011

    code folding from selections in all files but particularly CSS, JS and php please! its all im after! tortoise GIT suits me fine :D

  • Duane Wednesday, April 20, 2011

    I'm eager for git support as well, but I'm really pleased with what has been done. I've used this platform since it was called Forte by Sun and it just keeps getting better. Kudos on the release!

  • jozef Wednesday, April 20, 2011

    ? code folding ? I don't need it. Guys, once your function has more than 30 lines you should refactor your code. Seriously.

  • Jon Rawlins Thursday, April 21, 2011

    Totally agree with Rob and Dave here... Code folding would make life so much easier.

  • Tom Thursday, April 21, 2011

    Petr, sorry to disappoint you but PHPDocumentor will not support PHP 5.3. The project seems to be abandoned. I know how to fix the problem, but I need people to help me work on the code.

    The problem is the parser class. One functions needs to be modified and another needs to be added.

    If anyone would be willing to volunteer in assisting me: you are more than welcome! Otherwise you will have to wait till I find some free time slot. That may be 6 months down the road, since I'm in the process of writing my Ph.D. and a little short on time.

    As I said, the last remaining developer stated in 2009 that he had no time to develop the project and it would be "dormant". Unless _we_ as PHP-developers step in, there will be no next version. I can fix it, but I need your help. So volunteers step forward!

    And ... ehrm: while I really think some "weedback" would be ... pleasuring .... I do guess, that "feedback" was the word you were looking for.

  • nick Thursday, April 21, 2011

    @jozef you obviously don't do much interface work :D

  • jozef Thursday, April 21, 2011

    @nick What kind of interface do you mean?

  • Petr Pisl Thursday, April 21, 2011

    Regarding missing code folding for code structures like if, for etc.. I know about the issue. I haven't make it due to the many reasons:

    - luck of time.

    - there is many bugs that has to be resolved

    - the java editor dosn't have it as well, and I usually I have tried to make the editor in similar way

    - i have to admit, that I don't use the code folding :(

    But I see know that this is issue for many users, so I'm going to fix it.

    @Tom: It's OK. I know the situation. A lot of work, no time, family etc. I need to have 50 hours a day:). And thanks for pointing out the typo.

  • Emma Thursday, April 21, 2011

    Totally agree with Rob about code folding, would make my life MUCH easier, make it happen please :)

  • Rob Thursday, April 21, 2011

    @Petr great news that you are willing to look at this. I know its obviously not something that everyone uses but its a massive thing for me and lots of others

    @jozef i'm sorry but refactoring a codebase to get round an IDE issue doesn't seem like the best use of my time :)

  • nick Thursday, April 21, 2011

    @jozef i have 5000 line css files!!

  • Michael Butler Friday, April 22, 2011

    Great work on NetBeans 7.0 release! Thank you for your hard work and collaboration with the community!

  • Tom Friday, April 22, 2011

    @Petr Exactly. You know how things are: we could have support for namespaces in PHP-Documentor within a week. But that's still 40 hours I would have to withdraw from other projects that I volunteer for. I just can't do that right now.

    So I desperately need one or two devs to assist me in refactoring PHP-Doc. I just wish there would be more people willing to do some coding. But let's face it: most folks are either unwilling, or lack the skills to work on a parser.

    We have tons of guys calling themselves PHP coders, but very little developers who are really good enough. That's too bad, since it would be a great job reference too. You know: earning fame, honor, crowds of cheering women in front of your house and holding press interviews and all that stuff.

    Ehrm... may be minus the women. But we can always fix that later.

  • Lukasz Wednesday, April 27, 2011

    Good work :) The new refactor - rename works nice:)

    Maybe you could add xsd, dtd support ,XML Schema visual editor , there was a plugin for this

  • Ben Wednesday, April 27, 2011

    How to use word wrap in editot ?

  • Tom Friday, April 29, 2011

    The Smarty Framework has problems with encoding, when you dont use the ut-8 i use isso-8859-2 and when save it destroy all chars

  • guestBryan Wednesday, July 13, 2011

    Completely agree with Rob.... if else code folding a must!!!!

  • Charlie Sunday, July 31, 2011

    NB7 Rocks!!

    Just some thoughts:

    1) Code folding for blocks: if-else, do-while, or simply braces (I would go for this one)

    2) CSS editor: ability to juggle between simplified and expanded attributes like background <=> bagckround-image, background-position, etc.

    3) Notifications (light bulbs): Cascade action; instead of going through each one for the same reason (like @Override a method) do it once for all that apply.

  • Basdub Sunday, September 25, 2011

    Code folding for if statement and others is a must. I have been waiting for it for way too long. I have already started to look at other IDE and will be more serious about. Extremely annoying when UltraEdit has it and not Netbeans.

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.