Skip to content

fix: create project and refresh classpath for new targets on re-import#31

Merged
monkey666-cr merged 3 commits into
monkey666-cr:mainfrom
kduy969:duy.bui/fix-new-target-import
Jun 2, 2026
Merged

fix: create project and refresh classpath for new targets on re-import#31
monkey666-cr merged 3 commits into
monkey666-cr:mainfrom
kduy969:duy.bui/fix-new-target-import

Conversation

@kduy969

@kduy969 kduy969 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

When .bazelproject scope changes, newly added targets ( from new scope ) were discovered but never got Eclipse projects created, leaving them without Java features. Now reimport automatically creates projects for new targets.
After re-importing finish, show hint to ask the user to clean and reload.

Add new scope
Screenshot 2026-06-01 at 11 01 11

Java features work after re-importing
Screenshot 2026-06-01 at 11 00 51

@runchen0919 runchen0919 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhirui1994 zhirui1994 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Tested it locally,it looks good to me.

@monkey666-cr monkey666-cr merged commit bcf78dd into monkey666-cr:main Jun 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants