<?xml version="1.0" encoding="UTF-8"?> <snippets language="Java"> <snippet id="cd"> <text><![CDATA[private static final ${1:String} ${2:var} = "$0";]]></text> <description>const def</description> <tag>cd</tag> </snippet> <snippet id="ife"> <text><![CDATA[if ($1) { // $2 $0 } else { // $3 } ]]></text> <description>if .. else</description> <tag>ife</tag> </snippet> <snippet id="if"> <text><![CDATA[if ($1) { // $2 $0 }]]></text> <description>if</description> <tag>if</tag> </snippet> <snippet id="log"> <text><![CDATA[/** Logger for this class and subclasses. */ protected final Log log = LogFactory.getLog(getClass()); ]]></text> <description>logger</description> <tag>log</tag> </snippet> <snippet id="tcf"> <text><![CDATA[try { $2 } catch (${1:Exception} e) { $3 } finally { $4 } $0]]></text> <description>try .. catch .. finally</description> <tag>tcf</tag> </snippet> <snippet id="while"> <text><![CDATA[while ($1) { // $2 $0 }]]></text> <description>while statement</description> <tag>while</tag> </snippet> <snippet id="main"> <text><![CDATA[public static void main(String[] args) { ${1:System.exit(0)}; }]]></text> <description>main</description> <tag>main</tag> </snippet> <snippet id="sout"> <text><![CDATA[System.out.println("${1}"); $0 ]]></text> <description>System.out.println</description> <tag>sout</tag> </snippet> <snippet id="try/catch"> <text><![CDATA[try { $GEDIT_SELECTED_TEXT } catch (Exception e) { ${1:e.printStackTrace();} } $0]]></text> <accelerator><![CDATA[<Shift><Alt>t]]></accelerator> <description>Wrap Selection in Try/Catch</description> </snippet> <snippet id="tc"> <text><![CDATA[try { $2 } catch (${1:Exception} e) { $3 } $0]]></text> <tag>tc</tag> <description>try .. catch</description> </snippet> </snippets>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
lang | Folder | 0755 |
|
|
ui | Folder | 0755 |
|
|
c.xml | File | 7.19 KB | 0644 |
|
chdr.xml | File | 6.8 KB | 0644 |
|
cpp.xml | File | 4.93 KB | 0644 |
|
css.xml | File | 17.52 KB | 0644 |
|
docbook.xml | File | 73.45 KB | 0644 |
|
fortran.xml | File | 4.09 KB | 0644 |
|
global.xml | File | 51 B | 0644 |
|
haskell.xml | File | 367 B | 0644 |
|
html.xml | File | 7.68 KB | 0644 |
|
idl.xml | File | 992 B | 0644 |
|
java.xml | File | 1.9 KB | 0644 |
|
javascript.xml | File | 255 B | 0644 |
|
latex.xml | File | 1.1 KB | 0644 |
|
mallard.xml | File | 7.94 KB | 0644 |
|
markdown.xml | File | 2.29 KB | 0644 |
|
perl.xml | File | 2.88 KB | 0644 |
|
php.xml | File | 4.79 KB | 0644 |
|
python.xml | File | 2.79 KB | 0644 |
|
rpmspec.xml | File | 625 B | 0644 |
|
ruby.xml | File | 4.33 KB | 0644 |
|
sh.xml | File | 1.01 KB | 0644 |
|
snippets.xml | File | 3.51 KB | 0644 |
|
tcl.xml | File | 1.08 KB | 0644 |
|
xml.xml | File | 690 B | 0644 |
|
xslt.xml | File | 3.5 KB | 0644 |
|