### The first alpha version of Prado support

When I published the entry with the first screenshots of Prado support, I promised to publish first alpha version soon. Unfortunately from that time I'm extremely busy and I wasn't able to work on the project to fix all problems. On Sunday I found a little time to work on this and there is the first alpha version.

The bits are compiled against NetBeans development version. You can dawnload the latest nightly builds from NetBeans site. If you want to try it I suggest these steps:

• Unzip the zip file somewhere.
• Open a console window and go to the folder, where you unziped NetBeans.
• Go to the netbeans/bin folder.
• Start NetBeans with --userdir switch:
• Unix machines:
./netbeans --userdir /path/to/test/userdir/folder
• Win machines:
netbeans.exe --userdir X:\\path\\to\\test\\userdir\\folder
The main advantage of this approach is that you can run more instances of NetBeans on your machine and one instance doesn't influence others. I wrote more here.
• In NetBeans invoke Plugin Manager (Tools -> Plugins).
• Click on the Install button and follow instruction.
• You have to restart the IDE.

I created the nbm against the development version, because it was for me much easier to fix certain problems. I have tested just little bit due to luck of time, but I don't expect that everything will work and not everything is implemented. I have noticed that the Prado code completion doesn't have to work in page files at the first time. In such case open the appropriate php file and go back to the page file.

When you will play with this, don't forgot to put Prado framework into the include path of the project.

Nice work, but i'm waiting for symfony support ;)
Have you made any progress on this?

Also i have another question, unrelated to this topic, but maybe someone could answer me:
Are there any possibility to show commit log for specific directory in mercurial repository? I would like to see what's happening on subversion module.

Posted by Michal on January 13, 2009 at 03:21 AM CET #

Great!
This is very useful for my job. Thanks.

Will we have other versions (with more features) or prado support ends here?

thanks,
Diego

Posted by dbazza on January 13, 2009 at 06:15 AM CET #

There is a problem about the file type resolver.
The page template configuration file of the Tapestry framework is also end with the same extension(.page). How to differentiate the two type file in NetBeans.
The "File Type" in Option panel is lack of this feature to do this.

Posted by hantsy on January 13, 2009 at 06:44 AM CET #

Thanksssssssssssssss

Posted by Diego on January 13, 2009 at 07:12 AM CET #

I write a lot of PHP code for my web applications with vi, gedit or bluefish cause i can't found a nice IDE until now, NetBeans for PHP rules !!!
I also work with the Prado Framework and this module is amaizing, i hope you don't end the support for this framework.

Thanks

Posted by Marlon J. Manrique on January 13, 2009 at 11:35 AM CET #

To Michal:
>Nice work, but i'm waiting for symfony support ;)
>Have you made any progress on this?

I have to admit, that I'm still learning Symfony. I have some ideas and I discuss with people, what should be done. So I'm working on this, but there is no bits yet.

To dbazza:
>Will we have other versions (with more features)

The Prado support is my extra project and I'm working on this only in my spare time. Unfortunately in recent months it's very hard for me to find out time to work on this. I want to continue on this. So we will see.

Posted by Petr on January 13, 2009 at 05:13 PM CET #

Hi Petr,

Remember me in other posts ? :-)

I was updating netbeans nightly build every week, and php support is getting real cool.

My goal instead is symfony, if you want some people to talk about features, send me e-mails on domluc||gmail.

Cheers
Lucas

Posted by Lucas on January 14, 2009 at 05:51 AM CET #

Hi guys,
I would like to say something (It is not attached to the topic.) .

So I found a very annoying bug, i posted to the issues.
When i want to use global variables in some method, the auto code completion wasnt work. So Example;
try {
$global_variable=new some_class($p1,$p2); }catch(Exception$e ) {..... }

class some_class {
public function some_method()
{
global $global_variable; // I want to see to instance methods$global_variable-> (That is a problem)
}
}

