0
【笔记】IDEA自动封装方法
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.
【笔记】IDEA自动封装方法
2022-11-08
2
IDEA将选中的代码自动封装为方法
自动封装方法
- 选取需要封装为方法的所有代码->
ctrl
(command
)+alt
(option
)+M
快读跳转到方法位置
- 选中方法名->
ctrl
(command
)+B
- 按住
ctrl
(command
)点击方法名
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK