Java 将方法调用放在同一行的Eclipse自动格式化规则?
目前我的风格是这样的:Java 将方法调用放在同一行的Eclipse自动格式化规则?,java,eclipse,formatting,Java,Eclipse,Formatting,目前我的风格是这样的: UIDEx reg = sink .connect( urlparts[1], props, ClientInfo.getProperties(props .getProp
UIDEx reg = sink
.connect(
urlparts[1],
props,
ClientInfo.getProperties(props
.getProperty(VJdbcProperties.CLIENTINFO_PROPERTIES)),
new CallingContext());
我真正想要的是:
UIDEx reg = sink.connect(
urlparts[1],
props,
ClientInfo.getProperties(
props.getProperty(
VJdbcProperties.CLIENTINFO_PROPERTIES)),
new CallingContext());
我找不到确切的方法,它在哪里?它已设置为“必要时包裹”。Eclipse究竟是如何认为.connect()需要独立运行的?在
换行>函数调用
部分中,我使用了“换行所有元素,如果不需要,第一个元素除外”。由于某种原因,props.getProperty(…)没有被包装,尽管它显然超过了80个字符