How to add content assist for css, html.. in Eclipse? - eclipse

Are there any libraries that we can add to Elipse to support context assist (css, html) like Netbean?
Many thanks,

Depending on which Eclipse package you installed you may already have the CSS and HTML editors. If you don't then you can install them using Help > Install New Software. Choose the software site for your version of Eclipse in the drop down list and look at the Web, XML, Jave EE and OSGi Enterprise Development section. The Eclipse Web Developer Tools section contains the editors you want but the other sections may also be of interest.

You can look at some plug-ins (http://marketplace.eclipse.org) providing support for editing HTML and CSS files.
Search in Editor category.

Related

Why folding worked in manifest file but don't work in other xml file (eclipse)?

I try to enable folding in xml files with eclipse.I checked the Enable Folding in eclipse But don't work .
It works for me with the Eclipse XML Editors and Tools (3.7.1.v201508271605 org.eclipse.wst.xml_ui.feature.feature.group Eclipse Web Tools Platform)
You may need to install the above.
From the Help menu, choose Install New Software
Choose Mars from the drop down
Select Eclipse XML Editors and Tools and complete the install wizard.
Note that the plugin.xml has its own editor (the Plug-in manfiest editor) that handles XML editing. I believe both use some of the same underlying components.

How to add HTML Editor to Eclipse?

I just upgraded to Eclipse Kepler, the non-J2EE version. The HTML Editor is missing. I read elsewhere that I could install the "Web Page Editor", which I did, but the system now generates all kinds of errors when building my project. Apparently it can't find some JSF classes. I have no interest in using JSF.
The Web Page Editor install did include the HTML Editor, but it was so much trouble I had to uninstall. How do I get my old HTML Editor back?
Alternatively, you can just install the "HTML Editor" from the WST package (the same one provided in Java EE Edition) in Eclipse 4.x, just by looking for "HTML Editor" in the marketplace (but, indeed, i haven't been able to found it in the "install new software").
On my side i prefer to work on Eclipse "Java Edition" most of the time (just adding the few additionnal features i really need).
Go to Install New Softwares-> Select your version eclipse repo. eg Mars - http://download.eclipse.org/releases/mars -> Expand Web,XML, JAVA EE option -> Install Eclipse Web Developer Tools
I have used CodeMix for a while and it's a wonderful tool, it can easily install as a plugin and a wide tools will be available like HTML Validation, Emmet, CSS IntelliSense, Snippets, take a look in this site https://www.genuitec.com/sox/tech/html5-with-codemix/
I had a similar issue once, and I tried a HTML editor addon for eclipse, but haven't found one that's any better than the one that comes with the Java EE edition of eclipse.
I suggest you download the Eclipse IDE for Java EE Developers.
You may want to install Eclipse Web Developer Tools
Bet you after edit HTML you will have to edit CSS and JavaScrip too

Eclipse Javascript Editor with Code Completion

Am looking for a plugin that will allow me to have code completion is my phonegap .html file and also highlight the javascript tags. I have installed the JSDT plugins but can't seem to have the code highlighting/autocomplete. It highlights only the HTML but doesn't seem to work for the scripts inside the <script> tag.
You can have a look in eclipse at
Help -> Install Software
Work with... Select your eclipse version (e.g. juno)
In the selection box below scroll to the entry "Web, XML, Java, ... " and expand it.
Select
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Developer Editors and Tools
JavaScript Development Tools
Web Page Editor
and then Next to install them.
Now you should have HTML, JS syntax highlighting and code completion.

How to add editors to Eclipse?

I noticed today that i don't have an HTML editor in my list. How can i add it and others if need be?
Install the Web Tools Platform -- or EE Devlopers version of Eclipse, which includes the Web Tools Platform.
Other types of files are usually automatically loaded as text files. To get specific language capabilities you usually want to install a development library for that language into Eclipse. i.e. CDT for C++, PyDev for Python, etc..
Also you can find how to associate arbitrary file types to specific editors here :Eclipse File Type Association.

Eclipse web.xml editor

I have Helios Service Release 2 installed with WTP tools. I created a simple dynamic web project. When I open web.xml, which opens with default XML editor, it shows only two tabs:Design(Standard XML tab) & Source.
When I worked with Rational Software Architect in past, it opened web.xml with tabs like 'Servlet', 'References' so on to let you easily edit various parts of web.xml in visual point & click manner.
Is this possible with Eclipse?
btw, I tried 'Open with' menu option but couldn't find appropriate editor for web.xml
Thanks
You can install JBoss tools through Eclipse marketplace to have a complete web.xml editor. You don't have to install all the plugins. In my case I just installed the "Context and Dependency Injection Tools"
Eclipse currently does not have this functionality. IBM did not donate this part of the tooling from Rational Software Artifact when it seeded Eclipse Web Tools Project.
Note that there is an effort that is just getting started to implement these editors at Eclipse, but you are not going to be able to use the fruit of that work until Juno release in the Summer of 2012.
In the meantime, you will need to use plain XML editor or seek third-party solutions, such as MyEclipse. Note that MyEclipse is not compatible with Eclipse WTP. It is separate tooling stack for web app development.