Skip to content

Fix SelectImportsDialog#633

Merged
SougandhS merged 1 commit intoeclipse-jdt:masterfrom
gzsombor:select-imports-dialog
Mar 20, 2025
Merged

Fix SelectImportsDialog#633
SougandhS merged 1 commit intoeclipse-jdt:masterfrom
gzsombor:select-imports-dialog

Conversation

@gzsombor
Copy link
Copy Markdown
Contributor

@gzsombor gzsombor commented Mar 7, 2025

This is instead of saving the user input didn't do anything, because it was used the incorrect 'imports' not the user provided 'filters'

What it does

In the Java snippet editor previously the import dialog didn't work properly, it didn't save the user provided package names, this patch fixes it.

How to test

  1. Open a Java snippet page
  2. Open the package import settings
  3. Add new packages
  4. Click on save
  5. Open the package import settings again - notice that the previously provided packages are there

Author checklist

@SougandhS
Copy link
Copy Markdown
Member

Could you please include some before and after screenshot ?

@gzsombor
Copy link
Copy Markdown
Contributor Author

There is not much changed visibly, previously when you opened the dialog the current imports were not visible, but after the fixes, it become visible again.

@SougandhS
Copy link
Copy Markdown
Member

There is not much changed visibly, previously when you opened the dialog the current imports were not visible, but after the fixes, it become visible again.

im having some difficulties in reproducing the same
Could you please provide dialog screenshot ?

@gzsombor
Copy link
Copy Markdown
Contributor Author

not-working-dialog.webm

@SougandhS
Copy link
Copy Markdown
Member

not-working-dialog.webm

Got it. thanks 👍

@SougandhS
Copy link
Copy Markdown
Member

Could you please update the branch ?

@gzsombor gzsombor force-pushed the select-imports-dialog branch from 032120e to 47819c5 Compare March 19, 2025 09:34
This is instead of saving the user input didn't do anything,
because it was used the incorrect 'imports' not the user provided
'filters'.
@gzsombor gzsombor force-pushed the select-imports-dialog branch from 47819c5 to 2dba467 Compare March 19, 2025 17:08
@gzsombor
Copy link
Copy Markdown
Contributor Author

The branch is up to date and the build is green!

@SougandhS SougandhS merged commit 4da0d59 into eclipse-jdt:master Mar 20, 2025
11 checks passed
@SougandhS
Copy link
Copy Markdown
Member

Thank you for contributing @gzsombor

@gzsombor gzsombor deleted the select-imports-dialog branch March 21, 2025 09:14
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.

2 participants