I'm seeing an issue with multiline comments getting extra indentation each time they get run through prettier-java
Input:
public class Example {
public void method() {
/*
multiline comment
*/
}
}
Output: (after running prettier ~5 times)
public class Example {
public void method() {
/*
multiline comment
*/
}
}
Each run of prettier seems to indent the comment a little more.
The issue doesn't manifest if each line of the comment is prefixed with an asterisk (although the formatting in this case still looks a little bit off), for example:
Input:
public class Example {
public void method() {
/*
* multiline comment
*/
}
}
Output:
public class Example {
public void method() {
/*
* multiline comment
*/
}
}
I'm seeing an issue with multiline comments getting extra indentation each time they get run through prettier-java
Input:
Output: (after running prettier ~5 times)
Each run of prettier seems to indent the comment a little more.
The issue doesn't manifest if each line of the comment is prefixed with an asterisk (although the formatting in this case still looks a little bit off), for example:
Input:
Output: