使用IDEA重构代码

使用IDEA提供的快捷操作,高效快速重构代码。

常用重构快捷菜单

  1. Shift+F6,重构 - 重命名
  2. Ctrl+Alt+m,提取方法
  3. F6,移动方法

转载于:https://www.cnblogs.com/stronger-brother/p/11075779.html

猜你喜欢

转载自blog.csdn.net/weixin_34269583/article/details/93892698