在eclipse中快速生成方法的doc comment快捷键是Alt+Shift+J,

而在idea中没有对应的快捷键,但是能实现相似的功能。

1、在方法上面输入/** 然后回车就可以生成注释了。

2、依次打开Settings -> key-map -> Other -> Fix doc comment -> 右键 Add Keyboard shortcut 按下 alt+shift+j然后应用即可

怎么样是不是很方便。

码字不易,尊重原创,转载请注明:http://www.cnblogs.com/adeng/p/6993168.html

 

相关文章:

  • 2021-06-16
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2021-10-29
  • 2021-09-29
  • 2022-01-17
猜你喜欢
  • 2021-05-09
  • 2021-07-25
  • 2022-12-23
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
相关资源
相似解决方案