Java snippets for yasnippet
Emacs Lisp Java
Switch branches/tags
Nothing to show
Pull request Compare This branch is 17 commits behind nekop:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
snippets/java-mode
.gitignore
LICENSE
README.org
java-snippets.el

README.org

yasnippet-java-mode

A set of java-mode snippets for YASnippet.

The master branch is for yasnippet 0.8 or later, if you use 0.6 please use yasnippet-0.6 branch.

Installation

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

It’s available on MELPA, Note that package name is java-snippets:

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.