mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-12 00:14:18 +00:00
Last commit before tagging and releasing
This commit is contained in:
8
extras/imported/java-mode/Constructs/class.yasnippet
Normal file
8
extras/imported/java-mode/Constructs/class.yasnippet
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: cl
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: class
|
||||
# --
|
||||
class ${1:${TM_FILENAME/(.*?)(\..+)/$1/}} ${2:extends ${3:Parent} }${4:implements ${5:Interface} }{
|
||||
$0
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: cos
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: constant string
|
||||
# --
|
||||
static public final String ${1:var} = "$2";$0
|
||||
6
extras/imported/java-mode/Constructs/constant.yasnippet
Normal file
6
extras/imported/java-mode/Constructs/constant.yasnippet
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: co
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: constant
|
||||
# --
|
||||
static public final ${1:String} ${2:var} = $3;$0
|
||||
8
extras/imported/java-mode/Constructs/interface.yasnippet
Normal file
8
extras/imported/java-mode/Constructs/interface.yasnippet
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: in
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: interface
|
||||
# --
|
||||
interface ${1:${TM_FILENAME/(.*?)(\..+)/$1/}} ${2:extends ${3:Parent} }{
|
||||
$0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: main
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: method (main)
|
||||
# --
|
||||
public static void main(String[] args) {
|
||||
$0
|
||||
}
|
||||
8
extras/imported/java-mode/Constructs/method.yasnippet
Normal file
8
extras/imported/java-mode/Constructs/method.yasnippet
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: m
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: method
|
||||
# --
|
||||
${1:void} ${2:method}($3) ${4:throws $5 }{
|
||||
$0
|
||||
}
|
||||
6
extras/imported/java-mode/Constructs/variable.yasnippet
Normal file
6
extras/imported/java-mode/Constructs/variable.yasnippet
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: v
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: variable
|
||||
# --
|
||||
${1:String} ${2:var}${3: = ${0:null}};
|
||||
Reference in New Issue
Block a user