-
Notifications
You must be signed in to change notification settings - Fork 136
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
Organize imports adding default StringTemplate imports #2159
Comments
did you mean Java 22? STR is a preview feature of 22 |
@jukzi It was there in 21 (JEP here) and for me, it happens with Java 21 (In fact, I don't even have the Java 22 support plugin installed). |
note that Stringtemplates will be removed from ecj anyway #2353 |
Yeah when creating this issue, this looked different. I guess this could be closed when string templates are removed from EJC. |
See the above comment. Closing because string templates are removed from the JDK. |
If default String template processors (like
STR
) are used, theOrganize imports
option creates an unnecessary static import.Steps to reproduce
Eclipse IDE for Java Developers
(2024-03)Configure
>Enable Preview Features
Organize Imports
expected behavior
The source file doesn't change
actual behavior
A new line is added before the class:
Full class after
Organize Imports
:System details
I am using
Ubuntu 23.10 x86_64
Configuration
tab of theInstallation Details
The text was updated successfully, but these errors were encountered: