开发者

@Override fix-code shortcut in NetBeans

sorry for a silly question but I got angry after seeking the answer in NetBeans and in the net - is there any key shortcut for fixing @Override ann开发者_开发知识库otation in NetBeans (something like ctrl+shift+i for imports)?

I do appreciate your answers,

cheers.


In netbeans 7.2 try Refactor -> Inspect and Transform...

then select the Single Inspection and the "Add @Override annotation".

Then just follow the wizard.


If you enable it as a hint, you will get a hint indicator and Alt-Enter will give you the option of adding the @Overrides.

To enable the hint, go to Tools > Options > Editor > Hints > JDK 1.5 and Later > Add @Override annotation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