Postfix templates: added soutv postfix template (IDEA-194685)

This commit is contained in:
Alexander Zolotov
2018-06-27 14:49:24 +03:00
parent 8de417663a
commit 6c66dbbdd0
11 changed files with 110 additions and 0 deletions
@@ -0,0 +1,5 @@
public class Foo {
void m() {
5.soutv<caret>
}
}
@@ -0,0 +1,5 @@
public class Foo {
void m() {
System.out.println("5 = " + 5);<caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
b.soutv<caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
System.out.println("b = " + b);<caret>
}
}
@@ -0,0 +1,5 @@
public class Foo {
void m() {
"hello".soutv<caret>
}
}
@@ -0,0 +1,5 @@
public class Foo {
void m() {
System.out.println("\"hello\" = " + "hello");<caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
m().soutv<caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
m().soutv <caret>
}
}