How to stop intellij from deleting an import, for example, "import javax.servlet.http. *;"?

I don't know what I did, but intellij literally removes the import when I use "import lib. *".

I'm just trying to write a simple servlet class, but I import everything and then optimize the import.

How to disable this?

+5
source share

All Articles