It would be very useful if jalopy eclipse plugin
supports per project configurations, since it is common
to be working on various projects at the same time,
which may have different coding convention
requirements, at least for class headers and the like.
Logged In: YES
user_id=723231
I know currently the documents a little hazy but you can
create different formatting styles from within the
Jalopy->Preferences->Project. Then activate the style that
you would like to use.
Is this what you meant ?
Logged In: YES
user_id=875055
ah, right. My bad. I'd never took the time to actually use
that feature. I tested it now and works well. It is almost
what I meant. Certainly provides the functionality, I would
only argue on lacking a bit of usability. Sorry, I may being
naive here, but would it be too hard to link a jalopy
project/profile to one(or more) elcipse ones, so no need to
manually activate them?
thanks for the quick response
Logged In: YES
user_id=901295
Originator: NO
That's actually not quite the same thing. That feature allows you to define multiple Jalopy configurations (projects), but it does not allow you to associate a particular Jalopy configuration with a particular Eclipse project. This is inconvenient since it means that every time I switch to a different Eclipse project to work on, I have to remember to open the Jalopy Preferences and select the corresponding Jalopy configuration (project). It's gets annoying, especially when I forget to switch to the correct Jalopy configuration and I format my code with the wrong one. It's even more annoying when I don't realize that I've forgotten to choose the right Jalopy configuration and I check in my incorrectly formatted code.
I do want to thank you for the tool and plugin though. It is much better than the built-in Eclipse formatter which still does stupid things, especially when formatting javadocs with HTML tags.