Please guys, fix it to the next patch, or create a patch, thank you very much .

Posted by ofl on January 14, 2009 at 04:56 PM CET #

To ofl:

Seems to work fine in development builds

Posted by radek on January 15, 2009 at 09:56 AM CET #

Great!, finally we count with a good plugin and an excellent IDE for PRADO.

Thanks a lot Petr.

Posted by Roger Padilla on January 15, 2009 at 11:03 AM CET #

Radek thank you very much =)

Posted by ofl on January 17, 2009 at 07:19 PM CET #

Hello Guys,
Am I the only that cannot get this working under Windows Vista nor XP ?

I'm using nightly builds bis , configure a prado framework project (with the framework path on the include path). Can't get any real completion from sub-component : for example :
<?PHP
class Home extends TPage {
$this->Application .. IS NOT RECOGNIZE$this->Service..... IS NOT RECOGNIZE
but
$this->getHasProperty IS RECOGNIZE } I tries the trick of Symen but in vain. Unable to have any code completion on sub-class, childs, and such.. Can you please confirm any success doing this working good on XP or Vista env ? I'm using wampp (WamppServer 2.0 for Vista). Thank you for any answer as it is almost a week I trying to figure out how to make this working with the Prado Plugin correctly. Felix Posted by Felix on January 24, 2009 at 07:49 PM CET # Hi Felix, the support handles few functionality in page files (http://blogs.sun.com/netbeansphp/entry/first_screenshots_of_alfa_version) . It doesn't touch the functionality, which you have describe. It is supported by the editor itself. Where did you define the type of the Application and Service field? Regards, Petr Posted by Petr on January 25, 2009 at 01:27 PM CET # Hello Petr, thank you for your time. I understand what you are saying and I agree with it. But my problem here is about autocomplete feature while working with Prado framework (as if it were any other script) in the edition of php file (not .page or .tpl). I have put 3 screenshots together with comments on them that explain the pb and config. If you can have a look at it it would be great as I think that there might be other people out there facing same and needing some clarification like me. Thanks in advance for any help. Regards. Felix Posted by Felix on January 26, 2009 at 08:01 AM CET # Hello Petr, Hello Guys, Am I the really the only one to face this pb ? Any help would be greatly appreciated. Thanks is advance. Felix Posted by Felix on January 29, 2009 at 08:09 AM CET # java.lang.IllegalArgumentException: Invalid org.netbeans.libs.svnjavahlwin32 for operation UPDATE while trying to install the plugin in netbeans-Build 200902010201 Posted by Ctrlaltca on February 01, 2009 at 12:29 PM CET # Hello Ptr, I have tried with last night build : same pb. Any hint ? regards. Felix Posted by Felix on February 03, 2009 at 02:24 PM CET # Hi Felix, which OS do you use? And which java? Could you sand me your massage.log file from user dir? Regards, Petr Posted by Petr on February 03, 2009 at 03:59 PM CET # Hello Petr, my OS is Vista Pro, with jdk6. 4GoRam and 400Go HDD Due to lack of hints, we had to move to www.yiiframework.com with great success ! Everything is working flawless there. Thank you nayway for you kind time. Best regards. Felix Posted by Felix on February 05, 2009 at 05:40 PM CET # Hi guys, I am new to PHP and Prado, and netbeans is my first PHP Editor. I have added and installed the nbm pluggin and included the prado framework path in my included file folder. My problem is I cannot get the auto complete tags for com controls of Prado in my .page or even php file. Posted by Jeetu on March 09, 2009 at 04:40 AM CET # hi, i would like to know two things 1. why dont put the code of the plugin in svn? 2. i have the problems like Felix, i dont get code completion Posted by Luis molina on March 31, 2009 at 07:05 AM CEST # I have been looking at using Prado and this would encourage me to do so. However I ma trying to install it as shown below, and it will not get past the first step after clicking Install / Next it produces an error message (underneath NetBeans and system info here) Any advice would be appreciated please. Paul Product Version: NetBeans IDE Dev (Build 200903250219) Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01 System: Windows XP version 5.1 running on x86; Cp1252; en_NZ (nb) http://www.netbeans.org/issues/show_bug.cgi?id=161643 Posted by Paul A Norman on April 01, 2009 at 05:34 AM CEST # hi, i tested extension on latest Stable build of nb, and only navigator worked bad. Switched to dev build and after installing, restarting IDE, and opening .page file the error apears: java.lang.NoClassDefFoundError: org/netbeans/api/html/lexer/HTMLTokenId at org.netbeans.modules.php.prado.lexer.PageTokenId$1.embedding(PageTokenId.java:114)
at org.netbeans.spi.lexer.LanguageHierarchy$Accessor.embedding(LanguageHierarchy.java:363) at org.netbeans.lib.lexer.LexerUtilsConstants.findEmbedding(LexerUtilsConstants.java:208) at org.netbeans.lib.lexer.EmbeddingContainer.embeddedTokenList(EmbeddingContainer.java:153) at org.netbeans.api.lexer.TokenSequence.embeddedImpl(TokenSequence.java:355) at org.netbeans.api.lexer.TokenSequence.embedded(TokenSequence.java:303) at org.netbeans.modules.gsf.LanguageRegistry.addLanguages(LanguageRegistry.java:368) at org.netbeans.modules.gsf.LanguageRegistry.getEmbeddedLanguages(LanguageRegistry.java:402) at org.netbeans.modules.gsfret.hints.infrastructure.SuggestionsTask.getHintsProviderLanguage(SuggestionsTask.java:72) at org.netbeans.modules.gsfret.hints.infrastructure.SelectionHintsTask.run(SelectionHintsTask.java:86) at org.netbeans.modules.gsfret.hints.infrastructure.SelectionHintsTask.run(SelectionHintsTask.java:60) at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1417)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

