X

An Oracle blog about NetBeans for PHP

  • News
    June 16, 2010

NetBeans 6.9 is Available

After bug fixing period NetBeans 6.9 final build is available. You can download it as usual from NetBeans site. What is new, you can read in this document and also you can watch some new features in NetBeans 6.9 Overview video.

 If you use the IDE just for PHP development, I recommend to use the PHP distribution. If you run in to an issue with NetBeans 6.9, enter the issue to our database to be fixed in patch release.

Yesterday there was closed a poll "What language do you plan to use for your next project?". 8232 users answered the poll and PHP has second place (32 %) that is nice result.

Join the discussion

Comments ( 54 )
  • Pawka Wednesday, June 16, 2010

    Great! I've just found that Smarty plugin is available at the official list. Double great!


  • Pet Wednesday, June 16, 2010

    Peter, could you announce such pools on mail list, please? I didn't know about it


  • Sam Wednesday, June 16, 2010

    It would be great to get PHP-related changelog between this version and a previous stable release.


  • Jozef Wednesday, June 16, 2010

    Second place with 32% is great! (i am one of those 8232). Does it influnce the roadmap of Netbeans?


  • Denyerec Wednesday, June 16, 2010

    Well, I was going to get all excited, but then the IDE locked up on the "Formatting" tab of the Editor options. Admittedly it was "Scanning Projects" at the time, so I'm going to give it 15 minutes to see if it will sort itself out.

    Not a fantastic start, hope it's just a hiccup :(


  • Denyerec Wednesday, June 16, 2010

    10 minutes later, it's finished scanning and the dialog is open and dayum, the new formatting options are lovely!

    Excellent stuff!


  • Kevin B. Wednesday, June 16, 2010

    6.9 looks great so far, didn't much like the constant updating external sources but can be disabled easily enough...

    Guess I am a little late on hearing this but just found out Oracle aquired sun... I am curious how/if this will affect netbeans php?


  • Petr Pisl Wednesday, June 16, 2010

    @Pet: At first I wanted to publish the poll here, but then probably it probably will not reflect the reality. So I have decide not do it.

    @Jozef: Yes, it can influence the plan of NetBeans 6.9.Next. At least it shows that the PHP developers is not minority of NetBeans users and the PHP development should be actively supported.


  • kuhliefumden Wednesday, June 16, 2010

    Sadly, 6.9 (and the daily builds for the last 2-3 weeks) introduced this annoying "checking for external changes" which HAS to be disabled for even trying to work with the IDE. So now we lose a nice feature which worked flawlessly in 6.8, and now have the same behaviour as Eclipse... why? :(

    Even when disabling this, the IDE becomes unusable after a few minutes working (the java process continuously runs @ 100% cpu without doing anything noticable) and one has to restart every few minutes.

    We are working with a quite large PHP project using Zend Framework and Doctrine.

    No problems with 6.8 whatsoever.

    What did happen after the first 6.9 RC1? The daily builds before that were working quite well (except these annoying parser exceptions popping up now and then of course).

    Waiting for "the big fix"...


  • kuhliefumden Wednesday, June 16, 2010

    PS:

    running Sun JRE x86 (latest) on Ubuntu 9.10 and 10.04 (doesn't matter) with -J-Xmx1024m


  • Denyerec Thursday, June 17, 2010

    @kuhliefumden : Similar experience here after day 1. Reverted back to 6.8 until 6.9 is patched and made ready for work.


  • Petr Pisl Thursday, June 17, 2010

    @kuhliefumden and @Denyerec: Could you provide a few thread dumps, when the IDE consume 100 % of CPU. We need to evaluate it. Also could you try to run the ide with this option: -J-Dnetbeans.indexing.recursiveListeners=false

    >So now we lose a nice feature which worked >flawlessly in 6.8, and now have the same behaviour >as Eclipse... why? :(

    I don't understand, which feature do we lost? External changes well discussed long time ago. The guys from core infrastructure add this functionality this release. If it doesn't work as expected, I need to have evidence to convince them that there is something wrong. You can help me with this.


  • kuhliefumden Thursday, June 17, 2010

    Now trying the command line option:

    -J-Dnetbeans.indexing.recursiveListeners=false

    This totally worked! Amazing!

    Now running "top" literally does consume more CPU cycles than Netbeans ;)

    Now 6.9 is responsive like never before.

    Thanks very much!

    PS:

    my current complete command line is:

    netbeans_default_options="-J-client -J-Xss2m -J-Xms384m -J-Xmx1024m -J-XX:PermSize=32m -J-XX:MaxPermSize=512m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Dnetbeans.indexing.recursiveListeners=false"


  • Daniel Dimitrov Thursday, June 17, 2010

    As it seems for me 6.9 is a failure.

    It scans and scans. Even when I close the project it continues scanning.

    The ScanOnDemand plugin in 6.8 also doesn't seem to work.

    6.9 is just driving me crazy.


  • kuhliefumden Thursday, June 17, 2010

    Bad news :(

    The point when the IDE hogs up the CPU was only delayed (using the aforementioned command line) :(

    Now after about 30-45 minutes the IDE has to be restarted in order to _be able to do_ anything.

    Still waiting for the "big fix" :(


  • Pet Thursday, June 17, 2010

    @kuhliefumden

    try fresh userdir and disable third-party plugins like Smarty for example


  • kuhliefumden Friday, June 18, 2010

    - no third party plugins whatsoever (vanilla 6.9 PHP version)

    - fresh user directory

    no improvements \*sigh\*


  • Petr Pisl Friday, June 18, 2010

    @kuhliefumden: Could you send me thread dumps when it consumes 100% of cpu? Run NB from commnad line and then create thread dumps. How to obtain thread dumps is describe here: http://wiki.netbeans.org/GenerateThreadDump .

    It would be very helpful. Do more then just one and send to me (petr.pisl@sun.com). Thanks very much.


  • Petr Pisl Friday, June 18, 2010

    @Daniel: Could you look at the project.properties and how is set test folder? Is it test ok?


  • Petr Pisl Friday, June 18, 2010

    @kuhliefumden: I have talked with guys from platform and they claim that the problem is fixed and it will be available in NB 6.9.1 patch release. Now it's available in dev build. Could you try the dev build. Start it with different user dir (--userdir switch). Thanks very much for your help


  • soso Friday, June 18, 2010

    Hi,

    (Custom) code templates are broken. They don't expand correctly. This behavior started when switched to 6.9.

    This is my code template, for function documentation, that used to work in 6.8:

    /\*\*

    \* ${cursor}

    \* @param

    \* @return

    \*/

    In 6.9 it expands to:

    /\*\*

    \*/

    As you see, it misses lines, something happens, don't know exactly.

    Thank you!


  • kuhliefumden Friday, June 18, 2010

    tried with NetBeans-dev-2010-06-18_03-03-59-php build and still hogging CPU cycles after about 15-30 minutes. no improvement :(

    some more details about the PHP project:

    - SVN with externals (2 libraries included this way)

    - hundreds of classes, heavy OOP with inheritance

    - zero (!) problems when working with Netbeans 6.8

    - developer OS: ubuntu 9.10, 10.04 (x86, x64), MacOSX, 3-4GB RAM each, all having problems. seems to be the kind of project causing the slowdowns.


  • Mike Friday, June 18, 2010

    @soso: This bug seems to be a duplicate of: https://netbeans.org/bugzilla/show_bug.cgi?id=185465


  • David Tan Friday, June 18, 2010

    Loving netbeans php


  • xplo Friday, June 18, 2010

    Well this netbeans 6.9 made me and my company team switch from eclipse PDT 2.2 ( 3 year PDT users ) . You did a really good job with php completion and build-in symfony support.

    I tried for the last week one of the last dev build and didnt noticed any 100% cpu use althought i let it run for days and i let the external change on as it doesnt bother me yet.


  • jmail Friday, June 18, 2010

    Hi!

    i am software developer from Poland. I don't know where to go. Really.

    I am down on my knees and I am begiing for help. I need a netbeans platform for ColdFusion. I am using CFEclipse but this doesn't want to work properly.

    I need help in building ColdFusion plugin. I was trying very very hard to do this by myself. Now I am nowhere.

    I want to beg some developer to help me with that. I can provide any logic, any information the whole work arround but I can't build this together.

    Please help me.

    regards

    Jaroslaw Krzemienski


  • Petr Pisl Monday, June 21, 2010

    @soso: It can be problem with a format option. Do you have change a format option? If yes, which one? I'm asking, because I'm not able to reproduce it with the default options. It would be best to enter a bug against the formatter and indentation.

    @kuhliefumden: To find the problem I need a few threat dumps when the CPU consumes 100%. Please, could you file a bug and we can discuss it there. We need some input data and when I recognize that the problem is in platform I need clear evidence. Thanks for your help.


  • kuhliefumden Monday, June 21, 2010

    @petr: will do that wednesday, when i'm back at work. looking forward to finding this nasty bug.


  • soso Tuesday, June 22, 2010

    @Petr, sent you an email with additional details on code templates issue.

    In the meantime will revert to 6.8, 6.9 introduced too many problems, it doesn't stop scanning even though I disabled it. And continuously eats 50% of my CPU.


  • Petr Pisl Tuesday, June 22, 2010

    @kuhliefumden: Thanks, I'm waiting:)

    @soso: Thanks, I will communicate the next steps thought the email.


  • kuhliefumden Wednesday, June 23, 2010

    Hey, it's me again.

    As requested, here is the thread dump with Netbeans 6.9 hogging 100% CPU:

    http://rapidshare.com/files/401944218/NB69_DUMP_100CPU.nps.html (69KB)


  • TripSol Thursday, June 24, 2010

    This version's autocompletion in a ZF project is useless... 20 seconds to search?!?!?! OMG!

    Seems like from all slow java engine ides now the guys from jetbrains leading with a very nice product(phpstorm) even if it's not free.

    I hope the ide's made in c/c++ like phpdesigner, phped will be more full feature like these extremely slow java ides cause im working every day with a lot of editing in a project with 4000+ files.

    Anyway, ill try Aptana 3, seems they learned from the past and made a faster ide.

    PS: This version of Netbeans is final? funny, more like alpha or beta


  • dariusz mecinski Sunday, June 27, 2010

    We still using 6.7, because of 100% cpu load after 5 minutes of working with 6.8 and 6.9 versions of netbeans.


  • Kees Sunday, June 27, 2010

    Cant believe the scanning in 6.9.

    It is a neverending story. I'm reverting back to 6.8


  • Agus Suhartono Monday, June 28, 2010

    \*\*\*Refactoring\*\*\* (include rename variable) not work


  • Petr Pisl Monday, June 28, 2010

    @TripSol: Could you please profile the invoking cc and send me the result file? Or enter a bug and attach the file there. How to easily profile the problem I described here: http://blogs.sun.com/netbeansphp/entry/is_the_ide_slow_send

    @dariusz mecinski and Kees: please try to profile during the scanning and file a bug. It's open source and the bulk of testing is up to the community. Help us.


  • Petr Pisl Monday, June 28, 2010

    @kuhliefumden: Thanks for the snapshot. Could you provide more of them? This looks like a problem in resolving types. It would be good to have more samples. Which php framework do you use? Could we access your project?


  • Petr Pisl Monday, June 28, 2010

    @Agus Suhartono: Do you mean instant rename? How do you invoke the rename?


  • Petr Pisl Monday, June 28, 2010

    @kuhliefumden:I have added the snapshot here: http://netbeans.org/bugzilla/show_bug.cgi?id=187989 . Thanks for it


  • Agus Suhartono Tuesday, June 29, 2010

    @Petr Pisl:

    On NB 6.8,

    i can put cursor on variable, then i right click and select rename menu, so if i change the varible name then all variable name will be changed.

    on NB 6.9,

    i not found Rename menu on context menu, but there are Refactor that have submenu Rename, Copy, Move, etc. All sub menu can't work. If i try rename will be show dialog "The rename refactoring cannot be applied in this context."


  • Robert Kraig Tuesday, June 29, 2010

    I'm also running into the same problem involving the rename variable feature which i used to love! Love! LOVE! Now it seems to show the refactor menu which does not seem to apply variable/method/function renaming in the same context as it used to do. What gives? Fix it please!


  • Daniel Dimitrov Thursday, July 1, 2010

    I've added several dumps to this bug report:

    http://netbeans.org/bugzilla/show_bug.cgi?id=187715


  • Colin Mollenhour Friday, July 2, 2010

    Unfortunately I've gone back to 6.7 as it seemed to be the most stable release. Please focus on stability! 6.8 and 6.9 have caused me lost work and too much thumb twiddling..


  • Antonio Pironti Tuesday, July 6, 2010

    +1 on rename refactoring bug.


  • Jack Sleight Wednesday, July 7, 2010

    Regarding the instant rename feature (for PHP), it can still be activated by hitting CTRL+R, just the context menu item has been removed.


  • Antonio Pironti Wednesday, July 7, 2010

    Although the instant rename feature (CTRL + R) works, i think that the context menu item should not have been removed. In any case, a user should not be able to access a feature only using a shortcut.


  • Radek Matous Friday, July 16, 2010

    @kuhliefumden: #187989 was hopefully fixed by fixing

    http://netbeans.org/bugzilla/show_bug.cgi?id=188155

    Please, verify to be able to fix it also for 6.9.1


  • BiggieStylin Sunday, July 18, 2010
    [Trackback] I use Netbeans for just about all of my editing on projects anymore.. and the latest version of 6.9 has had a problem I’ve been dying to get fixed for a while. I’m primarly a PHP programmer, so I’m not sure if the bug extends beyond t...
  • Rodrigo Nieves Thursday, July 29, 2010

    I'm a PHP developer over linux plataform (Fedora12) I love the new fantastic code formatting options on 6.9 version, same about the option for import my settings from 6.8 version, very very nice thing!!.

    It took me around 5 mins put all like charm :-)

    But the java process, when this new version starts, its always at 100%, all the time!! even when i'm not doing anything. I have a good workstation so i can still work, but i think "100%-always-cpu" its not normal, ill use 6.8 version while this "little thing" is solved :(


  • Petr Pisl Thursday, July 29, 2010

    @Rodrigo: How big is your project? Could you check the test path in project setting?


  • Rodrigo Nieves Thursday, July 29, 2010

    @Petr Pisi

    Im workin on 3 PHP small projects, but i note that i had another 3 php and 1 java old projects open. So i close them and the "100%-always-cpu" thing has gone... Specifically 2 of the old php projects has a huge number of pages (around 300-400)... when i open them, CPU usage go up. Now they are closed, every thing goes like a charm :) Thanks so much for tip ;)


  • dubbeltje Sunday, August 8, 2010

    Hello,

    Tried 6.9.1 on ubuntu. But scanning projects is taking way too long and it hangs my computer.

    Do for me no NetBeans yet!!!!


  • Yonatha Almeida Thursday, August 12, 2010

    I am loving it NetBeans IDE 6.9.1 for PHP development, web applications. Used for a long time spent at the Dreamweaver, Eclipse, most definitely, I'll stick with NetBeans. great

    In the listing of projects (Ctrl + 1) files are not updated automatically, unless the user right-click the folder, and then click Refresh Folder or closing the NetBeans and opening it again.

    I wonder if this is happening just me.

    I love NetBeans, congratulations.


  • Marc Thursday, November 11, 2010

    for me -J-Dnetbeans.indexing.recursiveListeners=false worked to with the 100% cpu-stuff (netbeans 6.9.1 with php only and winxp), but I had to close the project, restart netbeans and reopen the project. In addition I have -J-XX:MaxPermSize=1024m -J-XX:MaxPermSize=512m


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