home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 February
/
CMCD0205.ISO
/
Software
/
Freeware
/
Programare
/
Sharp
/
SharpDevelop_1.0.3.1761_Setup.exe
/
SharpDevelop-templates.xml
< prev
next >
Wrap
Text File
|
2004-07-05
|
3KB
|
72 lines
<CodeTemplates version="2.0">
<CodeTemplateGroup extensions=".cs">
<CodeTemplate template="classp" description="class declaration (public)">public class |
{
${Selection}
}</CodeTemplate>
<CodeTemplate template="forb" description="for block">for (|; ; ) {
${Selection}
}</CodeTemplate>
<CodeTemplate template="fors" description="for (no braces)">for (|; ; )
${Selection}</CodeTemplate>
<CodeTemplate template="ifb" description="if statement">if (|) {
${Selection}
}</CodeTemplate>
<CodeTemplate template="ife" description="if else">if (|) {
${Selection}
} else {
}</CodeTemplate>
<CodeTemplate template="ifs" description="if statement (no braces)">if (|)
${Selection}</CodeTemplate>
<CodeTemplate template="switchd" description="switch statement (with default)">switch (|) {
case:
break;
default:
${Selection}
break;
}</CodeTemplate>
<CodeTemplate template="switchs" description="switch statement">switch (|) {
case :
${Selection}
break;
}</CodeTemplate>
<CodeTemplate template="tryc" description="try / catch">try {
${Selection}|
} catch (Exception) {
}</CodeTemplate>
<CodeTemplate template="trycf" description="try / catch / finally">try {
${Selection}|
} catch (Exception) {
} finally {
}</CodeTemplate>
<CodeTemplate template="tryf" description="try / finally">try {
${Selection}|
} finally {
}</CodeTemplate>
<CodeTemplate template="whileb" description="while">while (|) {
${Selection}
}</CodeTemplate>
<CodeTemplate template="whiles" description="while (no braces)">while (|)
${Selection}</CodeTemplate>
<CodeTemplate template="scwl" description="System.Console.WriteLine">System.Console.WriteLine(${Selection}|);</CodeTemplate>
<CodeTemplate template="scw" description="System.Console.Write">System.Console.Write(${Selection}|);</CodeTemplate>
</CodeTemplateGroup>
<CodeTemplateGroup extensions=".html;.htm">
<CodeTemplate template="boldb" description="bold block"><b>|${Selection}</b></CodeTemplate>
<CodeTemplate template="commentb" description="comment block"><!--|${Selection}--></CodeTemplate>
<CodeTemplate template="heading1b" description="heading 1 block"><h1>|${Selection}</h1></CodeTemplate>
<CodeTemplate template="heading2b" description="heading 2 block"><h2>|${Selection}</h2></CodeTemplate>
<CodeTemplate template="heading3b" description="heading 3 block"><h3>|${Selection}</h3></CodeTemplate>
<CodeTemplate template="heading4b" description="heading 4 block"><h4>|${Selection}</h4></CodeTemplate>
<CodeTemplate template="italicb" description="italic block"><i>|${Selection}</i></CodeTemplate>
<CodeTemplate template="parab" description="paragraph block"><p>|${Selection}</p></CodeTemplate>
</CodeTemplateGroup>
<CodeTemplateGroup extensions=".xml;.xfrm;.addin;.xft;.xpt">
<CodeTemplate template="commentb" description="comment block"><!--|${Selection}--></CodeTemplate>
</CodeTemplateGroup>
</CodeTemplates>