home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
CMCD0404.ISO
/
Software
/
Freeware
/
Programare
/
Sharpdev
/
099bsetup.exe
/
SharpDevelop-templates.xml
< prev
next >
Wrap
Text File
|
2003-09-21
|
3KB
|
66 lines
<CodeTemplates version="2.0">
<CodeTemplateGroup extensions=".cs">
<CodeTemplate template="classp" description="class declaration (public)">public class |
{
}</CodeTemplate>
<CodeTemplate template="forb" description="for block">for (|; ; ) {
}</CodeTemplate>
<CodeTemplate template="fors" description="for (no braces)">for (|; ; )</CodeTemplate>
<CodeTemplate template="ifb" description="if statement">if (|) {
}</CodeTemplate>
<CodeTemplate template="ife" description="if else">if (|) {
} else {
}</CodeTemplate>
<CodeTemplate template="ifs" description="if statement (no braces)">if (|)</CodeTemplate>
<CodeTemplate template="switchd" description="switch statement (with default)">switch (|) {
case:
case:
default:
}</CodeTemplate>
<CodeTemplate template="switchs" description="switch statement">switch (|) {
case :
case :
}</CodeTemplate>
<CodeTemplate template="tryc" description="try / catch">try {
|
} catch (Exception) {
}</CodeTemplate>
<CodeTemplate template="trycf" description="try / catch / finally">try {
|
} catch (Exception) {
} finally {
}</CodeTemplate>
<CodeTemplate template="tryf" description="try / finally">try {
|
} finally {
}</CodeTemplate>
<CodeTemplate template="whileb" description="while">while (|) {
}</CodeTemplate>
<CodeTemplate template="whiles" description="while (no braces)">while (|)</CodeTemplate>
<CodeTemplate template="scwl" description="System.Console.WriteLine">System.Console.WriteLine(|);</CodeTemplate>
<CodeTemplate template="scw" description="System.Console.Write">System.Console.Write(|);</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>