How can I clean up Eclipse “run configurations”

后端 未结 2 787
-上瘾入骨i
-上瘾入骨i 2021-01-31 05:38

I set my java runtime options in Eclipse\'s Window > Prefs > Java > Installed JREs > Default VM Arguments. Since this setting is sufficient for all my main() entry

相关标签:
2条回答
  • 2021-01-31 05:43

    The answer comes from @Francisco Puga

    Experimental evidence shows that deleting "launches" seems to make run configurations disappear so it would seem that they might be synonymous.

    0 讨论(0)
  • 2021-01-31 06:00

    One simple way would be to organize your projects by Eclipse workspace, which would limit the "run configurations" list only to the project referenced in a given workspace.
    Switching workspaces would reset that list to the ones recorded for the projects of the new workspace.


    Note: the OP's answer regarding launches file location isn't the only location possible.
    The official one is:

    ${WORKSPACE}/.metadata/.plugins/org.eclipse.debug.core/.launches
    

    But you can copy them enywhere else you want (as explained in "How do I save Eclipse launch profiles across workspaces?"), either by manually copying those files or by sharing them:
    See "Which eclipse files belong under Version Control".

    Once you know where they are saved, a simple delete is enough to make them disappear from the launcher menu.

    0 讨论(0)
提交回复
热议问题