I'm trying to port a HTML5 app to android and I'm doing it in Eclipse. The "android" (java) part is no problem, Eclipse is great. When I open the HTML part though, Eclipse is not so great. Since it's an android project it doesn't seem to recognize html, css or javascript files. My solution so far is to have Eclipse open for the java parts of the project and then I imported the HTML content that I have in my assets folder into a new HTML5 project in to NetBeans and edit it from there.
This is a bit annoying though as I have to have two IDE´s open at the same time and switch between them.
Is there a setting in, or plugin to, Eclipse that allows for android projects to recognize HTML5 documents and get full support to edit them?
You may need to upgrade your version of eclipse. The newest version of Helios should have it built in. Or depending on your version you may need to add support. (http://www.htmlgoodies.com/html5/tutorials/working-with-html5-in-eclipse-juno.html#fbid=URJEyY5-4N1)
Install New Software -> Web, XML and Java EE development -> Web Page Editor
Take a look here to add support http://lizusefulstuff.blogspot.kr/2012/07/how-to-add-html-editor-for-eclipse.html
Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With