Press Ctrl+Shift+O to add required import statements and to remove those that are present but unnecessary.