開發與維運 IntelliJ IDEA Java 中如何快速插入 try / catch 2020-06-14 在 IntelliJ IDEA 中是有快捷鍵的。 On the Code menu, click Surround With Ctrl+Alt+T. 在 Java 的語句中,可以支持下面的一些快捷插入。 ifif/elsewhiledo/whilefortry/catchtry/finallytry/catch/finallysynchronizedRunnable{} https://www.ossez.com/t/intellij-idea-java-try-catch/157