代码块代码格式在代码框中单击鼠标右键,然后按Format use Astyle自动设置代码格式,但缺省样式为大括号中的另一行,这是我不熟悉的。 实际上可以改为1.http://www.Sina.com/Java
2. Setting-Editor-Source Formatter-style-Bracket style复选标记
这样格式化的代码很漂亮
a添加样式快捷键:
Setting-Editor-Source Formatter-Formatting-Insert space padding around operators