Hi all,
> We have the relevant people with experience of working on JDT code right here in
> the list. Let's use that opportunity for learning based on specific
> observations, rather than general statements that could also be found in a text
> book.
I've not done that much in JDT. But with my limited experience and knowledge, I would not consider doing any sort of style changes in JDT code (code style is subjective anyway). For clean-ups, I would at most consider indentations, as in some cases the save actions "fight" with changes. Doing an automatic tool change in 10s of files (if not 100s) is absolutely out of the question for me. Especially having witnessed enough issues that have slipped through the tests, due to at first glance harmless changes.
My reasoning: Very often a piece of code in JDT has been untouched for years, in some cases over 10 years. Even in a code base that I'm deeply familiar with, and maintain on a daily basis, I would make minimal (bug-fix only) changes to such code.
I can't make a comment on attracting other contributors in JDT. I would image a developer contributes to JDT out of necessity; something doesn't work or a feature is needed.
For the git history point that was brought up, two items have been very frustrating for me:
1. The code has essentially no git history, as it has been untouched since the first addition to the git repository. Obviously not much that can be improved here.
2. The top commits are indentation / style change / a revert thereof. This breaks the history annotations and often I have to resort to gitk to quickly find the origin of a line.
Also please reconsider having a bug for every change (not just in JDT). Its a bit more work now, but saves a lot of time later down the line. Its IMO the best practice I've seen in Eclipse development.
Best regards,
Simeon