Alt-enter over the would-be imported term to add an import, ctrl-alt-O to autoformat / autoremove (aka optimise) redundant ones.
You can then turn on folding to not see those imports much via Prefs -> Editor -> General -> Code Folding