Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Quick way to add all @Overrides in a file

Hi,

Sorry to those that know this already.

Committers might have noticed that now that we use Java 6 for CDT,
methods that implement an interface method now require an @Override
annotation.  So there are a bunch of new warnings that those annotations
are missing.

As you make changes to files, you may want to add those annotations.
A quick way to do this is to use the quick fix (click on warning icon and 
choose the fix that adds the annotation) while pressing the Ctrl key at the
same time.  Thanks the the Ctrl key being pressed, JDT will fix _all_ similar 
warnings in that file.  Super quick fix :)

Hope it helps

Marc
  

Back to the top