IDEA-212623 Folding comments in Java out of FileHeader/Class blocks

GitOrigin-RevId: 8ee4a65241cf9861e37440731c2844dda4787726
This commit is contained in:
Artsiom Chapialiou
2019-05-23 08:09:04 +03:00
committed by intellij-monorepo-bot
parent a585246332
commit 257c648365
2 changed files with 27 additions and 1 deletions
@@ -1,6 +1,26 @@
<fold text='/.../'>/*
file header comment
*/</fold>
package test;
<fold text='/*...*/'>/*
outer class comment
*/</fold>
<fold text='//...'>//outer class
//consequent EOL comments</fold>
import java.util.List;
<fold text='/*...*/'>/*
outer class comment
*/</fold>
<fold text='//...'>//outer class
//consequent EOL comments</fold>
<fold text='/*...*/'>/*
before class comment
*/</fold>
class Test {
<fold text='/*...*/'>/*
dangling multiline commnent
@@ -41,4 +61,9 @@ class Test {
}</fold>
}</fold>
}</fold>
}
}
<fold text='/*...*/'>/*
after class comment
*/</fold>
<fold text='//...'>// after class
//consequent EOL comments</fold>