IDEA-87839 'Split string' intention implemented

This commit is contained in:
Danila Ponomarenko
2012-06-27 13:07:10 +04:00
parent 2a004b3a4e
commit 4123634435
11 changed files with 178 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
// "Break string on '\n'" "true"
class A {
String s = "Hello,\n\r" +
"world\n" +
"!\n";
}

View File

@@ -0,0 +1,5 @@
// "Break string on '\n'" "true"
class A {
String s = "Hello,\n\rwor<caret>ld\n!\n";
}

View File

@@ -0,0 +1,5 @@
// "Break string on '\n'" "false"
class A {
String s = "Hello!\n";
}

View File

@@ -0,0 +1,5 @@
// "Break string on '\n'" "false"
class A {
String s = "Hello!\n\r";
}