How to open html file in editor using ADT Bundle for phonegap Apps

萝らか妹 提交于 2019-12-13 05:33:59

问题


I had download and install ADT Bundle but the issue when i access the phonegap app workspace and try to open the html file it opens and webpage instead of editor can anyone tell how to open the html file in editor...

Thanks in Advance.


回答1:


Salam. I have this problem and solve it with this solution:

  1. Downlaod last version of Kepler - Eclipse IDE for Java Developers
  2. Open Eclipse and in Help => Install New Software...
  3. In "Install" dialog, from "Work with:" select "--All Available Sites--" (for simple explore list, select all checkboxes in the buttom of dialog)
  4. From loaded list select "Eclipse Web Developer Tools"
  5. Press "Next" and finish to install checked item.
  6. May need to Restart eclipse...

now, your eclipse ready to edit web files such as HTML, CSS and JavaScript, but you can't create or manage Android projects!

Install ADT Plugins for android developing by these steps (Download the ADT Plugin):

  1. Open "Install New Software..." dialog from Help menu in eclipse
  2. Click Add button
  3. In "Add Repository" dialog, add "ADT Plugin" for Name and paste this url for "Location":https://dl-ssl.google.com/android/eclipse/
  4. From "Work with:" list select "ADT Plugin"
  5. From loaded list, select all items, press next and follow installation.
  6. After restart eclipse you can import or create new android project and edit web files also.



回答2:


In my case, I use Java Editor.

Right click the html file-> open with -> other -> Java Editor.




回答3:


If you are looking for an HTML editor for Eclipse, take a look at Web Tools Platform project.

The responses to this question have many more options.



来源:https://stackoverflow.com/questions/20605172/how-to-open-html-file-in-editor-using-adt-bundle-for-phonegap-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!