Add folding doc and multiline comments

This commit is contained in:
Nikolay Krasko
2013-06-18 17:43:57 +04:00
parent 9c604267f8
commit 935c5ec16d
15 changed files with 236 additions and 47 deletions
@@ -0,0 +1,11 @@
<fold text='/**...*/' expand='~false~'>/**
* Some header kdoc
*/</fold>
package some
<fold text='/**...*/' expand='true'>/**
* Other
*/</fold>
// SET_TRUE: setCollapseFileHeader
@@ -0,0 +1,12 @@
<fold text='/.../' expand='~false~'>/*
* Some header
*/</fold>
val a = 12
<fold text='/.../' expand='true'>/*
* Other
*/</fold>
// SET_TRUE: setCollapseFileHeader
@@ -0,0 +1,8 @@
package some
import <fold text='...' expand='~false~'>first
import second</fold>
trait A
// SET_TRUE: setCollapseImports
@@ -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