Yii Framework Forum: Yiiclipse - Eclipse PDT extension for Yii Framework - Yii Framework Forum

Jump to content

  • (5 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Yiiclipse - Eclipse PDT extension for Yii Framework Rate Topic: ***** 5 Votes

#1 User is offline   KEo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 16-October 09
  • Location:Cracow, Poland

Posted 27 June 2011 - 04:15 AM

*
POPULAR

Hi all,

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 ;).

Any feedback is welcome.
5

#2 User is offline   YiieHR 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 12-September 10

Posted 27 June 2011 - 04:34 AM

Greate Job! Thanks :)
0

#3 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,349
  • Joined: 17-January 09
  • Location:Russia

Posted 27 June 2011 - 06:23 AM

Navigation part is really something.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#4 User is offline   Raoul 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 636
  • Joined: 29-November 08
  • Location:Paris, France

Posted 27 June 2011 - 06:52 AM

Very nice plugin that indeeds power up navigation !
As an Eclipse user I say : Thanks KEoooooo !!

B)
0

#5 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,349
  • Joined: 17-January 09
  • Location:Russia

Posted 27 June 2011 - 07:00 AM

Is this one stable enough to put it as news at the front page?
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#6 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 525
  • Joined: 10-October 08
  • Location:European Union

Posted 27 June 2011 - 10:21 AM

Nice!

Netbeans killer?

Just a question... while Netbeans has an "official" PHP version, for Eclipse there are some different PHP plugins... what PHP plugin do you recommend for Eclipse?

Edit: Just seen the "Eclipse PDT extension" :D

This post has been edited by ekerazha: 27 June 2011 - 10:28 AM

Yii user #37
0

#7 User is offline   Ivica 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 315
  • Joined: 25-May 11

Posted 04 July 2011 - 08:27 AM

View Postekerazha, on 27 June 2011 - 10:21 AM, said:

Nice!

Netbeans killer?

Just a question... while Netbeans has an "official" PHP version, for Eclipse there are some different PHP plugins... what PHP plugin do you recommend for Eclipse?

Edit: Just seen the "Eclipse PDT extension" :D


Yes, PDT is the best extension for eclipse for PHP development.
Zurmo: Yii Powered Open Source CRM
zurmo.org
0

#8 User is offline   rAWTAZ 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 102
  • Joined: 08-January 10

Posted 29 July 2011 - 10:36 AM

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! :D 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.

PS: If you try out PhpStorm, check out: http://www.yiiframew...rm-ide-for-yii/
0

#9 User is offline   chanh 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 86
  • Joined: 09-March 09
  • Location:Seattle

Posted 29 July 2011 - 03:58 PM

I am running this version on Windows and can't seem to see what you show on your site. No link for the navigation.
Version: Helios Release
Build id: 20100617-1415
http://ongetc.com (COAddOns for Mambo, Joomla, MiaCMS & forks and HowTo)
http://mosecms.tk (Mose framework & CMS)
0

#10 User is offline   dito 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 48
  • Joined: 13-October 10
  • Location:Zurich

Posted 29 July 2011 - 06:18 PM

Same problem here using openSUSE 11.4 and Eclipse Version: Helios Release Build id: 20100617-1415
0

#11 User is offline   KEo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 16-October 09
  • Location:Cracow, Poland

Posted 30 July 2011 - 05:56 PM

To see navigation hyperlinks two conditions must be met:
  • yii support must be on
  • press Ctrl button + mouse hover on object to be navigated

0

#12 User is offline   chanh 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 86
  • Joined: 09-March 09
  • Location:Seattle

Posted 30 July 2011 - 07:33 PM

I see, I miss that little detail about "Ctrl + mouse hover". It works now! Thanks
http://ongetc.com (COAddOns for Mambo, Joomla, MiaCMS & forks and HowTo)
http://mosecms.tk (Mose framework & CMS)
0

#13 User is offline   Luis Lobo Borobia 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 34
  • Joined: 25-March 10
  • Location:Buenos Aires

Posted 31 July 2011 - 10:41 AM

Great KEo!

Can you share your code to GitHub or BitBucket, so that we can help improve or even migrate it to NetBeans?

Thank you again!
Posted Image
The Social Network for Artists
0

#14 User is offline   rook 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 25-July 11

Posted 01 August 2011 - 03:55 AM

Hi!
I have a problem on ubuntu.
I get this:

Cannot complete the install because one or more required items could not be found.
Software being installed: Yiiclipse Core 1.0.0.201106301743 (org.maziarz.yiiclipse.feature.feature.group 1.0.0.201106301743)
Missing requirement: YiiclipseCore 1.0.0.201106301743 (org.maziarz.yiiclipse 1.0.0.201106301743) requires 'package org.eclipse.php.internal.core.model 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Yiiclipse Core 1.0.0.201106301743 (org.maziarz.yiiclipse.feature.feature.group 1.0.0.201106301743)
To: org.maziarz.yiiclipse [1.0.0.201106301743]

0

#15 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 01 August 2011 - 07:00 AM

I've got the same error rook got (using Ubuntu). I'll try to install this on Fedora tomorrow.
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#16 User is offline   KEo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 24
  • Joined: 16-October 09
  • Location:Cracow, Poland

Posted 01 August 2011 - 10:36 AM

Theoretically I could recommend installation on fresh INDIGO release using delivered updatesite. I've just tested this way on Ubuntu 10.04 and seems to work fine. You can start with "Eclipse IDE for JavaScript Web Developers" package. Yiiclipse should automatically install all the dependencies (including PDT).

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!!

For most recent bundle go to http://yiiclipse.maz...ite/1.0/plugins and pick the last one.

At the moment the url is: http://yiiclipse.maz...01108011652.jar
0

#17 User is offline   chirvo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 72
  • Joined: 30-November 10
  • Location:Venezuela

Posted 03 August 2011 - 11:40 AM

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.
0

#18 User is offline   chirvo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 72
  • Joined: 30-November 10
  • Location:Venezuela

Posted 03 August 2011 - 11:47 AM

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.
0

#19 User is offline   chirvo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 72
  • Joined: 30-November 10
  • Location:Venezuela

Posted 03 August 2011 - 11:53 AM

And... Thanks for your work. Appreciated.
0

#20 User is offline   Veseliq 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 31
  • Joined: 21-September 10
  • Location:Sofia, Bulgaria

Posted 04 August 2011 - 07:02 AM

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... :(

/**
* @var PostsController $this
*/

0

Share this topic:


  • (5 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users