IntelliJ IDEA 自定义模板

1.选择Settings-->Editor-->Live Templates

2、点击+号,选择Live Template

3、在Abbreviation中写入简写的代码,Description代码描述,Template text写入要代替完整的代码。

4、Define选择作用范围

评论

暂无评论