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 impor开发者_如何学JAVAt where possible? It would be even better if it could be performed as a Save Action.
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.
Here's a plugin offering this functionality called Clean Qualified Types Plugin (CQTP): http://blog.mi-ernst.de/projekte/
精彩评论