support custom folding regions for Kotlin
#KT-5207 Fixed
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class Foo <fold text='{...}' expand='true'>{
|
||||
<fold text='Methods' expand='true'>// <editor-fold desc="Methods">
|
||||
fun foo() {}
|
||||
|
||||
fun bar() <fold text='{...}' expand='true'>{
|
||||
|
||||
}</fold>
|
||||
// </editor-fold></fold>
|
||||
|
||||
fun xyzzy() <fold text='{...}' expand='true'>{
|
||||
<fold text='Body' expand='true'>// <editor-fold desc="Body">
|
||||
printn("Xyzzy")
|
||||
printn("Xyzzy")
|
||||
printn("Xyzzy")
|
||||
// </editor-fold></fold>
|
||||
}</fold>
|
||||
}</fold>
|
||||
|
||||
Reference in New Issue
Block a user