eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

"Project > Clean..." does not selects current project(s) with Git Staging view open.

Open
#791 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
22h 47m
Merged PRs (30d)
28

Description

I have many projects in my workspace. Most of the projects are multi-level aggregated projects imported from Maven.

For as long as I can remember (many years) I have been able to select "Project > Clean..." to clean the current project and rebuild. If "Clean all projects" is checked, then all projects are immediately selected upon opening the dialog. Otherwise, the currently selected project is/are selected.

In other words, if I have `FooBar.java` open in the editor, the `foo-project` is automatically selected. If I select `foo-project` and `bar-project` in the Project Explorer, then "Project > Clean..." will bring up a dialog with `foo-project` and `bar-project` already selected.

However **as of Eclipse 2023-09, no matter what I do, the "Clean" dialog that appears for "Project > Clean..." will _never_ have any projects selected for cleaning**. It doesn't matter what files I have open in the editor, nor what projects I have selected in Project Explorer. Instead, I have to search and manually select the specific projects I wanted. This is more onerous than it sounds, because although I may have a large project selected with many subprojects, the "Clean" dialog ignores project hierarchy and lists all possible projects in a flattened, alphabetized list.

I'm using Windows 10 with Eclipse EE 2023-09 and OpenJDK 17.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.