dportabella
asked on
Eclipse, format multiple files
According to this website, Eclipse can format multiple files at once:
http://mirror.calvin.edu/eclipse/downloads/drops/R-3.0-200406251208/eclipse-news-part4-R3.html
>Format multiple files
>The Format command is also enabled on Java projects, source folders, and packages.
>When invoked, all contained source files will be formatted according to the currently configured formatter settings.
However, when I select my Java project, Source -> Format,
nothing happens.
(If I open a Java file from this this file, and select Source -> Format, it works)
What can be the problem?
Many thanks,
DAvid
http://mirror.calvin.edu/eclipse/downloads/drops/R-3.0-200406251208/eclipse-news-part4-R3.html
>Format multiple files
>The Format command is also enabled on Java projects, source folders, and packages.
>When invoked, all contained source files will be formatted according to the currently configured formatter settings.
However, when I select my Java project, Source -> Format,
nothing happens.
(If I open a Java file from this this file, and select Source -> Format, it works)
What can be the problem?
Many thanks,
DAvid
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try changing a file so the formatting is "broken" and reformatting everything. If it has changed, everything worked fine.
PS reposted because I saw you're answer was not fully answered in the eclipse.tools.jdt newsgroup (looking in another forum to see how the question fares - me pats myself on the back :).