You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I found the only way to use auto static import is to add the class name in Window » Preferences » Java » Editor » Content Assist » Favorites .
But could we have more general ways, say I have a lot of classes need to add into this list, and they vary with projects.
Just like Netbeans did auto imports all static methods and fields avaliable.
Or even wildcards for package could make things easier.
static imports make code friendly to copy-paste refactory.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently I found the only way to use auto static import is to add the class name in
Window » Preferences » Java » Editor » Content Assist » Favorites
.But could we have more general ways, say I have a lot of classes need to add into this list, and they vary with projects.
Just like Netbeans did auto imports all static methods and fields avaliable.
Or even wildcards for package could make things easier.
static imports make code friendly to copy-paste refactory.
Beta Was this translation helpful? Give feedback.
All reactions