开发者

Simplifying fully qualified names in Eclipse

开发者 https://www.devze.com 2022-12-27 13:03 出处:网络
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 co

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号