aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/java/pattern.stpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/template/java/pattern.stpl b/template/java/pattern.stpl
new file mode 100644
index 0000000..2a48364
--- /dev/null
+++ b/template/java/pattern.stpl
@@ -0,0 +1,11 @@
+\(\S.*\)\.pr\%[int]$
+ System.out.print({{$1}});
+ {{_cursor_}}
+
+\(\S.*\)\.pr\%[int]f$
+ System.out.printf({{$1}});
+ {{_cursor_}}
+
+\(\S.*\)\.pr\%[int]l\%[n]$
+ System.out.println({{$1}});
+ {{_cursor_}}