@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

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

Darn! How blind one can be :(

Thank you.

0
Avatar
Permanently deleted user

:-D

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

0

请先登录再写评论。