Raffael Heinzer Guest
|
Posted: Mon Apr 26, 2004 1:11 pm Post subject: Format Package Corrupts all Files |
|
|
I liked the code-formatting feature a lot in JBuilderX Ent Trial!
Though when I actually want to employ it while cleaning up a project,
the very same feature corrupts all my files... ;(
When I right-click in the project-pane on one of my java packages, I
click on "Format Package" in the context menu. In the following dialog
I get fairly confused by the option "Save changes to disk", because I
don't know what happens if it is left unchecked. Anyway, I don't think
it matters to this problem.
So i check all the three checkboxes ("optimize imports", "save to
disk", "include subdirs") and give it a go.
The result is that all of the classes in that package are being
formatted, but the project won't compile anymore, because 70% of the
classes are now missing the last closing curly brace of the class. ;(
I hope that this is not how this feature was originally specified and
am therefore looking for a workaround.
My configuration: RedHat 9, KDE, JBX 10.0.176.0, self-built formatting
definition (built using JB9).
Thanks in advance,
: raffael heinzer
|
|