How do I stop wildcard Java package imports in IntelliJ
IntelliJ version 2020.2.3 (October built)
Preferences > Editor > CodeStyle > Java in the "General" tab check "Use Single Class import" check "Use fully qualified class names"
Open up preferences and search for "import". This will narrow down the list you need to look through. The screen shot shows the options for when to use single imports vs * (you can see I don't like star imports).
under File
menu
select Settings
(ctrl+alt+s)
select Code Style
select Java
select Imports
tab
under General
the check box Use single class import
will determine whether packages or classes will be imported.
the Use fully qualified class names
check box will not use imports rather it will insert full class names directly into the code.