【发布时间】:2011-12-31 04:24:25
【问题描述】:
我喜欢这样格式化我的代码:
void someFunction() {
normalLine();
reallyLongLineThatNeedsToBeWrapped(
OnlyIndentOneSpaceHere = true);
normalLine();
}
但从我对 Eclipse 源格式的试验来看,您似乎无法独立于新块缩进指定换行缩进。
有没有办法在 Eclipse 中实现这一点?
根据答案,我提交了Eclipse enhancement request。
【问题讨论】:
标签: java eclipse formatting