intellij idea 格式化代码:格式化import列表Ctrl+Alt+O,格式化代码Ctrl+Alt+L。
也可安装插件Save Action的Plugins,重启设置勾选保存时格式化。
vscode是:Shift + All + F
sublime里新换行的快捷键是:Ctrl+Enter ,不管是否是结尾。

标签: idea

添加新评论