IDEA -内联函数,提炼函数快捷键
2021-04-21 本文已影响0人
东南枝下
提炼函数:
快捷键
Mac: alt+command+M
Windows/Linux: Ctrl+Alt+M
鼠标: Refactor | Extract | Method
内联函数:
快捷键
Mac: alt+command+M
Windows/Linux: Ctrl+Alt+M
鼠标: Refactor | Inline
参考:https://www.phodal.com/blog/intellij-idea-refactor-extract-method/
https://www.phodal.com/blog/intellij-idea-refactor-inline-method/