0

【笔记】IDEA自动封装方法

 1 year ago
source link: https://feiju12138.github.io/2022/11/08/IDEA%E8%87%AA%E5%8A%A8%E5%B0%81%E8%A3%85%E6%96%B9%E6%B3%95/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

【笔记】IDEA自动封装方法

2022-11-08

2

IDEA将选中的代码自动封装为方法

自动封装方法

  • 选取需要封装为方法的所有代码->ctrlcommand)+altoption)+M

快读跳转到方法位置

  • 选中方法名->ctrlcommand)+B
  • 按住ctrlcommand)点击方法名

哔哩哔哩——黑马程序员


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK