KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In Eclipse it is possible to configure certain "favorite" classes which will be looked up when code completetion is invoked to see if a static import can be added for a method (this is under Preferences > Java > Editor > Content Assist > Favorites ). For example, I can begin to type assertT , and Eclipse will ask if I want to add a static import of org.junit.Assert.assertTrue; . Is it possible to do the same thing in IntelliJ? The method detailed in this question will add a * import for the type ( static import org.junit.Assert.* ), but I do not want to add star-imports. I'd prefer to import just the methods I am using.
Tags (comma-separated)
Save Edits
Cancel