mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[java formatter] c style comments formatting supported. Note, only single line comments or comments with each line starting with asterisks will be formatted, since by using /* and */ you
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ public class Test {
|
||||
|
||||
// comment2
|
||||
System.out.println("hello");
|
||||
/*in return */
|
||||
/*in return */
|
||||
String s = "foo" + //inline
|
||||
"bar";
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,8 +4,8 @@ import java.util.function.Function;
|
||||
|
||||
public class Test {
|
||||
public static void main(String[] args) {
|
||||
/* bar */
|
||||
/* who-hoo */
|
||||
/* bar */
|
||||
/* who-hoo */
|
||||
String s = "foo";
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -4,7 +4,7 @@ import java.util.function.Function;
|
||||
|
||||
public class Test {
|
||||
public static void main(String[] args) {
|
||||
/* bar */
|
||||
/* bar */
|
||||
String s = ("a" +/* who-hoo */ "x") + "foo";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user