aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class')
-rw-r--r--Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class10
1 files changed, 10 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class
new file mode 100644
index 0000000..a0685b3
--- /dev/null
+++ b/Emacs/.config/emacs/.config/yasnippet/snippets/java-mode/file_class
@@ -0,0 +1,10 @@
+# -*- mode: snippet -*-
+# name: file_class
+# key: file
+# uuid: file
+# --
+public class ${1:`(file-name-base
+ (or (buffer-file-name)
+ (buffer-name)))`} {
+ $0
+}