Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added some more gdoc snippets

  • Loading branch information...
commit 25ab5b55b3bd19e8246a5e72eaf227614961de45 1 parent db23c33
gcrick gcrick authored
8 Doc/apilink.sublime-snippet
View
@@ -0,0 +1,8 @@
+<snippet>
+ <content><![CDATA[
+[${1:class}|api:${2:package}.${1:class}]
+]]></content>
+ <tabTrigger>api..</tabTrigger>
+ <description>link to api in GrailsDoc</description>
+ <scope>source.grails.gdoc</scope>
+</snippet>
8 Doc/link.sublime-snippet
View
@@ -0,0 +1,8 @@
+<snippet>
+ <content><![CDATA[
+[${1:linkText}|${2:url}]
+]]></content>
+ <tabTrigger>link..</tabTrigger>
+ <description>external link in GrailsDoc</description>
+ <scope>source.grails.gdoc</scope>
+</snippet>
10 Doc/note.sublime-snippet
View
@@ -0,0 +1,10 @@
+<snippet>
+ <content><![CDATA[
+{note}
+${1:message}
+{note}
+]]></content>
+ <tabTrigger>note..</tabTrigger>
+ <description>{note} in GrailsDoc</description>
+ <scope>source.grails.gdoc</scope>
+</snippet>
8 Doc/reflink.sublime-snippet
View
@@ -0,0 +1,8 @@
+<snippet>
+ <content><![CDATA[
+[${1:category}|${2:referenceItem}]
+]]></content>
+ <tabTrigger>ref..</tabTrigger>
+ <description>link to reference item in GrailsDoc</description>
+ <scope>source.grails.gdoc</scope>
+</snippet>
8 Doc/sectionlink.sublime-snippet
View
@@ -0,0 +1,8 @@
+<snippet>
+ <content><![CDATA[
+[${1:linkText}|guide:${2:sectionName}]
+]]></content>
+ <tabTrigger>section..</tabTrigger>
+ <description>link to a section in GrailsDoc</description>
+ <scope>source.grails.gdoc</scope>
+</snippet>
11 Doc/table.sublime-snippet
View
@@ -0,0 +1,11 @@
+<snippet>
+ <content><![CDATA[
+{table}
+ *${1:Header1}* | *${2:Header2}*
+ ${3:Cell1} | ${4:Cell2}
+{table}
+]]></content>
+ <tabTrigger>table..</tabTrigger>
+ <description>{table} in GrailsDoc</description>
+ <scope>source.grails.gdoc</scope>
+</snippet>
10 Doc/warning.sublime-snippet
View
@@ -0,0 +1,10 @@
+<snippet>
+ <content><![CDATA[
+{warning}
+${1:message}
+{warning}
+]]></content>
+ <tabTrigger>warning..</tabTrigger>
+ <description>{warning} in GrailsDoc</description>
+ <scope>source.grails.gdoc</scope>
+</snippet>
10 Doc/xmlcode.sublime-snippet
View
@@ -0,0 +1,10 @@
+<snippet>
+ <content><![CDATA[
+{code:xml}
+${1:source}
+{code}
+]]></content>
+ <tabTrigger>xml..</tabTrigger>
+ <description>{code:xml} in GrailsDoc</description>
+ <scope>source.grails.gdoc</scope>
+</snippet>
Please sign in to comment.
Something went wrong with that request. Please try again.