IDEA-121693 Postfix completion for System.out.println()

IDEA-122459 Postfix completion: template for String.format
This commit is contained in:
Sergey Ignatov
2014-03-20 16:51:11 +04:00
parent 595fa4efd4
commit bf098f6e8f
16 changed files with 238 additions and 13 deletions
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
b.format<caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
b.format <caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
"m()".format<caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
String.format("m()", <caret>);
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
b.sout<caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
System.out.println(b);<caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
m().sout<caret>
}
}
@@ -0,0 +1,7 @@
package templates;
public class Foo {
void m(boolean b, int value) {
m().sout <caret>
}
}