summaryrefslogtreecommitdiff
path: root/share/qtcreator/snippets/if.snp
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/snippets/if.snp')
-rw-r--r--share/qtcreator/snippets/if.snp25
1 files changed, 25 insertions, 0 deletions
diff --git a/share/qtcreator/snippets/if.snp b/share/qtcreator/snippets/if.snp
new file mode 100644
index 0000000000..2888590efa
--- /dev/null
+++ b/share/qtcreator/snippets/if.snp
@@ -0,0 +1,25 @@
+<!DOCTYPE QtWorkbenchSnippet>
+<qtworkbench>
+ <data>
+ <variable>Name</variable>
+ <value type="QString" >if Statement</value>
+ </data>
+ <data>
+ <variable>Description</variable>
+ <value type="QString" >This creates a if statement</value>
+ </data>
+ <data>
+ <variable>Category</variable>
+ <value type="QString" >Common Statements</value>
+ </data>
+ <data>
+ <variable>Shortcut</variable>
+ <value type="QString" >if</value>
+ </data>
+ <data>
+ <variable>Contents</variable>
+ <value type="QString" ><![CDATA[if ($cursor$) {
+ $selection$
+}]]></value>
+ </data>
+</qtworkbench>