Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I often have many run configurations that gets in this history which I don't want, like unit tests or when I change project.

I don't want to remove the launch configuration, just remove it from the history list display when I click the little arrow next to the run or debug button.

How to remove launch configuration from Run/Debug drop down containing launch history in Eclipse?

share|improve this question
up vote 8 down vote accepted

While the drop down is displayed, Ctrl+Shift+click on the run configuration history you want to remove. A dialog will open to confirm the deletion.

You can disable the confirmation dialog in Eclipse's preferences: Window > Preferences > Run/Debug > Launching: uncheck "Prompt for confirmation when removing a configuration from the launch history".

share|improve this answer
1  
Also consider adding those that you really WANT to have in that list as favorites. In the common tab in the launch configuration, check the boxes for the Debug and/or Run menu. They will then always be on top and you can stop worrying about getting all the other ones there as well as they will always be below these. – Mattias Isegran Bergander Dec 19 '12 at 16:09
    
@Matthias - This is useful. However, all of our launches already had these set, so I had to manually uncheck all the ones I didn't want. Now they show up as modified compared to source control. Be nice if there was a way to reorder them. – Cincinnati Joe Feb 13 '13 at 14:37
    
Where did you come to know of this shortcut? :) – mtk Jan 5 '15 at 12:57
    
@mtk I don't really remember :) Probably somewhere in the documentation or on a blog. – qwertzguy Jan 5 '15 at 16:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .