xed/plugins/snippets/data/snippets.xml

99 lines
3.5 KiB
XML
Raw Normal View History

2011-11-07 13:46:58 -06:00
<?xml version="1.0" encoding="UTF-8"?>
<snippets language="snippets">
<snippet id="simple">
<text><![CDATA[\${${1:n:default}}]]></text>
<description>Simple Placeholder</description>
<tag>simple</tag>
</snippet>
<snippet id="simple-fallback">
<text><![CDATA[\${${1:n:}[${2:default1,default2}]}]]></text>
<description>Simple Fallback Placeholder</description>
<tag>simplef</tag>
</snippet>
<snippet id="shell">
<text><![CDATA[\$(${1:n:} ${2:shell code})]]></text>
<description>Shell Placeholder</description>
<tag>shell</tag>
</snippet>
<snippet id="python">
<text><![CDATA[\$<${1:n:} ${2:[refs]:} return 'python code' >]]></text>
<description>Python Placeholder</description>
<tag>python</tag>
</snippet>
<snippet id="regex">
<text><![CDATA[\${${1:n:} ${2:input}/${3:regex-pattern}/${4:replacement}/${5:modifiers}}]]></text>
<description>Regular Expression Placeholder</description>
<tag>regex</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_PATH">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_CURRENT_DOCUMENT_PATH]]></text>
<description>Xedit Current Document Path Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_NAME">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_CURRENT_DOCUMENT_NAME]]></text>
<description>Xedit Current Document Name Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_URI">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_CURRENT_DOCUMENT_URI]]></text>
<description>Xedit Current Document Uri Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_SCHEME">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_CURRENT_DOCUMENT_SCHEME]]></text>
<description>Xedit Current Document Scheme Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_DOCUMENT_TYPE">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_CURRENT_DOCUMENT_TYPE]]></text>
<description>Xedit Current Document Type Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-DOCUMENTS_URI">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_DOCUMENTS_URI]]></text>
<description>Xedit Documents Uri Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-DOCUMENTS_PATH">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_DOCUMENTS_PATH]]></text>
<description>Xedit Documents Path Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-SELECTED_TEXT">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_SELECTED_TEXT]]></text>
<description>Xedit Selected Text Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_WORD">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_CURRENT_WORD]]></text>
<description>Xedit Current Word Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_LINE">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_CURRENT_LINE]]></text>
<description>Xedit Current Line Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-CURRENT_LINE_NUMBER">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_CURRENT_LINE_NUMBER]]></text>
<description>Xedit Current Line Number Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-DROP_FILENAME">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_DROP_FILENAME]]></text>
<description>Xedit Drop Filename Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-DROP_REL_FILENAME">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_DROP_REL_FILENAME]]></text>
<description>Xedit Drop Relative Filename Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
<snippet id="$-DROP_MIME_TYPE">
2016-01-25 08:13:49 -06:00
<text><![CDATA[\$XEDIT_DROP_MIME_TYPE]]></text>
<description>Xedit Drop Mime Type Variable</description>
2011-11-07 13:46:58 -06:00
<tag>$</tag>
</snippet>
</snippets>