At any rate, I decided to try the Eclipse IDE to see what features are currently available. In the past, when I used Eclipse to develop Android (highly structured Java) apps, I found it to be slow and clunky. (To be expected since it is written in Java.) This will give me a chance to see if it has improved.
At the time of writing this, the current Eclipse version is Oxygen. The comments on this page refer to that version.
The bottom line is simple - don't waste your time with this.
Installation
Eclipse IDE for JavaScript and Web Developers |
The installation failed - nice red error bar - something about not being able to rename the cache file.
I restarted the install with - run as administrator - that worked ! (Windows 10 is a real pain - If an install program creates a file, it should be able to rename it without having to run as administrator.)
Once the installation is complete, be sure to go to the downloads directory and delete the 46.4 MB install file - no need to clutter your system with worthless junk! (On my system, I deleted this after the install completed, but before the installer closed. Based on the available options, it is possible that the installer might have automatically deleted this file - not sure.)
BTW, this installed 2 (two) copies of Eclipse on my system
First attempt
When I navigated to
Run / Run Configurations... |
That dialog is also available by
Run As / Run Configurations... |
Funny that the Eclipse web site does not say anything about node.js being required.
Basic html editing
There are two text-only features that will help
Plugins
The Eclipse Web Page Editor is supposed to be included with the Web Tools Platform (WTP) - however, it does not appear to be a part of my system. Specifically, that page clearly states that the Web Tools Platform (WTP) includes JavaServer Faces Tools (JSF).
Web Page Editor
Many forums, blogs, and questions refer to it - but none say that it is no longer available. It is just that the option is never where that help says it should be.
The ONLY reason I tried to get Eclipse running was to use that feature, As a result, I can safely say that Eclipse has limited to no value when designing web pages!
References
Does the WTP include a visual JSP editor? Yes! Check the Open With... context menu on your web pages for the Web Page Editor. |
(The original forum post was on 02-28-18. As of 03-07-18, over 2,200 people had viewed my request for help - and there were still no replies. Actually, very few of the requests for help have replies - yet another indication that Eclipse should not be used. At any rate, I posted a link to this page 06-03-18 so everyone can know the answer.)
Shotgunning
Eclipse Web Developer Tools 3.9.1a
Includes the HTML, CSS, and JSON Editors, and JavaScript Development Tools from the Eclipse Web Tools Platform project, aimed at supporting client-side web development and node.js applications. Also installs the XML, XML Schema, and DTD Editors from the Eclipse Web Tools Platform project. If you need to edit HTML, CSS, and JavaScript files, whether you're developing web applications or not, whatever the back-end, this one's for you. |
Eclipse Java EE Developer Tools 3.9.1a
Enables Enterprise Java Bean, Java Enterprise Application, Fragments, and Connector, Java Web Application, JavaServer Faces (JSF), Java Server Pages (JSP), Java Servlet, Java Web Services, and Tag Library development and debugging, plus Java Enterprise server and Java Servlet Container launching and debugging. Includes the JSP, HTML, CSS, and JSON Editors, JavaScript Developer Tools, the XML, XML Schema, and DTD Editors from the Eclipse Web Tools Platform project. If you're developing web applications with a Java-based back-end, this one's for you. |
Finally, the Web Page Editor is available - Unfortunately, it is not usable until the following windows are manually opened (these should be automatic - by default)
Window / Show View / Other... / General / Palette Window / Show View / Other... / General / Properties |
The only (obvious) remaining problem is that only html 4 objects are displayed - and all of my applications use html 5 objects (mainly the canvas (for graphs) and number input field).
You know, I am developing in javascript and html. I don't want java (and I really don't like java) so therefore it makes perfect sense (but not to me) that I would have to install the java tools to work with javascript.
The key to figuring this out was on one of the pages I found when searching the web for Web Page Editor. WTP Tutorials - JavaServer Faces Tools Tutorial indicates that the JavaServer Faces library might contain the the desired editor.
The JSF Tools Project-contributed Web Page Editor (WPE) ..... |
Please note that both the Web Tools Platform (WTP) and Eclipse Java EE Developer Tools 3.9.1a claim to include JavaServer Faces, but that I had to load the second library to actually get that functionality!
Disappointments
Keyboard shortcuts
Ctrl-space - show templates
In the html editor, Ctrl-shift-space shows the available properties.
There are probably more, but I gave up and stopped trying before finding them.
Bottom line
I have previously developed Android apps with Eclipse. While that is not something I would wish on anyone, the WYSIWYG UI builder for Java components was much better than the editor provided for simple html pages. (Much!!) In fact, that is the main reason I thought it would be worth trying to get the Web Page Editor working.
After 3 days this is a significant disappointment and I am going back to using notepad and web searches to build highly interactive web pages. To be fair, I did not spend much time evaluating the javascript editor and it appears to be pretty good. (It provides syntax highlighting and templates) However, considering all the extra baggage that comes with Eclipse (special directory names, lots of extra [unused] directories and files), it is my opinion that Eclipse is simply not worth the effort.
To be clear, for server side applications and/or Android applications I would probably use Eclipse - but not for client side applications.
In general - The best editor is the one you know!
Author: Robert Clemenzi