I have already installed Eclipse for Java development. I'd also like to install Plugins for PHP, CSS/HTML and Javascript, but all the sites that I've checked only offer a 'All in one' package, so I could either download an all-in-one Java package or an all-in-one PHP package, but not both at the same time.
How do I set up my existing installation to also support PHP files?
Eclipse is an IDE originally designed for Java, but now with plugins for many languages including PHP. It has lots of very powerful features, and it is the editor that some Moodle developers like to use.
Eclipse is a Java-based application and, as such, requires a Java Runtime Environment or Java Development Kit (JRE or JDK) in order to run. Note that on recent versions of Mac, a full JDK needs to be installed, not just a JRE; see instructions below.
To import an existing project, use File>Open Projects from File System and point to the folder containing your project. To create a new PHP file, use the wizard at File>New>Other>CodeMix>PHP File. You can simply create a regular file with a php extension as well.
I use PHPEclipse which can be installed as a regular Eclipse software update
The PDT can also be installed as an update.
For HTML/CSS etc, the WTP can be installed in a similar fashion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With