reformat issue

Answered
@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. https://gaysextube.name/ 

 

 

 

0
1 comment

Hello,

Does https://youtrack.jetbrains.com/issue/IDEA-219093 look like your case?

Make sure that your comment does not exceed the right margin. (Settings / Preferences | Editor | Code Style | Java | Wrapping and Braces | Hard wrap at)

0

Please sign in to leave a comment.