Code Inspection: Unused import
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports a redundant import
statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import import 'packageName'
instead of the regular one.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.