Is there a way to make 'Run as' (Ctrl + F11) run the active file, but with the most recently used launcher (such as Java Application, JUnit).
I have had this problem both with JUnit and Pitclipse, that whenever I press Ctrl + F11 to run, or press the 'Run as' button, it tries to run it as a JUnit or Pitclipse test no matter what I ran it as last time. I wish that if I run a file as a Java Application, the next file I run will by default also be ran as that.
It gets extremely annoying having to choose what to run as every time, or to change the keyboard shortcuts. I have checked all Launcher options, nothing seems to work.