Java code formatter Annotations on a single line
已回答
I want to disable the wrapping of Annotations so I don't want it like this
@Test public void
but
@Test
public void
请先登录再写评论。
Annotation wrapping can be controlled here:
Thanks, I was all ready trying different combinations but didn't get the right result. Also tried the option "Do not wrap after single annotation"
Please add this Feature!
Currently it is impossible - at least for class and method annotations - to have ONE annotation per line, and a new line befor the method header begins!
We want to be able to configure the formatter to chop down long lines with annotations, but still maintain the style, so that something like
```
@Override
public int hashCode()
```
and
```
@Configuration
public class SomeConfiguration {
…
```
Request is welcome at https://youtrack.jetbrains.com/issues/IDEA.