您的位置:首页 > 其它

IntelliJ:补全if,do-while,try-catch,return句子的括号

2017-09-21 14:02 399 查看
原文为:

Use Ctrl+Shift+Enter to complete a current statement such as if, do-while, try-catch, return (or a method call) into a syntactically correct construct (e.g. add curly braces).

译文:

使用Ctrl+Shift+Enter来补全当前的语句,例如if语句、do-while语句、try-catch语句、return(或者是一个方法调用),让它们符合正确的语法结构。

诚然,这个快捷键非常好用,它可以实现下面这样的效果:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  intellij