You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
52 lines
1.3 KiB
<?xml version="1.0"?> |
|
<Template author="Mike Krueger" version="1.0"> |
|
|
|
<Config |
|
name = "${res:Templates.File.#Develop.MenuCommand.Name}" |
|
icon = "C#.File.FullFile" |
|
category = "#Develop" |
|
defaultname = "Class${Number}.cs" |
|
language = "C#"/> |
|
|
|
<Description>${res:Templates.File.#Develop.MenuCommand.Description}</Description> |
|
|
|
<!-- |
|
Special new file templates: |
|
${StandardNamespace} -> Standardnamespace of the current project or FileNameWithoutExtension |
|
${FullName} -> Full generated path name |
|
${FileName} -> File name with extension |
|
${FileNameWithoutExtension} -> File name without extension |
|
${Extension} -> Extension in the form ".cs" |
|
${Path} -> Full path of the file |
|
--> |
|
<Files> |
|
<File name="${FullName}" language="C#"><![CDATA[${StandardHeader.C#} |
|
using System; |
|
using System.Windows.Forms; |
|
|
|
using ICSharpCode.Core; |
|
using ICSharpCode.SharpDevelop; |
|
|
|
namespace ${StandardNamespace} |
|
{ |
|
/// <summary> |
|
/// Description of ${FileNameWithoutExtension} |
|
/// </summary> |
|
public class ${FileNameWithoutExtension} : AbstractMenuCommand |
|
{ |
|
/// <summary> |
|
/// Starts the command |
|
/// </summary> |
|
public override void Run() |
|
{ |
|
// TODO: Add your code here !!! |
|
} |
|
} |
|
} |
|
]]> |
|
</File> |
|
</Files> |
|
|
|
<AdditionalOptions/> |
|
|
|
</Template>
|
|
|