使用Ctrl + J

Live templates let you insert frequently-used or custom code constructs into your source code file quickly, efficiently, and accurately.

使用实时模板, 可以快速插入代码, 比如
IntelliJ IDEA使用技巧集合

相关文章: