Make Ctrl+F11 launch Android project even when on XML file

Ctrl+F11 on Eclipse is a life saver. Unfortunately, it only works when the currently selected file tab is of a .java file. It doesn't work when the currently selected file tab is of an .xml file.

I searched this great SO resource and found something very similar to what I am looking for but unfortunately the solution offered simply doesn't work for XML in an Android project.

Is there a way to make Ctrl+F11 launch Android project even when on XML file?

This is my current preferences dialog windows:

enter image description here

Update: This mysteriously started working. I have no idea how this happened (I didn't change anything in the Eclipse, except for existing Eclipse and restarting it).

36
задан Community 23 May 2017 в 12:15
поделиться