-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
convert to static import incorrectly removes import #1203
Comments
Can you provide a sample project and steps to reproduce the issue? |
Use https://github.com/yauhen-l/lsp-java-static-import-issue Edit: Like I mentioned in the PR description the steps are present in the original but report. |
Thanks, the problem can also be reproduced in upstream Eclipse JDT, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=542653 |
The proposed fix in https://git.eclipse.org/r/#/c/136212/3/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java, once finalized, would have to be ported back to jdt.ls. |
The bug, and PR from 2019 were merged about 2 weeks ago. We should copy the changes over and confirm it resolves the issue. |
- Fixes eclipse-jdtls#1203 - Fixed upstream at https://eclip.se/542653 Signed-off-by: Roland Grunberg <[email protected]>
- Fixes eclipse-jdtls#1203 - Fixed upstream at https://eclip.se/542653 - Add testcase from upstream Signed-off-by: Roland Grunberg <[email protected]>
- Fixes eclipse-jdtls#1203 - Fixed upstream at https://eclip.se/542653 - Add testcase from upstream Signed-off-by: Roland Grunberg <[email protected]>
- Fixes #1203 - Fixed upstream at https://eclip.se/542653 - Add testcase from upstream Signed-off-by: Roland Grunberg <[email protected]>
See emacs-lsp/lsp-java#158 for steps to reproduce and sample project.
The text was updated successfully, but these errors were encountered: