Let me introduce Yiiclipse - new eclipse plugin for yii developers. After almost one year I have developed it I found some time to put this together and give to the public.
When I was started working with yii framework and eclipse the most lacking feature was navigation. Now when Yiiclipse is here you can navigate using eclipse hyperlinks (Ctrl + mouse hover) between actions and views, views and another views, widgets and its views, and many more.
Besides that with 1.0.0 version Yiiclipse comes with handy "New Yii Project" wizard for setup new yii application with downloading chosen version of yii framework.
More information (with screenshots) are available under Yiiclipse home page
Update Site: http://maziarz.org/yiiclipse/
Hopefully you found Yiiclipse helpful and look forward new releases .
Man, this is really cool, thank you a lot for your efforts. I’ve been using Eclipse as my IDE for a long time now, and I wish this was with me during that time.
From now on I am however settling on using PhpStorm or rather IntelliJ IDEA (since I do other development than PHP as well), and the most awesome thing is if you could make a plugin like this for Yii and IDEA as well! There have been some requests to make PhpStorm/IDEA more aware of Yii, and I can only second that.
IDEA is the most kick-ass IDE I have ever come across, and I highly recommend anyone seriously doing PHP development to try out the 30 day trial of PhpStorm. If you like it it’s gonna be well worth the money, even if you decide on using IntelliJ IDEA instead due to working with other languages as well. (And nope, I have no affiliation whatsoever with Jetbrains, the company behind PhpStorm/IDEA).
Just wanted to say that. Would be awesome if IDEA had excellent support for Yii specifically, as well.
Nonetheless, for all those who have still problems with installing Yiiclipse in regular way can use dropins feature of eclipse. The drawback is that plugins installed such way cannot be updated with update mechanism and the same I do not recommend you such way, but if there is no other option it should work.
NOT RECOMMENDED: You need download the most recent bundle and put into dropins folder you can found in you eclipse home directory. Note: PDT needs to be already installed!!
Feature request: Whether I decide to use a already uncompressed Yii distribution or download it using the wizard, it should let me choose to initialize the project with any of the Yii examples provided.
Bug report: Yii extraction doesn’t work on Ubuntu 11.04, Using Eclipse Indigo. It downloads the file and then gets stuck. The wizard doesn’t closes/ends but the IDE is still full responsive. Clicking “Cancel” will close the wizard. Looking into the directory where the file its supposed to be decompressed, turns out that there’s no yii* directory. Also got full rw permissions in it.
EDIT: My bad. I misspelled the destination directory. However the plugin should have a way to inform the user for any errors related to this.
Man, this is pure awesome. Thank you so much for this one
Now what I’ve always missed and do not know how to fix in the view files is the reference to the controller object. Eg when using “$this” in the views, it would be absolutely awesome if I could get autocomplete to work, even if not the real controller (eg PostsController which rendered posts/view.php) but at least CController, it would be useful for $this->createUrl(), $this->renderPartial() etc calls. I have tried doing the following phpDoc thing as suggested somewhere around but it doesn’t work for me on few different eclipse installations…