Simplifying fully qualified names in Eclipse
问题 Does someone know a plugin for Eclipse that replaces fully qualified Java class names with the simple one and the corresponding import where possible? It would be even better if it could be performed as a Save Action. 回答1: No. But you can use Add Import command ( Ctrl + Shift + M ) on each fully qualified identifier to convert it to an import + a short name. 回答2: Here's a plugin offering this functionality called Clean Qualified Types Plugin (CQTP): http://blog.mi-ernst.de/projekte/ 来源: https