This post details the instructions for adding Web Page Editor to your installation of Eclipse (if it wasn't installed with your version initially). It is really simple, but I've detailed it out anyway.
I'm using Eclipse Juno (SDK Version 4.2.0). It's probably a similar process in other versions.
1. Go to Help --> Install New Software...
2. Select the Juno repository (http://download.eclipse.org/releases/juno/) from the 'Work with:' menu:
8. Click Yes when ready:
Now that you have finished installing this, and restarted, you might notice that none of the text in your existing html files has changed colour in the editor as you might expect. I wasn't sure how to adjust this, so thanks to balla85 for figuring this out for me. All you need to do is go to the Window --> Preferences menu as shown:
Then for both *.htm and *.html, click on the 'HTML Editor' in the window below and click the 'Default' and 'OK' to apply. The result should be similar to below:
Anyway that was pretty easy wasn't it? Now get working!
I'm using Eclipse Juno (SDK Version 4.2.0). It's probably a similar process in other versions.
1. Go to Help --> Install New Software...
3. In the search box, enter 'web' to filter the results, and select 'Web Page Editor':
4. Click Next:
5. Accept the terms and click Finish:
6. Wait for the install to run:
7. You might see this - just click OK:
Now that you have finished installing this, and restarted, you might notice that none of the text in your existing html files has changed colour in the editor as you might expect. I wasn't sure how to adjust this, so thanks to balla85 for figuring this out for me. All you need to do is go to the Window --> Preferences menu as shown:
Then for both *.htm and *.html, click on the 'HTML Editor' in the window below and click the 'Default' and 'OK' to apply. The result should be similar to below:
Anyway that was pretty easy wasn't it? Now get working!
This was really helpful, thanks!
ReplyDelete"Now that you have finished installing this, and restarted, you might notice that none of the text in your existing html files has changed colour in the editor as you might expect."
ReplyDeleteSimply go to Window > Preferences > General > Editors > File associations.
Set "HTML Editor" as default associated editor for *.htm and *.html.
At confirm it doesn't work automatically, but you just need to right-click on any html page of your project, Open With > HTML Editor. At this point at double click on any other html file, it will be opened with the HTML editor. (Worked for me, Eclipse Juno)
Thank you for that! I have updated the blog to show how it's done according to your instructions. :)
DeleteThank you
DeleteThank you for taking the time to post this.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeletekeep up the good works..
ReplyDeletehoping to see more useful posts by you
thanks
man... that file associations thing had me baffled. Thanks for posting this guide or I don't think I would ever have figured it out.
ReplyDeleteThank you!
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThanks you ! The screenshots helped a lot.
ReplyDeleteThank you for the nice screenshot
ReplyDeleteThanks for this.
ReplyDeleteThank you very much!
ReplyDeleteGracias. Funciona perfecto !!!
ReplyDeleteThis was really helpful, thanks!
ReplyDeleteThank you! :)
ReplyDeleteyou are too good
ReplyDeleteThanks a lot :)
ReplyDeleteIt was helpful. Thanks.
ReplyDeleteThis was really helpful. Thanks a lot for taking out the time and posting this !! I appreciate it.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteNice work.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeletecheers
ReplyDeleteThanks for the wonderful information .text to HTML converter
ReplyDeleteKeep sharing
This comment has been removed by a blog administrator.
ReplyDeleteIn 2018+ checkout the CodeMix plugin for Eclipse. It provides the most powerful HTML editor for Eclipse as well great tools for JS, CSS, TS, Angular/Ionic, & React. CodeMix does it by providing all the smart editing and debug features of Visual Studio Code directly within Eclipse. https://www.genuitec.com/sox/tech/html5-with-codemix/
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDelete