How to stop Eclipse from trying to run XML files? How to stop Eclipse from trying to run XML files? xml xml

How to stop Eclipse from trying to run XML files?


You can tell Eclipse to launch your latest launch configuration, instead of attempting to create a launch configuration for the current document/selection. Under Preferences -> Run/Debug -> Launching, you can select "Always launch the previously launched application".

EDIT: You probably have a plugin which defines a launch shortcut which triggers on XML-files. This sounds like a pretty dumb thing to do.


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


My solution is uninstall XSL plugin.