You can enable or disable dot-import aliases for a package with an intention action (&shortcut:ShowIntentionActions;).