After running the formatter plugin, the following code (with new line after comma): ```java @SpringBootTest(classes = RibbonClientConfigurationIntegrationTests.TestLBConfig.class, properties = "test.ribbon.ServerListRefreshInterval=999") ``` will be converted to (with no new line): ```java @SpringBootTest(classes = RibbonClientConfigurationIntegrationTests.TestLBConfig.class, properties = "test.ribbon.ServerListRefreshInterval=999") ``` This is problematic, taken into account that we usually want to stick to a certain line length limit.
Activity
philwebb commentedon Feb 7, 2019
It looks like the underlying Eclipse formatter can wrap annotations so we probably just need to change an option in https://github.com/spring-io/spring-javaformat/blob/master/spring-javaformat/spring-javaformat-formatter/src/main/resources/io/spring/javaformat/formatter/formatter.prefs
[-]New lines between annotation arguments are being removed[/-][+]Annotation attributes are not being wrapped[/+]