Community
Participate
Working Groups
The Launching preference page should have an option to cleanup generated launch configurations. With 'generated' I mean those launch configurations that are created by commands that directly launch the code like 'Run As > JUnit Test' (Alt+Shift+X T) and don't need manual adjustments to the launch configuration. During a work day, dozens of these launch configurations get created. When opening the launch configuration dialog all these uninteresting items block the view on the few interesting launch configurations that were manually created. In order to cleanup generated launch configurations, I see two questions arise: 1. how to identify generated launch configurations A possible strategy could be to mark launch configurations with a 'generated' attribute. Another option might be to treat all launch configurations that are created outside of the LaunchConfigurationsDialog as 'generated'. 2. how and when to treat generated launch configurations If the launch configuration wasn't modified since it was created it could be deleted after the (first and only) launch terminated.
Thanks Rüdiger, for finding and analyzing the scenarios. Will you like to work on it ?
(In reply to Sarika Sinha from comment #1) > Thanks Rüdiger, for finding and analyzing the scenarios. Will you like to > work on it ? I already have been working on it. The result can be installed and is described here [1] and the code is here [2]. If the approach turns out feasible, would you like to integrate it? [1] https://github.com/rherrmann/eclipse-extras#clean-up-generated-lanch-configurations [2] https://github.com/rherrmann/eclipse-extras/tree/master/com.codeaffine.extras.launch/src/com/codeaffine/extras/launch/internal/cleanup