How to stop Eclipse from trying to run XML files?

前端 未结 5 669
灰色年华
灰色年华 2020-12-08 09:07

I\'m mostly using Eclipse for Android development these days, and have developed good muscle memory for Ctrl-F11 to run my app. Problem is, if I happen to be editing an XML

5条回答
  •  [愿得一人]
    2020-12-08 09:38

    Thanks to JesperE's answer I solved it by "Always launch the previously launched application".

    Just wanted to add that I didn't have the problem with launching xml until I install "PHP Development Tools".

    My conclusion is that in the future I might consider having two separate installs of Eclipse:

    • One with clean Java and Android programming (possibly other stuff)
    • And one with PHP and possibly other web-related stuff

提交回复
热议问题