Community
Participate
Working Groups
While verifying bug 95096 I noticed that it is very hard to statically import something using code assist. I wanted to create the following import statement: import static java.lang.Math.abs; So I typed import static java.la<code assist> all I can do is to select java.lang.* which gives me import static java.lang.*; So I have to delete *; and open code assist again and select Math. If we are in a static import we should properly no expand to java.lang.*; we should export to java.lang. instead.
Also, if you type: import static java.lang.Math.<<content assist> ...and select one of the suggestions, the content assist *completely* replaces the import statement with the selected method, rather than importing it properly. If you like, I can open a new bug on this one.
*** This bug has been marked as a duplicate of 97085 ***
I opened a new bug report for comment 1: bug 137954.