my platform:
Product Version: NetBeans IDE Dev (Build 200904030200)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Windows XP version 5.1 running on x86; Cp1250; pl_PL (nb)

Any ideas what to do to make it work?

Posted by Maciej on April 06, 2009 at 06:23 AM CEST #

i've same problem when i press ctrl+space to auto complete:

java.lang.NoSuchMethodError: org.netbeans.modules.php.editor.index.PHPIndex.get(Lorg/netbeans/modules/gsf/api/Index;)Lorg/netbeans/modules/php/editor/index/PHPIndex;
at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$ComponentAnalyzer.run(PradoHTMLCompletionProvider.java:224) at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$ComponentAnalyzer.run(PradoHTMLCompletionProvider.java:208)
at org.netbeans.modules.gsf.SourceAdapter$1.run(SourceAdapter.java:80) at org.netbeans.modules.gsf.SourceAdapter$1.run(SourceAdapter.java:72)
at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider.access$100(PradoHTMLCompletionProvider.java:79) at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$Query.query(PradoHTMLCompletionProvider.java:188)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)

Product Version = NetBeans IDE Dev (Build 200904070200)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19; Sun Microsystems Inc.
Runtime = Java(TM) SE Runtime Environment 1.6.0_04-b12

Posted by Emon on April 09, 2009 at 12:50 PM CEST #

Hello. I am newbie in the NetBeans development.
I want to create plugin for suppor Yii framework. But I don't have more experience to make it.

Can you help me?

Posted by Aleh on April 14, 2009 at 10:51 AM CEST #

Hello. I am newbie in the NetBeans development.
I want to create plugin for suppor Yii framework. But I don't have more experience to make it

Posted by dvd film izle on June 09, 2009 at 12:14 PM CEST #

Hello. I am newbie in the NetBeans development.
I want to create plugin for suppor Yii framework. But I don't have more experience to make it.

Can you help me?

Posted by medyum on August 13, 2009 at 09:20 AM CEST #

