idea 小技巧

1. 设置代码片段的快捷键

  • File 打开 Settings (Ctrl+alt+s),输入 live 搜索,选择 live template

  • 选择需要添加模板的文件类型,点击右边的 + 号
    每天一个 idea 小技巧

  • 创建模板组 --> 模板 --> 填写模板快捷键、描述、代码块 、代码作用区域

  • 在代码中输出相应的快捷键即可
    每天一个 idea 小技巧

相关文章:

  • 2022-02-08
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
  • 2021-05-12
  • 2021-11-11
  • 2021-08-17
  • 2021-07-07
猜你喜欢
  • 2021-05-16
  • 2021-12-16
  • 2021-11-29
  • 2021-05-31
  • 2021-05-05
  • 2021-12-26
  • 2021-08-06
相关资源
相似解决方案