Code-Freeze reached, planing phase started

Today a clone for NetBeans 6.5 was created. It means that trunk is open for the next development and also that only show stoppers can be fixed in NetBeans 6.5 . NetBeans 6.5 is the first version of NetBeans, which includes the PHP support. I hope that it will be useful for many developers.  

Now we (the development team) are in planing phase. There are many things to do. You can help us to prioritize, what should be done and what should be improved. Just leave comment here or enter an enhancement or feature request to our Issuezilla. Unfortunately we will have again limited time, so I'm sure that it will not be possible to do everything what it's possible.

In this moment we are thinking about a framework support (Symfony wins the voting and probably other framework will not have more votes than Symfony) , PHP Unit testing support, improve the current infrastructure and do many improvements in the editor, navigation, debugging and project support.

Comments:

Improve the CSS file editor. The PHP editor seems very good and I was all ready to switch from DW8 to Netbeans 6.5 then I ran into issues where the CSS editor just was not giving a comprehensive hints list and was missing things I thought were standards. Code completion is KING in getting things done and PHP allows a great frame but to make that frame look good you also need a good CSS style via a great css style editor with comprehensive completion.

Posted by Scott Damery on October 14, 2008 at 11:37 AM CEST #

Please add an HTML Visual editor, like JSP it is really needed sometimes and i think is the thing can make people become Netbeans from DW.

Posted by Antonio Pagano on October 14, 2008 at 12:54 PM CEST #

Good work guys!

I vote for: PHP Unit testing support

Posted by coccyx on October 14, 2008 at 03:06 PM CEST #

You've done some great job with Netbeans for PHP. I think, with adding more features, it will be the way to go for developers looking for an IDE in no time.
I am +1 for PHPUnit support. There is no such feature in any of the free or open source IDEs (Unless I missed one).
Great job, and keep up the good work.

Posted by Ali B. on October 14, 2008 at 04:58 PM CEST #

Many features is lack in the PHP support .
Unit Test(PHPUnit , simple test)
Refactor(for php class like java)
View Class members ,etc (for php class ,like java)
Quick fix.

Posted by hantsy on October 14, 2008 at 08:11 PM CEST #

+1 for PHPUnit Support

Posted by Timo on October 15, 2008 at 01:27 AM CEST #

Like Antonio Pagano said something like visual editor for html.
I was using earlier Zend Studio 5.5 and i think that Netbeans lack of speed in Complite Code.
But NetBeans is Great :)

Posted by Shadzik on October 15, 2008 at 01:51 AM CEST #

I would like more power to the PHP Editor. More exactly Navigate -> Go To Declaration should also include class members of included files (directly included or indirectly through Project PHP Include Path).

Related feature is to add indirect symbols (like class members of indirectly included files) in Quick Search. This would be a really powerful way to navigate the project.

Thanks!

Posted by soso on October 15, 2008 at 03:40 AM CEST #

checkout "Delphi for PHP" from CodeGear/Embarcadero and try to implement any nice (and not patented) features

Posted by George Birbilis on October 15, 2008 at 05:43 AM CEST #

I don't kbnow if i'm the only one who has this problem, but i'm using propel that generate files with classes and when i regenerate files with changes (new methods or renamed methods) i must restart whole IDE to reload all classes for Complite Code...
It whould be great it there was something to trigger reloading whole structure of classes in project.

Thanks

Posted by Shadzik on October 15, 2008 at 05:46 AM CEST #

Hi Scott,

I absolutely agree with you. The css features are not as strong as could be and we are aware of this. You can be sure that I push improvements in html and css and some of them was already started. I hope that we will see them soon in a development build.

Thanks,
Petr

Posted by Petr on October 15, 2008 at 08:19 AM CEST #

- Support PHP Unit testing is important for us. We are going to create the support.

- We want to provide some refactoring, but refactoring for Java is much simpler than for PHP. NetBeans 6.5 contains Find usages, which is the base stone for other refactorings.

- View Class Members: I have already filed request to the navigator infrastructure to allow us to provide this in navigator window.

- Class hierarchy - this should be easy to implement. In NetBeans 6.5 the main problem was just the time:(.

- Quick fixes - again nothing hard, just question of the time.

- HTML visual editor - this is really challenge :). It's not task for a month (probably years). The resources are limited and I'm afraid that there will not be space for this. I would like to have it as well, but we need to decide what is realistic. It can be implemented one day, but not for NetBeans 6.5 next.

Posted by Petr on October 15, 2008 at 08:36 AM CEST #

Hi soso,

> More exactly Navigate -> Go To Declaration should
>also include class members of included files
>(directly included or indirectly through Project
>PHP Include Path).

It should be there. Try Navigate -> Go To Symbol?

> Related feature is to add indirect symbols
> (like class members of indirectly included
> files) in Quick Search. This would be a really
> powerful way to navigate the project.

Good comment. Go To Symbol is not implemented for Quick Search.

Thanks,
Petr

