As a workaround I created a brand new project for the framework source and then clicked on yiilite.php in this new project and excluded yiilite from the build path. I then included this project in my other Yii projects and I can open declaration for classes and it will always open the framework base class, not the yiilite version. It’s a bit of a hack but it seems to work.
I have just installed the the Yiiclipse extension for Eclipse PDT. However I was unable to create a new Yiiclipse project as the option is not available. Neither was I able to Toggle Yii Support. Would appreciate it if you could provide some assistance. Thanks (=
I also got the same problem. I install this twice, once in my office and this time. when I install in office, everything works fine, but now, I install successfuly, but can't see the toggle of Yii support.
My OS and eclips is all same with the office one.
I tried to fix it out by the step you mention, but I can't find the file in eclipse, how can I do it? My eclipse is :
Run you PDT installation, go to top menu and choose Help > About Eclipse > Installation Details. You should see "Installed software" tab. There should be two position PDT and Yiiclipse. Can you see both??
Alternatively, you can try run your PDT from command line as follows:
./eclipse -debug -consoleLog
You should see the following entry at the end of internal eclipse debug log.
YDEBUG: Yiiclipse is up and running.
If you will be able to see it means yiiclipse is successfully installed. But the same this means not good if still dont see Configure > Toogle Yii Support popup menu.
First of all, great job on this extension. The code navigation and completion features are really useful.
Unfortunately, the code completion for widgets doesn’t seem to be working for me.
After typing
$this->widget('
it pops up a windows showing me the various options (application, ext, zii, etc.). However, after moving to the next part, it doesn’t find anything (“No default proposals”) - not for ‘application’, not for ‘ext’, and more importantly - not for zii.
In the meantime, I’ll enjoy all the great features that do work.
Second, I do not see the links for navigation and I really want to. I am a recent convert to Mac and wonder if I’m just doing something wrong with the Mac version of Eclipse on this new OS.
However, I am also somewhat new to Eclipse and Yii after starting to write code again for the first time in 10 years, so maybe I have some of the installation wrong, but it doesn’t seem like it because I can Toggle Yii Support just fine and see the icon change.
Unfortunately I have no possibility to check on Mac. Have you tried runing eclipse with -debug -consoleLog options? You should see error message when no possible to resolve the path.
Cannot complete the install because one or more required items could not be found.
Software being installed: Yiiclipse Core 1.1.0.201111132221 (org.maziarz.yiiclipse.feature.feature.group 1.1.0.201111132221)
Missing requirement: Yiiclipse Core 1.1.0.201111132221 (org.maziarz.yiiclipse.feature.feature.group 1.1.0.201111132221) requires ‘org.eclipse.php.feature.group 0.0.0’ but it could not be found
I am a newbie with Yii and I have a small problem with Yiiclipse.
My Yii’s directory structure is a little bit different from standard structure, I have put the protected directory outside the webroot and I changed the index.php.
Now, when I create a new Yii project in Eclipse, it (Eclipse or Yiiclispe I do not know) recreates the protected directory inside the webroot and I cannot to change the path.
How I can link the protected directory outside the webroot?