I have the same problem:

java.lang.NoSuchMethodError: org.netbeans.modules.php.editor.index.PHPIndex.get(Lorg/netbeans/modules/gsf/api/Index;)Lorg/netbeans/modules/php/editor/index/PHPIndex;
at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$ComponentAnalyzer.run(PradoHTMLCompletionProvider.java:224) at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$ComponentAnalyzer.run(PradoHTMLCompletionProvider.java:208)
at org.netbeans.modules.gsf.SourceAdapter$1.run(SourceAdapter.java:80) at org.netbeans.modules.gsf.SourceAdapter$1.run(SourceAdapter.java:72)
at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider.access$100(PradoHTMLCompletionProvider.java:79) at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$Query.query(PradoHTMLCompletionProvider.java:188)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Caused: org.openide.util.RequestProcessor$FastItem: task failed due to any one can help? Posted by uiratan on August 13, 2009 at 12:12 PM CEST # @uiratan I have the same problem: java.lang.NoSuchMethodError: org.netbeans.modules.php.editor.index.PHPIndex.get(Lorg/netbeans/modules/gsf/api/Index;)Lorg/netbeans/modules/php/editor/index/PHPIndex; at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$ComponentAnalyzer.run(PradoHTMLCompletionProvider.java:224)
at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$ComponentAnalyzer.run(PradoHTMLCompletionProvider.java:208) at org.netbeans.modules.gsf.SourceAdapter$1.run(SourceAdapter.java:80)
at org.netbeans.modules.gsf.SourceAdapter$1.run(SourceAdapter.java:72) at org.netbeans.napi.gsfret.source.Source.runUserActionTask(Source.java:493) at org.netbeans.modules.gsf.SourceAdapter.runUserActionTask(SourceAdapter.java:71) at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider.getComponents(PradoHTMLCompletionProvider.java:280) at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider.access$100(PradoHTMLCompletionProvider.java:79)
at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$Query.query(PradoHTMLCompletionProvider.java:188) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:218) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030) Posted by Javier on August 16, 2009 at 08:03 PM CEST # Thank you by Admin Posted by mirc on August 22, 2009 at 09:28 PM CEST # The same problem here. Ctrl+space on \*.page file causes error: java.lang.NoSuchMethodError: org.netbeans.modules.php.editor.index.PHPIndex.get(Lorg/netbeans/modules/gsf/api/Index;)Lorg/netbeans/modules/php/editor/index/PHPIndex; at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$ComponentAnalyzer.run(PradoHTMLCompletionProvider.java:224)
at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$ComponentAnalyzer.run(PradoHTMLCompletionProvider.java:208) at org.netbeans.modules.gsf.SourceAdapter$1.run(SourceAdapter.java:80)
at org.netbeans.modules.gsf.SourceAdapter$1.run(SourceAdapter.java:72) at org.netbeans.napi.gsfret.source.Source.runUserActionTask(Source.java:493) at org.netbeans.modules.gsf.SourceAdapter.runUserActionTask(SourceAdapter.java:71) at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider.getComponents(PradoHTMLCompletionProvider.java:280) at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider.access$100(PradoHTMLCompletionProvider.java:79)
at org.netbeans.modules.php.prado.completion.PradoHTMLCompletionProvider$Query.query(PradoHTMLCompletionProvider.java:188) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:218) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
[catch] at org.openide.util.RequestProcessor\$Processor.run(RequestProcessor.java:1030)

Posted by Nechor on September 04, 2009 at 02:13 AM CEST #

Hello. I am newbie in the NetBeans development.
I want to create plugin for suppor Yii framework. But I don't have more experience to make it.

Posted by araç sorgulama on December 29, 2009 at 04:49 AM CET #

• HTML Syntax: NOT allowed

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

##### Archives
Sun Mon Tue Wed Thu Fri Sat « May 2016 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 31 Today