How to install eclipse for php and javascript - javascript

I have a web project containing mainly php and javascript files along with some html and css files. Now I would like to use eclipse as my IDE for all of these. But looking at eclipse.org - I'm confused...
There are so many different tools and versions, I really don't know what to do or how to set this up. I found the eclipse PDT for php and there's something called wild web developer which seems to be for js, html and more, but not php.
Is there a package I can download and install that does what I want? Or do I have to configure that myself somehow? If the latter - can anyone point me to tutorial for dummies? It's been 14 years since I used eclipse and it seems I've forgotten everything.

Head over to eclipse packages. You can find the distribution for your language.

It is worth noticing, that when you upgrade from an older Eclipse for PHP develpers edition and are missing Javascript-Editors entirely, that you can manually install the "Wild Web Editor". It is included in the current Eclipse-PHP_Package but didn't install itself when upgrading (at least in my case).

Related

getting jdk and intellicode errors in vs code. how do i fix it?

I am a very early beginner to coding. I downloaded VS Code so that I could, you know, have somewhere to code in Java. However, I keep getting these two errors telling me these two extensions that I already have installed on VS Code are not working here are the error messages. I already searched through the odds and ends of StackOverflow and have tried everything, and nothing has worked. Any help would be appreciated.
I inputted some code into settings.json under a "java.configuration.runtimes" thing but nothing in it worked. I conformed it to my installation directories and current Java version
Do you have a JDK (Java Development Kit) installed?
If you are on Windows, you can check by clicking on the start button, and search through applications and programs for a Java folder.
If you are on MacOS or Linux, you can open up the terminal/command line and type in "java -version" and if it is properly installed, it will display the version.
If you do not find a JDK installed, install one from https://www.oracle.com/ca-en/java/technologies/downloads/
Download and install the Coding Pack for Java.
It would be helpful to follow this documentation to get started.

Eclipse Window Builder error under Java 10

Eclipse is running under 0, but this Java project has a 10 Java compliance level, so WindowBuilder will not be able to load classes from this project. Use a lower level of Java for the project, or run Eclipse using a newer Java version.
That is the error I'm getting when I installed the window builder. I have made sure both Eclipse and the project are running the same versions yet it is still giving me that error.
Edit:
proof
A MORE SIMPLE SOLUTION: This problem was giving me some difficulty and I hated the hassle of rolling back to a previous version of java to fix it.
There were some developers that workshopped an alternative solution that involved using the install new software function and updating the version of WB via this function. Worked beautifully. The solution is as follows
Wim Jongman CLA Friend 2018-06-06 11:31:54 EDT
...I just got a report back from a user that tells me that upgrading to WB 19.2. helped to solve this issue for him:
Check the installing new software link from [1]
Use the update site from [2]
Select to install everything except stuff that requires WDP
[1] http://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-129.htm&cp=0_3_17
[2] http://download.eclipse.org/windowbuilder/WB/integration/4.8/
Solution FOUND
Drop down to Java 9 and make sure to have 3.a Eclipse and you are good!
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase9-3934878.html
There is a link to get Java 9.
Thank you, Everyone, that helped!!
This problem may still occur with WindwowBuilder 1.9.2 and JDK 11 and may be the result of Eclipse itself being launched with an older Java virtual machine.
To solve it, first verify that Project JDK compliance is 11 (Project..Java Compiler..JDK Compliance), and that Java Build Path (Project..Build Path..Libraries) is set to JavaSE-11 (Both settings can also be configured as default for all projects in Window..Preferences..Java..Compiler and Java..InstalledJREs..ExecutionEnvironment).
If that does not solve the problem, then go to
Help..About Eclipse IDE..Installation Details..Configuration
and check the -vm entry to make sure that Eclipse is started with JDK 11.
On Windows the -vm property may be set to something like:
C:\Program Files\Java\jdk-11.0.4\bin\server\jvm.dll
If the configuration's -vm entry points to a lower Java version, then close Eclipse and launch it from the command line by appending ('-vm "path-to-JDK11\bin\server\jvm.dll"). You can also check the eclipse.ini file for the -vm entry (or add the -vm entry to the eclipse.ini file).

Eclipse config for Java Script

I am new to Eclipse - inherited unfinished project after employee who left. I downloaded war file and by trial and error installed missing components till it actually built app. I can edit java files, but when I try to open java script files, I get error:
Could not open visual page editor
no more handles
could not load SWT library
no swt-xulrunner-gtk-4234 in java.library.path
Linux Fedora 17, Eclipse Juno, SWT is reported as installed by yum. ~/.swt/lib/ is empty
It looks like you do not have the proper library to load browser widgets in your Eclipse, that is what swt-xulrunner refers to. This FAQ should help you.
What it is saying is that you need to start Eclipse with the following system property:
-Dorg.eclipse.swt.browser.XULRunnerPath=<path_to_xulrunner>
There should be a xulrunner already included in your Eclipse, but if not, you will need to download a new one from here.
Also, it could be that you are using the Ubuntu pre-packaged Eclipse. I would avoid doing that. This pre-packaged eclipse often has some missing things in it. I'd instead recommend downloading directly from Eclipse.org

Chrome V8 errors

I'm trying to build the Chrome V8 javascript engine so I can embed it into my c++ project. I'm following the tutorial here. I downloaded everything that was needed and managed to get the project solution created but when I compile it only 5 of the 12 solutions get compiled correctly. Can someone shed some light on my problem? There doesn't seem to be much info on the web about it.
Some tricks I learned are this:
use the correct gyp command that will generate correct sln files. maybe target architecture argument was wrong or some other parameter you supply to gyp.
I do not know how to properly "clean" the source tree, so if I wanted new options to gyp I just delete the whole source tree and unpack from original archive. (or use svn).
Make sure you use python and cygwin supplied with v8 sources.
I used pc emulator (qemu) to install Windows XP + Visual studio and v8 sources+tools.
I tried various versions of Visual Studio only VS Express 2010 worked.
On linux everything is simpler. And you do not even need to build it, just use "aptitude install v8-dev"

Using Xcode with Javascript/Coffeescript and Titanium?

I am getting rather annoyed with Titanium Studio so I decided to look for an alternative. I have used many IDEs (such as Aptana, Komodo, Netbeans, TextMate) but they have never seemed to be so streamlined and efficient as Xcode (especially with its Git integration).
So my question is: Is there a way to edit Javascript/Coffeescript files while using the full project interface in Xcode? (most importantly git integration)
(I'm using Xcode 4 with Mac OSX Lion)
Thanks in advance
Fred
I have not done Coffeescript development, but my answer covers how to use Xcode for languages other than C, C++, and Objective-C. Create either an external build system project or an empty project in Xcode. When you create the project, Xcode gives you the option to create a local git repository for the project. If you already have a git repository, you must add the Xcode project file to the repository.
After creating the project, add your files to the project. Xcode 4 has Javascript syntax coloring. If your Javascript files have the file extension .js, Xcode will automatically give you Javascript syntax coloring. I don't know how different Coffeescript is from Javascript, but you can give your Coffeescript files Javascript syntax coloring by choosing Editor > Syntax Coloring > JavaScript.
I'm not sure I understand your question (ie: are you looking for something better than XCode, or just a way to integrate them), but have you looked at IntelliJ IDEA? It has excellent Git integration, one of the best JS editors I've used, and has a plugin for CoffeeScript
If you just want it integrated with XCode, I apologize.

Categories