i just tried to enable autocomplete Zend library in my Eclipse project, following this post => Zend Framework Plugin for Eclipse PDT , looks like it worked a while yesterday, then i shotdown my computer, and this morning, the only autocomplete i could get is the PhpCore one !
I restarted my computer 3 times, i clean my project too, and nothing change, and my project and my Zend library can be seen in my PHP Include path.
I just can't figure out what's going on, if anybody have a hint, it would be really great
PS: my IDE is the Helios Service Release 2 (Eclipse for php version 1.3.2)
One of my colleagues had a very similar problem which he resolved by creating a new eclipse workspace and re-importing the project. Another possible solution would be to run the eclipse workspace cleaner (run eclipse.exe --clean). If none of these approaches work, you may wish to consider raising a defect against Zend.
Related
I am new to develop in php using Netbeans IDE. I use NetBeans 8.0 version. I want to develop a project using Codeigniter framework. But still I was unable to find a way to start a project with Codeigniter template.
When I'm creating a new project, Netbeans ask me to use number of php frameworks such as Symfony, Nette2, Zend2, Doctrine & etc. But there are no anything as Codeigniter.
I tried lots of solutions in stackoverflow. but some of them are for older netbeans versions and others are not working for me.
I downloaded the netbeans CI plugin from https://github.com/nbphpcouncil/nb-ci-plugin/releases
When I was try to install that plugin, NetBeans says that it needs some more plugins to be installed.
How to integrate Codeigniter framework to the NetBeans 8.0..?
Thanks in advance..
I'm using NetBeans 8.2 Patch 2 (Full IDE). I installed both NBM files from the link, that you paste and everything was fine. You need NetBeans with PHP support, if you not want the full IDE. So after installing the 2 nbm files, I can choose the codeigniter framework at the new PHP project wizard.
Regards
Chris
I've been trying to get a php debugger for the last 2 days.
I ended up with xampp localhost-package and I'm pretty satisfied with it.
I just can't get any debugging to work.
Initially I tried to install xDebug, as was suggested here.
But that tutorial seems to be outdated. I tried couple other forum thread tutorials but couldn't get anything to work, with regards to xdebug. So abandoned xDebug and decided to stick with Zend because "it comes default" with xampp.
As far as I can tell, Zend Debugger doesn't come default with Xampp, I tried debugging with Eclipse, through my localhost server and it doesn't recognise the variables.
So I saw someone using a different version of Eclipse called "Zend Eclipse" and thought "surely that version has a default zend". I don't think it does, bugger if I know. I tried to "test" for zend debugger when creating a new debugging config and it says it's not installed.
Can anyone point me in the right direction of how to actually get Zend Debugger to run with Eclipse and Xampp?
Or..
Just tell me what you prefer to use for php debugging.
At this point, I don't care what I use, as long as it helps me debug my source code.
Thank you for your time.
Any help will be appreciated.
Regards,
James
I have Eclipse Juno installed in Fedora 17 from the standard Fedora repositories.
I've added PDT from the Eclipse repository using the help->install new software interface.
However, when I go to create a new project I don't get the option to create a PHP project, only plain 'General' projects.
Why doesn't Eclipse let me create a PHP project and how can I fix this?
I closed Eclipse and deleted ~/.eclipse/*, restarted Eclipse and the PHP plugins (and others) seem to have woken up.
Still don't know what was causing it, but I'm in a place I can get work done now at least!
I have a project that's intended to use some PHP as well as Java and Javascript, so I installed the PDT PHP plug-in for Eclipse, using the Install New Software menu option. Now Eclipse agrees PDT is installed, but no PHP features like creating or editing PHP files are appearing anywhere. Is there something else I need to do to activate PDT? (I did restart Eclipse like it said I needed to.)
Right click on your project, Configure (it's at the bottom of the list)->Add PHP Support...
After it's done, you should see a little P symbol in the project's icon.
Just create new project using the wizard, and choose PHP one. After Eclipse will know that your project is actually based on PHP, it will show you all the features.
In case if you have existing project, just open the PHP perspective.
I've once had a similar problem. Eclipse was running with the JRE 1.4, and it seems the JRE 1.5 or later is required to run the PDT. I switched to Java 1.6 and that solved the problem.
I run into this sometimes with eclipse plugins.
Have you tried uninstalling it, removing the jar and files it from eclipse/plugins and eclipse/features, then installing it again?
If you don't feel like doing that. Try installing it in a clean eclipse instance and if it works then it's just a config issue with eclipse.
You might have not installed all of the tools too.
The solution I eventually came up with was to just install Aptana Studio, a PHP IDE based on Eclipse, whose standalone version can coexist happily with the regular Eclipse on the same machine.
In order to have PHP support in eclipse project, you need to add PHPNature to the project. It's a kind of configuration paramter of eclipse project. When you craete a new PHP project using a wizard, check the .project file in a new project directory. There is a PHPNature line. Copy this line into .project of your java project.
Another solution is to separate java and php code in a different projects, each one craeted by right wizard.
I have Slackware 12.1 and wish to try out Eclipse for PHP/HTML/JavaScript development. However, it seems I'm facing myriad of possible options and I'd hate to miss the best thing and give up on Eclipse (I'm currently using Geany, but I'm missing some stuff like , for example, auto-complete for JavaScript)
I'm currently looking into just installing All-in-one PDT package version 1.0.3 from here:
http://www.eclipse.org/pdt/downloads/
However, that seems to be Eclipse 3.3. There's also Slackware package for 3.4 here:
http://repository.slacky.eu/slackware-12.1/development/eclipse/3.4/
But it says it a "Classic" version. I'm not sure how hard would be to add PHP, HTML, JavaScript support for it.
Note: I don't plan to run PHP through Eclipse's integrated web server or anything like that. I just want a powerful editor.
P.S. Also, recommendations for something better than Eclipse that is for Linux and free are also welcome. I already used Kate, SciTE, Geany, Emacs, Vi and Bluefish, so those are not interesting.
Important: whatever you recommend, please explain reasons why. Don't rush to be the fastest gun in the west, as I'll downvote such answers that only say "use this"
I second Aptana wholeheartedly. Since it is based very closely off of Eclipse, if you ever decide to do coding that Aptana will not cover, you are still used to the general interface of Eclipse.
I don't want to say it is cut down, because it is not. It just has what you need for the languages and technologies you will be using it for. You can still add other plugins to it as well for SVN, CVS, etc. The interface is a bit less crowded as well.
I don't do a whole lot of javascript coding, but man, that is where is stands out from the crowd. It does a fantastic job with Javascript.
Also, you don't have to use Aptana's built in Jetty server to run PHP; you can just tell it where you local Apache server is.
If you want auto-complete for JavaScript, in that case you should to use some plug-in for Eclipse such as Aptana Studio, but Aptana is more than auto-compete tool for javascript, it has included a lot of unnecessary things that you don't need for regular development.
I have the same problem to find the right solution for JavaScript in Eclipse, Aptana was ok, but I hate the additional features that Aptana includes, I didn't find any good tool which could be added to Eclipse, for JavaScript :( For script languages such as JSP, Eclipse is like a song...nice,sweet and smooth...;)
I would recommend to use Eclipse 3.3 with PHP Development Tools. The All-in-one package should work fine. The great thing about using Eclipse as a PHP IDE is that you have great integration for Zend Debugger/XDebug and you can use common Eclipse Extensions like Mylyn or Subclipse also for PHP.
Eclipse 3.4 isn't useful for PHP Development at the moment because the final version of PDT 2.0 got delayed.
You could also take a look at Aptana or the current Netbeans 6.5 Milestone which both support PHP. Until PDT 2.0 they both provide better JavaScript Support than the current Eclipse 3.3 based PDT. Aptana is also based upon Eclipse.
I'm still using Eclipse 3.3.2 and PDT 1.0.3, and I'm pretty happy with it. I tried upgrading to Eclipse 3.4, using a few recent builds of PDT 2.0, but it was buggy. It would hang for a long time in certain situations (like when I was copying text in a PHP editor). And it would keep re-parsing all my code every time I re-launched Eclipse, which took forever. These issues will probably get fixed eventually, but I'd hold on unless you really want Eclipse 3.4.
Aptana is a good choice, dedicated Eclipse clone for web development.
I personally use Krusader's editor, which is crippled version of Kate (KWrite). Fast, nice code highlight, and many useful shortcuts (like Ctrl+D to comment selection language wise).
Javascript with PDT Eclipse and the plugin jseclipse makes all your problems go away! :)
With jseclipse the regular "Goto function with F3 keyboard press" works.