]> git.madduck.net Git - etc/vim.git/blobdiff - .vim/snippets/java.snippets

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge commit '907d4569b0384e76f9e3ca4a6a7ee917712c031d' into tmp
[etc/vim.git] / .vim / snippets / java.snippets
deleted file mode 100644 (file)
index fd705cb598c087b9576122345b2a62d2ab928bbc..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,78 +0,0 @@
-snippet main
-       public static void main (String [] args)
-       {
-               ${1:/* code */}
-       }
-snippet pu
-       public
-snippet po
-       protected
-snippet pr
-       private
-snippet st
-       static
-snippet fi
-       final
-snippet ab
-       abstract
-snippet re
-       return
-snippet br
-       break;
-snippet de
-       default:
-               ${1}
-snippet ca
-       catch(${1:Exception} ${2:e}) ${3}
-snippet th
-       throw 
-snippet sy
-       synchronized
-snippet im
-       import
-snippet j.u
-       java.util
-snippet j.i
-       java.io.
-snippet j.b
-       java.beans.
-snippet j.n
-       java.net.
-snippet j.m
-       java.math.
-snippet if
-       if (${1}) ${2}
-snippet el
-       else 
-snippet elif
-       else if (${1}) ${2}
-snippet wh
-       while (${1}) ${2}
-snippet for
-       for (${1}; ${2}; ${3}) ${4}
-snippet fore
-       for (${1} : ${2}) ${3}
-snippet sw
-       switch (${1}) ${2}
-snippet cs
-       case ${1}:
-               ${2}
-       ${3}
-snippet tc
-       public class ${1:`Filename()`} extends ${2:TestCase}
-snippet t
-       public void test${1:Name}() throws Exception ${2}
-snippet cl
-       class ${1:`Filename("", "untitled")`} ${2}
-snippet in
-       interface ${1:`Filename("", "untitled")`} ${2:extends Parent}${3}
-snippet m
-       ${1:void} ${2:method}(${3}) ${4:throws }${5}
-snippet v
-       ${1:String} ${2:var}${3: = null}${4};${5}
-snippet co
-       static public final ${1:String} ${2:var} = ${3};${4}
-snippet cos
-       static public final String ${1:var} = "${2}";${3}
-snippet as
-       assert ${1:test} : "${2:Failure message}";${3}
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..449015992502de40674c43c405e6951976b4c280
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/vim/addons/snippets/java.snippets
\ No newline at end of file