PK S4=-W W
README.txtA package containing snippets for various languages. Check the repo for exact contents.PK R4=/ / CSharp/Property RW.tmSnippet
content
${1:public} ${2:Type} ${3:PropertyName}
{
get
{
return ${4:${3/./\l$0/}};
}
set
{
${5:$4} = value;
}
}
name
Property (Read-Write)
scope
source.cs
tabTrigger
rw
uuid
F9184AE4-4ECF-4D4F-8D18-87CC28EFE0B8
PK R4=' CSharp/If.tmSnippet
content
if (${1:Condition})
{
$0
}
name
If
scope
source.cs
tabTrigger
if
uuid
F5AEFF89-5CBB-4079-8FEA-F4AC5D2F390A
PK R4=3/ / CSharp/Interface.tmSnippet
content
/// <summary>
/// Description of interface goes here
/// </summary>
interface ${1:InterfaceName}
{
$0
}
name
Interface
scope
source.cs
tabTrigger
interface
uuid
CD2EA246-E142-47E1-890F-599616512764
PK R4=Sdu u " CSharp/Try Catch Finally.tmSnippet
content
try
{
${2:// Code to try here}
}
catch (${1:System.Exception} e)
{
${3:// Code to handle exception here}
}
finally
{
${0:// Code to execute after try (and possibly catch) here}
}
name
Try / Catch / Finally
scope
source.cs
tabTrigger
try
uuid
9E4C6824-F9E0-4B64-B1F6-8DCF5F610DAC
PK R4=J) CSharp/Switch.tmSnippet
content
switch (${1:Expression})
{
case ${2:Constant}:
$0
break;
}
name
Switch
scope
source.cs
tabTrigger
switch
uuid
5AA72CF4-2C2D-494F-B56C-832E141A7132
PK R4=? CSharp/Writeline.tmSnippet
content
Console.WriteLine($1);
$0
name
Console.WriteLine
scope
source.cs
tabTrigger
writeline
uuid
00E7B505-C6A2-48C3-ABBE-30CBD8ABAB89
PK R4=' ' CSharp/Class.tmSnippet
content
/// <summary>
/// Description of class goes here
/// </summary>
${1:public} class ${2:ClassName}
{
$0
}
name
Class
scope
source.cs
tabTrigger
class
uuid
B20CDBF9-F842-462E-BA33-AE671E0D3D25
PK R4=~ CSharp/Else If.tmSnippet
content
else if (${1:Condition})
{
$0
}
name
Else If
scope
source.cs
tabTrigger
elseif
uuid
F8D557E9-81DE-45FF-A089-F2B3F8CD6B4F
PK R4= CSharp/ForEach.tmSnippet
content
foreach (${1:Type} in ${2:Collection})
{
$0
}
name
Foreach
scope
source.cs
tabTrigger
foreach
uuid
C1F69B97-3E59-4D60-A355-DF2DB4D2EF5C
PK R4= CSharp/While.tmSnippet
content
while (${1:Condition})
{
$0
}
name
While
scope
source.cs
tabTrigger
while
uuid
2C7396D8-DBE4-4D5D-A659-E5CC2BA19CCE
PK R4=ke e CSharp/Delegate.tmSnippet
content
/// <summary>
/// Description of delegate goes here
/// </summary>
public delegate ${1:ReturnType} ${2:DelegateName}(${3:ParameterType} ${4:ParameterName});
$0
name
Delegate
scope
source.cs
tabTrigger
delegate
uuid
EED18275-324E-4176-8806-89938FE0146B
PK R4=Q CSharp/Case.tmSnippet
content
case ${1:Constant}:
$0
break;
name
Case
scope
source.cs
tabTrigger
case
uuid
5EC2C939-D491-4EF4-B53E-EA87FCED249D
PK R4=gzd d CSharp/Private Method.tmSnippet
content
/// <summary>
/// Description of private method goes here
/// </summary>
private ${1:ReturnType} ${2:MethodName}(${3:ParameterType} ${4:ParameterName})
{
$0
}
name
Private Method
scope
source.cs
tabTrigger
pm
uuid
52788632-ECB3-4F3F-9423-03E0E35B20C8
PK R4=g+b b CSharp/Public Method.tmSnippet
content
/// <summary>
/// Description of public method goes here
/// </summary>
public ${1:ReturnType} ${2:MethodName}(${3:ParameterType} ${4:ParameterName})
{
$0
}
name
Public Method
scope
source.cs
tabTrigger
pum
uuid
58303EDB-6E36-4222-9422-4104932A8E51
PK R4=/, , CSharp/Struct.tmSnippet
content
/// <summary>
/// Description of struct goes here
/// </summary>
${1:public} struct ${2:StructName}
{
$0
}
name
Struct
scope
source.cs
tabTrigger
struct
uuid
C1C6324B-5AA9-4FD7-967F-CC518A02B137
PK R4=<,z CSharp/Default.tmSnippet
content
default:
$0
break;
name
Default
scope
source.cs
tabTrigger
default
uuid
1C9A1C2A-112F-44C7-AD51-DEE6BBF0FC35
PK R4= CSharp/Using.tmSnippet
content
using ${1:System};
name
Using
scope
source.cs
tabTrigger
us
uuid
A0D68D92-F7D2-4B35-ADC4-0AECC0F54EF6
PK R4=#qI I CSharp/Main Method.tmSnippet
content
/// <summary>
/// The main entry point for the application
/// </summary>
[STAThread]
public static void Main(string[] args)
{
$0
}
name
Main Method
scope
source.cs
tabTrigger
main
uuid
6915B574-5910-4255-802F-FD995500A0B2
PK R4=+\% CSharp/Property RO.tmSnippet
content
${1:public} ${2:Type} ${3:PropertyName}
{
get
{
return ${4:${3/./\l$0/}};
}
}
name
Property (Read-Only)
scope
source.cs
tabTrigger
r
uuid
18DBF19B-30B1-4218-8B4F-1D940A07D93B
PK R4=1o CSharp/For.tmSnippet
content
for (${1:Initializer}; ${2:Condition}; ${3:Update})
{
$0
}
name
For
scope
source.cs
tabTrigger
for
uuid
EF1EA22E-9591-4267-BED6-5CA9E8B74661
PK R4=[sx x CSharp/Singleton Class.tmSnippet
content
/// <summary>
/// Description of singleton class goes here
/// </summary>
public class ${1:Singleton}
{
private static ${1:Singleton} ${3:${2/./\l$0/}};
private ${1:Singleton}()
{
}
public static ${1:Singleton} ${2:Instance}
{
get
{
if (${3:${2/./\l$0/}} == null)
{
${3:${2/./\l$0/}} = new ${1:Singleton}();
}
return ${3:${2/./\l$0/}};
}
}
}
name
Singleton Class
scope
source.cs
tabTrigger
sinc
uuid
F1BB288E-0BAD-4833-BB6E-1C7E958041F6
PK R4=o CSharp/Else.tmSnippet
content
else
{
$0
}
name
Else
scope
source.cs
tabTrigger
else
uuid
D528787E-50F4-484A-B93C-32A3F6808B85
PK R4=YA A CSharp/README.txtE-Text Editor has some C# snippets, now SublimeText has them too!PK R4=,e CSharp/Do While.tmSnippet
content
do
{
$0
} while (${1:Condition});
name
Do While
scope
source.cs
tabTrigger
do
uuid
0B5657B1-73AA-4989-B586-4E8C414C600B
PK R4=H: CSharp/Namespace.tmSnippet
content
namespace ${1:NamespaceName}
{
$0
}
name
Namespace
scope
source.cs
tabTrigger
namespace
uuid
6E186131-8557-4982-91D8-EDBCAA1511B2
PK S4=T(b b ! XSL/template name param.tmSnippet
scope
text.xml.xsl
content
<xsl:template name="${1:QName}"${2: mode="${3:QName}"}>
<xsl:param name="${4:QName}"${5: select="${6:Expr}"}/>
${7}
</xsl:template>
name
template name param
tabTrigger
temp
uuid
B31C2268-F9B6-4153-8663-A24DA53C19F5
PK S4=+_ XSL/fallback.tmSnippet
scope
text.xml.xsl
content
<xsl:fallback>
${1}
<xsl:fallback>}
name
fallback
tabTrigger
fallback
uuid
165DAA88-B784-4066-820B-35B6C10D58B5
PK S4=wb- - XSL/attribute___.tmSnippet
scope
text.xml.xsl
content
<xsl:attribute name="${1:QName}"${2: namespace="${3:uri}"}>${4:«template body»}</xsl:attribute>
name
attribute
tabTrigger
attr
uuid
E40BD0A7-B0BE-41B8-A6C3-6E8A40AD113C
PK S4= XSL/param.tmSnippet
scope
text.xml.xsl
content
<xsl:param name="${1:QName}"${2: select="${3:Expr}"}/>
name
param
tabTrigger
param
uuid
D85FD15F-6D01-4CC8-8F78-994348FF97F6
PK S4=HP P XSL/stylesheet exslt.tmSnippet
scope
text.xml.xsl
content
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
>
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="${1:Expr}">
${2}
</xsl:template>
${3}
</xsl:stylesheet>
name
stylesheet exslt common
tabTrigger
style
uuid
13F2832D-9ED7-4C91-A990-EC5666FC701A
PK S4=D/y3c c " XSL/template match param.tmSnippet
scope
text.xml.xsl
content
<xsl:template match="${1:Expr}"${2: mode="${3:QName}"}>
<xsl:param name="${4:QName}"${5: select="${6:Expr}"}/>
${7}
</xsl:template>
name
template match param
tabTrigger
temp
uuid
BD452303-50C6-450E-B79E-457934D0CBF7
PK S4=l XSL/copy.tmSnippet
scope
text.xml.xsl
content
<xsl:copy ${1:use-attribute-sets="${2:list-of-QNames}"}>
${0}
</xsl:copy>
name
copy
tabTrigger
copy
uuid
B6951038-468B-4159-8CED-65E4166A2D95
PK S4=`~ XSL/transform.tmSnippet
scope
text.xml.xsl
content
<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="${1:Expr}">
${2}
</xsl:template>
${3}
</xsl:transform>
name
transform
tabTrigger
transform
uuid
8BF6163A-F381-48E7-9856-2D72059715AA
PK S4=HI XSL/copy-of.tmSnippet
scope
text.xml.xsl
content
<xsl:copy-of select="${1:Expr}"/>
name
copy-of
tabTrigger
copyof
uuid
7F1C7DFF-2390-4B4A-B47D-562685A30516
PK S4=
XSL/README.txtTodd Ditchendorf's (http://www.ditchnet.org/) made a collection of TextMate snippets for XSLT 1.1.
URL : http://www.ditchnet.org/wp/2006/12/19/textmate-changed-my-life/
I've made them available for Sublime Text.PK S4=:F XSL/template name.tmSnippet
scope
text.xml.xsl
content
<xsl:template name="${1:QName}"${2: mode="${3:QName}"}>
${4}
</xsl:template>
name
template name
tabTrigger
temp
uuid
F358257D-355D-4762-9198-CF3282EF0C6E
PK S4=
) XSL/value-of.tmSnippet
scope
text.xml.xsl
content
<xsl:value-of select="${1:Expr}"${2: disable-output-escaping="${3:«yes»|«no»}"}/>
name
value-of
tabTrigger
value
uuid
3790B249-5475-4638-A674-3FD4ECC967DF
PK S4=%S S &