How to remove old versions of Eclipse plugins?

后端 未结 11 2150
南方客
南方客 2020-12-13 02:06

After update, old Eclipse plugins remain in \"plugins\" folder (there are also leftovers in \"features\" folder).

Is there a way to remove those automatically?

11条回答
  •  萌比男神i
    2020-12-13 02:45

    Instead of sorting, etc. the solutions should be based on the contents of bundles.info.

    Manual solution:

    • create a copy of eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
    • edit
    • search for regular expression: .*plugins/([^,]*),.*, replace with: $1 (e.g. using Notepad++)
    • go to eclipse/plugin/
    • select files and folders listed in this new file (e.g. in Total Commander: Mark > Load Selection From File)
    • invert selection
    • delete/move selected files and folders

提交回复
热议问题