Auto import in IntelliJ IDEA

Auto import in IntelliJ IDEA


Go to  File| Settings | Editor | General | Auto Import
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.
Idea_Auto_Import
Hope this helps ðŸ™‚

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days