Add folding doc and multiline comments
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
class A <fold text='{...}'>{
|
||||
val a = 1
|
||||
val b = 1
|
||||
}</fold>
|
||||
@@ -0,0 +1,4 @@
|
||||
fun foo() <fold text='{...}'>{
|
||||
val a = 1
|
||||
val b = 1
|
||||
}</fold>
|
||||
@@ -0,0 +1,6 @@
|
||||
import <fold text='...'>kotlin.*
|
||||
import kotlin.*
|
||||
import kotlin.*
|
||||
import kotlin.*</fold>
|
||||
|
||||
fun foo() {}
|
||||
@@ -0,0 +1,9 @@
|
||||
<fold text='/**...*/'>/**
|
||||
* Kdoc licence
|
||||
*/</fold>
|
||||
package some
|
||||
|
||||
<fold text='/**...*/'>/**
|
||||
* Some Kdoc comment
|
||||
*/</fold>
|
||||
class A
|
||||
@@ -0,0 +1,4 @@
|
||||
<fold text='/.../'>/*
|
||||
* Some multiline comment
|
||||
*/</fold>
|
||||
class A
|
||||
@@ -0,0 +1,4 @@
|
||||
object A <fold text='{...}'>{
|
||||
val a = 1
|
||||
val b = 1
|
||||
}</fold>
|
||||
@@ -0,0 +1,3 @@
|
||||
import kotlin.*
|
||||
|
||||
fun foo() {}
|
||||
Reference in New Issue
Block a user