I was trying to add all missing @Override annotations into the java classes of openmrs-core and new I could use the eclipse save action for it but then I’d have to open every file and I’m lazy
So I searched and found the Eclipse Clean Up feature
Here’s what you do:
Go to the preferences, search for cleanup and find this:
then you create a new profile, in my case I called it ‘add override annotations’ and you select just what you want to clean up. The options are just like in the save actions settings dialog.
Now to clean up all the files in the repo you open the Eclipse project explorer and go to the package view, right click and select ‘Source’ → ‘Clean Up’ as shown below
If anyone wants to try this out, there is enough to do on the clean code quest so grab an issue, or create one according to things shown by codacy, create a clean up profile and become a clean code hero
Yes, well the other tip fits well to the coding conventions. this one I’m not sure. I just want to avoid adding duplicate information and multiple pages regarding IDE setup. We already have a few topics that are mentioned on several pages. Is there an IDE wiki page?