How to open html file in editor using ADT Bundle f

2019-08-26 09:57发布

问题:

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.