Fully Qualified Class Names

In the 'imports' section of the 'code style' options, there is a checkbox for 'use fully qualified class names'. I would assume that deselecting this check box and reformatting the code would remove any fully qualified class names (replacing them with imports). This doesn't seem to be the case. Is there a way to do this in Idea?

1 comment
Comment actions Permalink

You can use the ReformatPlugin-0.6 ( http://www.intellij.org/twiki/bin/view/Main/ReformatPlugin ). Set the shortenFq option (see the instructions at the plugin's page).

See also http://www.intellij.net/tracker/idea/viewSCR?publicId=9553


Timur

0

Please sign in to leave a comment.