Posted by Petr on October 15, 2008 at 08:44 AM CEST #

Hi Petr,

Thanks for the quick response!

>> More exactly Navigate -> Go To Declaration should
>>also include class members of included files
>>(directly included or indirectly through Project
>>PHP Include Path).

>It should be there. Try Navigate -> Go To Symbol?

Yes you are right. Continuing on this idea do you think is possible that the action triggered by holding CTRL + Mouse Over a class member for example, should contain Go To Symbol too? Maybe in case when Go To Declaration returns no items?

The thing I want to emphasize is the need to easily navigate through a PHP project. This is a big problem for all PHP IDEs out there. Netbeans does one of the best jobs in this area but would like to see even more power. :)

Thanks for listening!
-soso

Posted by soso on October 15, 2008 at 08:54 AM CEST #

Hi Shadzik,

regarding the speed of code completion. Which build do you use?

The second problem with not refreshing classes after regenerating is caused that NetBeans doesn't know about the changes and also NetBeans doesn't obtain any event about this. NetBeans listens on a file if there is FileObject created for the file (FileObject represents a file in NetBeans). Such FileObject is created for example when you expand folder with the files in explorer.

My advice to you can be to expand folders in project explorer, which contain the files that will be regenerated and then regenerate the files. NetBeans then will be notified about the change and the regenerated files will be reparsed. Let me know, if it works for you.

Sure there can be an action, which will invoke reparsing all files in the project. I will enter new enhancement for this.

Thanks,
Petr

Posted by Petr on October 15, 2008 at 09:07 AM CEST #

Hi soso,

could you give me short example of a code and specify the place, where you want to have have the hyperlink functionality and where it should navigate?

I just want to clarify it and to be sure that we are talking about the same thing.

Thanks,
petr

Posted by Petr on October 15, 2008 at 09:11 AM CEST #

Any plan to support development on popular CMS such as Drupal, Joomla?

Thanks for the great work

Posted by Yudi Setiawan on October 15, 2008 at 10:55 PM CEST #

Hi Petr,

In the picture here http://codeworkshq.com/netbeans.gif you will find the snag of what I mean and the description.

Also the php snipper is here http://codeworkshq.com/netbeans.php.txt

Please let me know if you need any more info.

Thank you!
-soso

Posted by soso on October 16, 2008 at 02:43 AM CEST #

Oops, in the picture I posted the text is truncated in the end, it is mean to be "...it shoud use Go To Symbol".

Posted by soso on October 16, 2008 at 03:17 AM CEST #

Hi,
I don't think that a visual editor would be an improvement cause I don't think it will be in line, for example, with the decision of supporting more frameworks.. as any framework has it own code to implement form elements and so on.. and it would be too complicated to have a visual editor than can handle them all.. so this will mean to have a messy visual editor or a useless visual editor that force you to stay in predefined html code..

Don't know how JSP Visual Editor works but imho netbeans its a powerfull tool and people who wants a visual editor should keep using DW :p

moreover you can design standard elements in the way you prefer, even with a visual editor, clean up the code and then set code templates so you save a lot of time.

I think development should focus on support frameworks (hopefully not just Symfony ;)) and more in general on things that makes the development faster that doesn't means you are forced to go visual in order to obtain this.. also cause everything (php frameworks and js/ajax frameworks) are evolving very fast.

just my 2c.

bye

Posted by Giovanni on October 16, 2008 at 04:05 AM CEST #

Giovanni express exactly what I think. A visual editor can be helpful, but the price is very high and the result is not clear. Instead of creating a visual editor we will be able to support more frameworks add more features. You can guess, how many developers work on the php support.:)

As I have already written the resources are limited. The visual editor doesn't have to be done by us (php team) or it can be started as community project.

Posted by Petr on October 16, 2008 at 05:23 AM CEST #

Hello

i thought that visual editor will be only for pure html without framework support. That would be nice to fast draw table with 10 rows and 10 cells in etch row or something like this.

is there any tutorial how to make support for example template engine like Smarty for PHP or XML format do Propel. I think that is not much work, maybe i will try if i need one :)

@Petr: about that Complite Code, im using dev build, last is from 14 October, But i don't know how fast it should work. After i press Ctrl + Space i usualy take 1-1.5 s. Is it normal ?

And about this refreshing of files i will try, Thanks.

Posted by Shadzik on October 16, 2008 at 05:50 AM CEST #

To Soso:

This is a great idea I like it. We will implemented.

In your example I would add php doc for the factory method. So it will looks:

<?php
class A {
/\*\*
\*
\* @return A
\*/
static function factory() {
return new A();
}
function doit() {e cho 'yes';}
}
$a = A::factory();
$a->doit();
?>

Then NetBeans are able to offer methods and public fields for the variable $a. So if you add the php doc, then NetBeans know the type, which is returned by the factory method and then it should navigate to the right place. Unfortunately it's not probably implemented, because it doesn't work. I would threat it as a bug.

