简体   繁体   English

以编程方式实现方法存根时,IntelliJ为什么默认情况下会覆盖每个方法?

[英]Why does IntelliJ override each method by default when programatically implementing method stubs?

Just curious if anyone knows the reason. 只是好奇是否有人知道原因。 I'm new to Scala so I figure it's something obvious to a seasoned Scalaroo, and I oughtn't bug JetBrains about it. 我是Scala的新手,所以我认为这对于经验丰富的Scalaroo来说是显而易见的,并且我不应该为此而烦扰JetBrains。

You can switch this behaviour off. 您可以关闭此行为。 Just uncheck the "Add override modifier" field at the bottom of the "Select Members to Implement" dialog. 只需取消选中“选择要实施的成员”对话框底部的“添加替代修饰符”字段即可。 IntelliJ IDEA will remember this setting. IntelliJ IDEA将记住该设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM