Auto import in IntelliJ IDEA
Go to
Select the Add unambiguous imports on the fly checkbox, and apply the changes.
If you paste blocks of code that contain references to classes or static methods and fields that are not yet imported, the IDE asks you how to process these references. If you want IntelliJ IDEA to automatically add missing imports, select All from the Insert imports on paste list as well.
Hope this helps
No comments:
Post a Comment