@Override annotation when generating code (Ctrl-O)

Does anyone know how can I instruct Intellij to add an @Override annotation when using Ctrl-O (Override methods) for generating code?

Thanks in advance,

Nils

3 comments

Hello Nils,

NZ> Does anyone know how can I instruct Intellij to add an @Override
NZ> annotation when using Ctrl-O (Override methods) for generating code?

Check the "Insert @Override" checkbox in the bottom of the dialog which is
shown when you press Ctrl-O.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Darn! How blind one can be :(

Thank you.

0

:-D

Sorry, that made me laugh 'cos I do stuff like that ALL the time.

0

Please sign in to leave a comment.