Neerav Shah
Neerav Shah

Reputation: 743

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

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.

Upvotes: 0

Views: 1189

Answers (3)

Sayed Abolfazl Fatemi
Sayed Abolfazl Fatemi

Reputation: 3911

I have this problem and solve it with this solution:

  1. Download 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 bottom 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 restarting Eclipse you can import or create new Android project and edit web files also.

Upvotes: 1

Rajesh
Rajesh

Reputation: 15774

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.

Upvotes: 0

JunM
JunM

Reputation: 7160

In my case, I use Java Editor.

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

enter image description here

Upvotes: 1

Related Questions