code formatting: changing the use of fully qualified names into imports
Hi
does anyone know of a tool that can be used to process a source tree
written always using fully qualified class names to a style where single
line imports are used instead (leaving the FQN when there are simple
name clashes) ?
I've found that netbeans has such a tool, the import manager tool,
but it can only be invoked on one source at a time. I need something
usable in 'batch' mode.
TIA,
Edo
Please sign in to leave a comment.
An inspection for unnecessary fully qualified names (with an auto-fix that would do what you suggest) is on the roadmap for the InspectionGadgets plugin. It'll probably ship before December.