This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Consider this code sample: from AbcDefGhi import Ghi, Ghijkl, Xyz Ghijkl() Xyz() Ghi is not used. If you click on the quick fix "Remove [Ghi] from import" or "Remove all unused imports", the code gets turned into: from AbcDef import Ghi, Ghijkl, Xyz Ghijkl() Xyz() Notice that "AbcDefGhi" has been damaged, it has turned into "AbcDef". "Ghi" has been removed both from the import list and the module name. Also note Ghijkl is not damaged.
Not sure it is still relevant with the current version. Closing this as old bug. If this is still a thing, please reopen and accept my apologies.
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.