Extract Function: Allow to select fragments which start with comment

This commit is contained in:
Alexey Sedunov
2014-04-24 19:06:15 +04:00
parent 243ba62b65
commit 3ac3edd1bd
8 changed files with 65 additions and 16 deletions
@@ -0,0 +1,7 @@
// NEXT_SIBLING:
fun foo(a: Int): Int {
<selection>// test
println(a)
if (a > 0) return a</selection>
return -a
}