Reformat for @Retention annotation
@Target({ElementType.METHOD}) // comment 1
@Retention(RetentionPolicy.RUNTIME) // comment 2
@interface MyAnnotation {
...
}
If I reformat this, 'comment 2' goes down to the next line.
@Target({ElementType.METHOD}) // comment 1
@Retention(RetentionPolicy.RUNTIME)
// comment 2
@interface MyAnnotation {
...
}
How can I fix this? I don't want this behavior.
Please sign in to leave a comment.
Hi. We have a related ticket, please follow https://youtrack.jetbrains.com/issue/IDEA-219093