Anyway I like the idea with Go to Symbol dialog.

Thanks,
Petr

Posted by Petr on October 16, 2008 at 06:49 AM CEST #

Hi Shadzik,

>i thought that visual editor will be only for pure
>html without framework support. That would be nice
>to fast draw table with 10 rows and 10 cells in
>etch row or something like this.

I understand. It can look as a simple task. But even this is not so simple, if you don't want to do it just as a toy or a demo feature.

>is there any tutorial how to make support for
>example template engine like Smarty for PHP or
>XML format do Propel. I think that is not much
>work, maybe i will try if i need one :)

There are many tutorials how to develope a plugin for NetBeans. For example you can start here: http://platform.netbeans.org/tutorials/#midlink .

>@Petr: about that Complite Code, im using dev
>build, last is from 14 October, But i don't know
>how fast it should work. After i press Ctrl +
>Space i usualy take 1-1.5 s. Is it normal ?

This is not normal at least on my machine. I have a tested project, which has more then 3000 php files and the code completion returns about 12000 items in the top level context (when you press CTRL+SPACE without a prefix outside a class or function). This case takes something between 200 and 600 ms. I have Coe2 Duo 2GHz with 2GB ram and I use Ubuntu.

On the other hand I thing that code completion which returns 12000 items is not useful so I always use code completion in a class context or with a prefix and in these cases according measurements it usually take less to 200 ms.

Anyway, could you describe your project and what is configuration of your machine? There can be some problem, which should be fixed.

Thanks,
Petr

Posted by Petr on October 16, 2008 at 08:36 AM CEST #

Hi Yudi,

>Any plan to support development on popular CMS
>such as Drupal, Joomla?

Not exactly. IMHO I think that there shouldn't be an obstacle to use NetBeans for it. I can try it and write tutorials similar to tutorials about WordPress, which I published on this blog some times ago.

Regards,
Petr

Posted by Petr on October 16, 2008 at 08:41 AM CEST #

@Shadzik:
> i thought that visual editor will be only for
> pure html without framework support. That would
> be nice to fast draw table with 10 rows and 10
> cells in etch row or something like this.

if you find useful a visual approach you can try this: http://www.kompozer.net/

that does what you ask and it is open source.. I know that is not useful as an integrated tool but if you work on the layout before start coding you can optimize your time.

But I also think that using netbeans for write plain html and php that can work with it is like to drive a ferrari on a mountain road.. cause.. even if you don't use a framework and still use plain html, on a big php project you'll never write a table by hand each time.. you'll set up some classes that will write all the tables for you and that classes will make the visual editor useless!

ciao

Posted by Giovanni on October 17, 2008 at 04:00 AM CEST #

There is already a Drupal plugin for Netbeans.
https://nbdrupalsupport.dev.java.net/

But i can not debug a Drupal "\*.module" file. Is this the same issue like in forum?
http://forums.netbeans.org/post-9782.html

Posted by Jozef on October 17, 2008 at 07:22 AM CEST #

I was always thinking about an integration such tool like http://www.kompozer.net/ into NetBeans. Unfortunately I haven't find anything good as was at least NVU or KompoZer written in java. Integration of java tool would be much simpler than write it from scratch.

Regards,
Petr

Posted by Petr on October 17, 2008 at 12:40 PM CEST #

Hi Jozef,

the project for supporting Drupal is for NetBeans 6.1. The PHP support for NetBeans 6.5 doesn't have nearly nothing common with the previous version. I haven't tried the Drupal support yeat.

Regards,
Petr

Posted by Petr on October 17, 2008 at 12:49 PM CEST #

Hi Peter,
Ďekuji za odpověď, teším se na Netbeans 6.5.
Mockrát díky
Josef ze Slovenska

Sorry friends for foreign language, it was just a "thank you you very much" in Czech/Slovak language to Petr.

Bye Jozef

Posted by Jozef on October 17, 2008 at 02:13 PM CEST #

@Jozef:
Yes, I couldn't get the debug working in Drupal modules.
I set some breakpoints in a module, but it has no effect.

@Peter:
Maybe there's support for module debugging and also module creation wizard?

Thanks

Posted by Yudi Setiawan on October 22, 2008 at 12:46 AM CEST #

It should have a design view to facilitate easy highlighting of it's code when working with large htm file.
It should also have a functionality to pop up explorer shell menu of files or folders while right clicking on them.

Posted by Gaurav Sharma on December 16, 2008 at 02:04 AM CET #

Hi Gaurav,

could you specify more? What should it do?

Thanks,
Petr

Posted by Petr on December 16, 2008 at 03:54 PM CET #

Design View for PHP should be the priority.

I have evaluated Netbeans against Eclipse lately, going through different forums and blogs. So finally selected Netbeans to be my (Java, PHP, Ruby) Development IDE. Hopefully Adobe Flex will be supported too sometime soon.

great work

Posted by Salman Awan on July 14, 2009 at 07:55 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today