Home > Back-end >  The IDEA of setting up automatic import packages
The IDEA of setting up automatic import packages

Time:09-23

When back to the dormitory with the IDEA of class the day before yesterday, forgot what I ordered, I don't think can automatically import packages, could you please tell me where should be set?

CodePudding user response:

Open your idea Settings panel, select the Editor - & gt; General - & gt; Auto Import, on the right to check the Add unambiguous Import on the fly and Optimize imports on the fly (for the current project) these two options,

CodePudding user response:

Click on the file - "Settings," Editor - "General -" AutoImport
Then on the right side checked
The Add unambiguous import on the fly and Optimize imports on the fly (for the current project

Can go to the automatic import packages, if is the same name also need to import, press Alt + Entry can

CodePudding user response:

The first way: the top left corner File - & gt; Setting - & gt; Maven - & gt; Importing


The second way: directly to your project sites the refresh button
  • Related