/yasnippet-java-mode

Java snippets for yasnippet

Primary LanguageEmacs LispApache License 2.0Apache-2.0

yasnippet-java-mode

A set of java-mode snippets for YASnippet.

Installation

I highly recommend installing yasnippet-java-mode through elpa.

The package name is java-snippets and it’s available on MELPA.

M-x package-install java-snippets

Old fashion way

Put “snippets/java-mode” directory under your “~/.emacs.d/snippets/” directory.

The following describes two ways of installing. The first method requires that git is installed and the second does not.

Git

git clone https://github.com/nekop/yasnippet-java-mode.git /tmp/yasnippet-java-mode
mv /tmp/yasnippet-java-mode/snippets/java-mode ~/.emacs.d/snippets/

Archive

Download an archive and extract to the directory you want to install in.