diff options
author | William Carroll <wpcarro@gmail.com> | 2019-04-09T17·37+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-04-09T17·37+0100 |
commit | d26abe7edb984ca06f25cf823a8ffc77dd145dbb (patch) | |
tree | c0e8bcb369ea28d584133e793531d4a21f5cf8e1 | |
parent | 5144384becd51a32870ccc6f6a8a87979c5244c6 (diff) |
Support Java snippet for main function
Should output: `public static void main(String[] args)`. More of these Java snippets to come.
-rw-r--r-- | configs/shared/emacs/.emacs.d/snippets/java-mode/public-static-void-main | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/shared/emacs/.emacs.d/snippets/java-mode/public-static-void-main b/configs/shared/emacs/.emacs.d/snippets/java-mode/public-static-void-main new file mode 100644 index 000000000000..1839a27eb5c0 --- /dev/null +++ b/configs/shared/emacs/.emacs.d/snippets/java-mode/public-static-void-main @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: public static void main +# key: psvm +# -- +public static void main(String[] args) { + $1 +} \ No newline at end of file |