summaryrefslogtreecommitdiffstats
path: root/plugins/snippets/data/idl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/snippets/data/idl.xml')
-rw-r--r--plugins/snippets/data/idl.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/plugins/snippets/data/idl.xml b/plugins/snippets/data/idl.xml
new file mode 100644
index 0000000..2b6ef30
--- /dev/null
+++ b/plugins/snippets/data/idl.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<snippets language="IDL">
+ <snippet id="mod">
+ <text><![CDATA[module ${1:name}
+{
+ $0
+};
+]]></text>
+ <tag>mod</tag>
+ <description>Module</description>
+ </snippet>
+ <snippet id="if">
+ <text><![CDATA[interface ${1:name}
+{
+ $0
+};
+]]></text>
+ <tag>if</tag>
+ <description>Interface</description>
+ </snippet>
+ <snippet id="str">
+ <text><![CDATA[struct ${1:name}
+{
+ $0
+};
+]]></text>
+ <tag>str</tag>
+ <description>Struct</description>
+ </snippet>
+ <snippet id="exc">
+ <text><![CDATA[exception ${1:name}
+{
+ $0
+};
+]]></text>
+ <tag>exc</tag>
+ <description>Exception</description>
+ </snippet>
+ <snippet id="seq">
+ <text><![CDATA[sequence<${1:type}> ]]></text>
+ <tag>seq</tag>
+ <description>Sequence</description>
+ </snippet>
+ <snippet id="tseq">
+ <text><![CDATA[typedef sequence<${1:type}> ${0:newtype};]]></text>
+ <tag>tseq</tag>
+ <description>Typedef Sequence</description>
+ </snippet>
+</snippets>