好像每个人的快捷键可能不同:我的是  Alt+Shift+Z

网上查的是  Ctrl+Alt+T

如果都不是可以点选工具栏生成try/catch(并可查看到自己的快捷键是什么):Code->Surround with...->try/catch

idea 自动生成try/catch代码块的快捷键

 

相关文章:

  • 2021-06-14
  • 2021-10-02
  • 2021-08-27
  • 2021-08-03
  • 2021-10-28
  • 2021-05-18
  • 2021-12-28
  • 2021-09-03
猜你喜欢
  • 2022-12-23
  • 2021-05-14
  • 2022-12-23
  • 2021-05-09
  • 2021-04-01
  • 2022-12-23
  • 2021-12-04
相关资源
相似解决方案