Bug 548265 - Allow to run Source - Cleanup on multiple projects from Project Explorer
Summary: Allow to run Source - Cleanup on multiple projects from Project Explorer
Status: RESOLVED MOVED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.12   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, usability
Depends on:
Blocks: 427897
  Show dependency tree
 
Reported: 2019-06-14 03:58 EDT by Lars Vogel CLA
Modified: 2022-05-05 06:31 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2019-06-14 03:58:36 EDT
Currently the Source -> Cleanup menu is only available if one project  is selected.

Would be nice to have the option to run cleans on multiple projects.
Comment 1 Lars Vogel CLA 2019-06-14 04:08:52 EDT Comment hidden (obsolete)
Comment 2 Lars Vogel CLA 2019-10-01 08:30:56 EDT
Menu entry Source (and therefore Clean-up) is not visible if I select the project or  multiple projects.
Comment 3 Lars Vogel CLA 2019-10-01 08:33:00 EDT
The ability to run cleanups on multiple projects is a very nice feature in Fabrice Autocleanup Github extension.

Roland and Fabrice, could that also enabled for the JDT cleanups? I guess that the related property test would need adjustment.
Comment 4 Andrey Loskutov CLA 2019-10-01 08:36:47 EDT
(In reply to Lars Vogel from comment #2)
> Menu entry Source (and therefore Clean-up) is not visible if I select the
> project or  multiple projects.

Works for me with both 4.12 / master.
Comment 5 Lars Vogel CLA 2019-10-01 08:38:31 EDT
(In reply to Andrey Loskutov from comment #4)
> Works for me with both 4.12 / master.

Try selecting these two:

org.eclipse.search
org.eclipse.search.tests

Content menu is still visible to you?
Comment 6 Andrey Loskutov CLA 2019-10-01 08:55:34 EDT
(In reply to Lars Vogel from comment #5)
> (In reply to Andrey Loskutov from comment #4)
> > Works for me with both 4.12 / master.
> 
> Try selecting these two:
> 
> org.eclipse.search
> org.eclipse.search.tests
> 
> Content menu is still visible to you?

Yes. I use Package Explorer (of course!), and you Project Explorer :-).
Comment 7 Lars Vogel CLA 2019-10-01 09:02:26 EDT
(In reply to Andrey Loskutov from comment #6)
 
> Yes. I use Package Explorer (of course!), and you Project Explorer :-).

Thanks, adjusted the bug title accordingly.
Comment 8 Lars Vogel CLA 2020-02-07 00:50:31 EST
Fabrice, something for you?
Comment 9 Lars Vogel CLA 2020-02-24 10:43:58 EST
(In reply to Lars Vogel from comment #8)
> Fabrice, something for you?

Fabrice, is this something for you?
Comment 10 Fabrice Tiercelin CLA 2020-02-24 13:43:12 EST
It is something for me but I will try to immigrate all the code of AutoRefactor first.
Comment 11 Lars Vogel CLA 2022-05-05 06:31:43 EDT
Moved to Github https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/34