This is a lightweight editor plug-in with syntax highlighting and folding.
My Eclipse didn't have it, probably because I downloaded the classic release without all the extra Java trinkets.
Firstly, find out which release you're on. It usually displays a name under the word "Eclipse" on the splash screen when loading.
Then go to:
- Open the "Help" menu
- Click "Install new software"
- Select "<your release name> - http://download.eclipse.org/releases/<release name>" from the dropdown
- The URL could be http://download.eclipse.org/releases/galileo or http://download.eclipse.org/releases/indigo, depending on what you've got installed.
- Wait for it to load...
- Go to the bottom of the list and expand "Web, XML, and Java EE Development"
- Select ONLY "Web Page Editor"
- Click "Next"
- Next again.
- Accept agreements and finish
- It may ask for you to accept the certificates when it's finished downloading. Tick the checkbox next to the item in the list and then click Next to install.
- When it's done, it'll ask you to restart Eclipse. Do it.
Once your back in Eclipse, try editing a HTML file.
If it's not highlighted, you'll have to:
- Open the Window menu
- Click "Preferences"
- General > Editors > File Associations
- Select *.html
- Select "HTML Editor" (not web page editor)
- Click "Default"
- Click "OK" to save