An Oracle blog about NetBeans for PHP

NetBeans 6.5 Milestone 1 is published

NetBeans 6.5 Milestone 1 is now available. What is new in the Milestone 1 is mentioned in this document.

Regarding PHP support the M1 contains new features, which were already mentioned on this blog and also many bug fixes.  The PHP distribution has only 15 MB download size and I suggest to use M1 before Early Access.

We are waiting for your feedback. It's important for us to know, how you work, what is your workflow and what you need and expect. Help us to create useful PHP IDE. You can leave your message here as a comment or write to users@php.netbeans.org . You can subscribe for this mailing list here (is the last one), if you are logged in or you can send an email to users-subscribe@php.netbeans.org.

Join the discussion

Comments ( 23 )
  • raymond Tuesday, July 8, 2008


    This is great new! But does all the AJAX, Javascript and HTML goodies comes with the PHP only version of Netbeans 6.5? The last time I downloaded it I did not see the HTTP monitor or some of the AJAX features.

    It would be cool to also have the following:

    1) Option to create an HTML project

    2) WYSIWYG editor for HTML & PHP web pages. Something similar to Visual Web Designer

    3) Ability to link external programs so that we can call an external program with special parameters. Such paramters could include currently selected file (e.g. %selected%)

    4) Embedded Browser for previews. If the browsers are available then it would be nice to have the previews shown in NetBeans with javascript debugging and the other goodies.

  • Petr Pisl Tuesday, July 8, 2008

    Hello Raymond,

    yes, AJAX, JavaScript editor support, JavaScript debugger, CSS and HTML support are parts of the PHP version of NetBeans 6.5. In this distribution there are other features, like CVS, Subversion or Mercurial support etc.

    Unfortunately, there is not HTTP monitor. The current implementation needs a servlet container to deploy a part of HTML monitor there. Wee need to do it in different way for the scripting web development.

    All 4 point, which you mentioned, are discussed in NetBeans development team.

    For 1) there is a prototype on Autoupdate Center.

    2 and 4 are very connected from the implementation point of view. NetBeans team is working on a prototypes. Unfortunately I don't know when there are will be available. Regarding 3) - this request I have seen quite often in the latest days. Could you provide your usecases, why you need it? I will enter new enhancement to our issue db. Or you can enter, if you want:).



  • Anton Heryanto Hasan Tuesday, July 8, 2008

    thank for the release and great response to community feedback, i have use PHP early access (EA) and netbeans dev build, and now try netbeans 6.5 m1.

    but got few thing annoying me such as:

    1. they way netbeans handle alt-Tab(i always uses alt-tabs to switch between netbeans and browsers). when i press alt-tabs switch to browser from netbeans and back again to netbeans, the alt still seem pressed because it focus on menu. and i need to press alt again to get focus to code.

    2. the change of right click option at each php file in projects. in EA i flexible enough to run, debug, and run in command line each file. but in m1 not available, is there anyway to configure this in option?

  • M P Wednesday, July 9, 2008

    Hello, very good IDE! Keep the good work.

    -> I would like to see SMARTY support

    -> Font rendering looks buggy under Vista



  • Petr Pisl Wednesday, July 9, 2008

    Hi Anton,

    ad 1) I haven't this problem on my machine. Could you provide the information about version JRE/JDK and OS? You can copy these from about box, where are displayed Product version, Java, System and Userdir. Just copy the content of the last text area.

    It can be connected with some editor settings, which were overwritten in a dev build. M1 is also a dev build. You can try to stop NetBeans, delete your userdir and run NetBeans again. After these you will lost all settings which you changed and NetBeans will started from scratch.

    ad 2) I'm not sure, whether I understand your comment. Are you complaining about missing Run in command line action in the context menu over a php file? This is true that we change it. Basically it was replaced with run configurations, which you can change from project properties or in the toolbar. In the main toolbar there is a combobox, which probably displays <default> value now. The second item in the listbox is Customize. It opens the project properties, where you can create new run configuration. In Run As combobox you have to select Script (run in command line) item. Then switching the configurations is easy through the combobox in the main toolbar.

    I would like to know, whether this fits your needs. How often do you do you change the run configuration?



  • Petr Pisl Wednesday, July 9, 2008

    Hello MP,

    we don't have plan for supporting SMARTY in this release, but there is a plan to support PHP frameworks in the next release and SMARTY is one of the candidates.

    Regarding font rendering. What Java version do you use? I think that Java 1.6 has much better font rendering under Vista.



  • Giuliani Sanches Wednesday, July 9, 2008


    First of all, thank you for your work and for this excelent job.

    Will be possible to configure formatting style in the final release ?

    At least configure break (or not) before a bracket (i use allman or bsd style) and to remove those 4 start spaces. Ex:


    // Alt+Shift+F put cursor here

    // and i like to start my php files here :D



  • raymond Wednesday, July 9, 2008

    Hi Petr,

    Thanks for the feedback. I'm happy to know that some of these features are in the works :)

    In regards to #3 "Ability to link external programs..." - I think this would be very useful when it comes on to processing a parts or all of the project with an external program. One such program that comes to mind is the Adobe AIR SDK which is used to compile/package an html/ajax app into desktop application. This AIR SDK requires the project path and other things to be passed to it.

    Best regards and keep up the good work

    NetBeans4PHP to the World!

  • Anton Heryanto Hasan Wednesday, July 9, 2008

    Hi Petr,

    thank for quick response...

    1. i have try your solution, by delete my netbeans setting at userdir.

    but alt-tab problem still there but now only one in two action (if first i press alt-tab to change to other window and back to netbeans it will loose focus to menu, than if its focus to menu than i press i alt-tab to other window and back again to netbeans its ok)

    this is my configuration:

    Product Version: NetBeans IDE Dev (Build 200807040101)

    Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05

    System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

    Userdir: C:\\Documents and Settings\\anton\\.netbeans\\6.5m1

    2. you understand my comment perfectly :D, fortunately after delete setting context menu of run, and debug shown and after trying your configuration advice, it fit with my needs.. and it more flexible and easy.. thank u very much

    about configuration. i change run configuration rarely basically just to have comfort way to run php scripts. sometimes want to see preview in browser and some just wanna simple test/debug algorithm which simple using command line :D

    any thank u very much, i hope netbeans php even powerful and flexible and i will comment on other thing later, if it ok :D

  • Petr Pisl Thursday, July 10, 2008

    Hi Giuliani,

    > Will be possible to configure formatting style in the final release ?

    We are going to improve the formating. I'm not sure whether we will have enough time to provide an ui for customizing the formatter. Anyway it would be good to file issue in our issuezilla to track this.



  • Petr Thursday, July 10, 2008

    Hi raymond,

    I haven't work with Adobe Air yet. Could you provide an example of the command, which you need?



  • Petr Thursday, July 10, 2008

    Hi Anton,

    regarding 1. - hmmm, what you describe I haven't seen yet. Is it possible that the shortcut is consumed by another application? I'm going to try it in your configuration.

    Does anyone have similar problem?



  • Giuliani Sanches Thursday, July 10, 2008

    Hi Petr.

    Someone has provided this issue:


    Ty for your attention.

  • Petr Thursday, July 10, 2008

    Great. So we track the issue.


  • raymond Thursday, July 10, 2008

    Hi Petr,

    For example:

    To compile an AIR called HelloWorld-app.xml we would use:

    adl HelloWorld-app.xml

    From netbeans we could then setup a shortcut that will point to the adl command in the format: adl %startup-file%, where %startup-file% represents the startup (or main) file for the project.

    So when I click on the ADL commend from within Netbeans it would execute "adl HelloWorld-app.xml"

    That's it!

    Hre's a link to the AIR SDK


  • sudirman123 Thursday, July 10, 2008

    Thanks a lot for great product "NetBeans PHP Project"

    I have 2 questions ::

    - How to show Classes Window ?

    Classess Window helps me viewing general snapshot when opening large PHP Project (for example Joomla Content Management System)

    C/C++ Development has Classess Window in http://www.netbeans.org/features/cpp/index.html

    Eclipse PDT has "PHP Project Outline" (PDT's terminolgy for Classess Window ?)

    - "Navigate -> Go to Declaration" does not work for ClassName::member_of_class

  • Petr Friday, July 11, 2008

    Hi Sudirman123,

    Regarding Classes Window. We don't have such functionality like is in the C/C++. I was thinking about providing class hierarchy window, but unfortunately we don't have time to implement it in NB 6.5 timeframe. I entered new enhancement http://www.netbeans.org/issues/show_bug.cgi?id=139698 and you can leave your comment there. Basically it easy to implement.

    The issue with "Navigate -> Go to Declaration" it looks like a bug. Could you entered the bug? It should be fixed in this release.



  • Petr Friday, July 11, 2008

    Hi Raymond,

    I have a discussion about this with other team and I'm not sure, whether ti will be in NB 6.5, but definitely we are starting on this.



  • KUBR1CK Monday, July 21, 2008

    auto complete HTML DOM inside echo""; pls

  • Mariana Thursday, November 13, 2008

    Hi Petr,

    We found today that Debugging in PHP and preforming Step Into (F7) resulted in NetBeans not following the source code. All the debugging op worked perfectly well, including Step Out and Step Over and Run to Cursor, allowing inspecting the information but the only thing is you can not follow the line the debug has stopped at.

    Is this a known issue?

    We are running NetBeans IDE 6.5 RC2 (Build 200810270001)

    BTW, we managed to add tpl as a full HTML code, so we are looking forward to Smarty inclusion on next release!!!

    NetBeans is AWESOME, we can't thank you enough for such a great development!!! We've decided to use it in all our dev computers.

    Warmest regards,


  • Petr Friday, November 14, 2008

    Hi Mariana,

    I have already heard from one user about this. For him it happens only with his project.

    I would like to find the root of the problem. If your project is based on a framework, which one?



  • Petr Friday, November 14, 2008

    To Mariana: Radek, point me out the issue in our database http://www.netbeans.org/issues/show_bug.cgi?id=152390 . It's already tracked and Radek is evaluating the issue. If it will be possible then we add the fix to the patch, else it will be available in dev builds of the next release.



  • SneakyWho_am_i Thursday, March 5, 2009

    oh, thank GOODNESS. Hey I'm working on a nice little cross platform php project with lots of nice little cross platform developers. In our wiki we have a list of popular editors and IDEs. In the list you can see which editors are available on which platforms and which ones support Smarty (some only with plugins so it's graded).

    NetBeans has not been well received with us because when the article was written, NetBeans didn't suit our needs at all. For those who want a full-fledged IDE I've been recommending Eclipse and the eclipse project metadata is stored in the repository to help with this.

    However now I see a real possibility that NetBeans will be our new champion. If Smarty support ships by default, it could be the perfect tool for the job!

    Thank you!

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