【发布时间】:2021-09-06 08:34:17
【问题描述】:
public MyClass aVeryLongMethod(
String args1, String args2, String args3, String args4, String args2)
throws Exception
{
myMethod();
我有一个 Eclipse 风格的 Java 格式化程序(在 VSCode 上)。下面的缩进设置是什么?
- 方法名
aVeryLongMethod(后的换行符 - 方法声明中挂线的双缩进(args1 前 8 个空格)
【问题讨论】:
-
这不是“Eclipse 风格的 java 格式化程序”,这不是 is Eclipse 和 Eclipse 格式化程序。这就是为什么documentation tells to use Eclipse to edit the formatter settings.
标签: java eclipse visual-studio-code eclipse-formatter