[svn] r5895: corsavy-addin/trunk: Nemerle.xshd icons
icons/BitmapResources.txtres icons/Nemerle.File.Empty...
malekith
svnadmin at nemerle.org
Sat Nov 5 23:49:42 CET 2005
Log:
Templates, icons and syntax def from Kamil's binding.
Author: malekith
Date: Sat Nov 5 23:49:39 2005
New Revision: 5895
Added:
corsavy-addin/trunk/Nemerle.xshd
corsavy-addin/trunk/icons/
corsavy-addin/trunk/icons/BitmapResources.txtres
corsavy-addin/trunk/icons/Nemerle.File.EmptyFile.png (contents, props changed)
corsavy-addin/trunk/icons/Nemerle.File.Form.png (contents, props changed)
corsavy-addin/trunk/icons/Nemerle.FileIcon.png (contents, props changed)
corsavy-addin/trunk/icons/Nemerle.Project.EmptyProject.png (contents, props changed)
corsavy-addin/trunk/icons/Nemerle.Project.Form.png (contents, props changed)
corsavy-addin/trunk/icons/Nemerle.ProjectIcon.png (contents, props changed)
corsavy-addin/trunk/templates/
corsavy-addin/trunk/templates/files/
corsavy-addin/trunk/templates/files/Nemerle.Empty.xft
corsavy-addin/trunk/templates/files/Nemerle.EmptyClass.xft
corsavy-addin/trunk/templates/files/Nemerle.Form.xft
corsavy-addin/trunk/templates/projects/
corsavy-addin/trunk/templates/projects/ConsoleProject.xpt
corsavy-addin/trunk/templates/projects/FormsProject.xpt
corsavy-addin/trunk/templates/projects/Library.xpt
Added: corsavy-addin/trunk/Nemerle.xshd
==============================================================================
--- (empty file)
+++ corsavy-addin/trunk/Nemerle.xshd Sat Nov 5 23:49:39 2005
@@ -0,0 +1,377 @@
+<?xml version="1.0"?>
+<!-- This file was autogenerated by the #Develop highlighting editor. -->
+
+<SyntaxDefinition name="Nemerle" extensions=".n">
+
+ <Environment>
+ </Environment>
+
+ <Properties>
+ <Property name="LineComment" value="//"/>
+ </Properties>
+
+ <Digits name="Digits" bold="false" italic="false" color="DarkBlue" />
+
+ <RuleSets>
+ <RuleSet ignorecase="false" >
+ <Delimiters>&<>~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
+
+ <Span name="PreprocessorDirectives" stopateol="true" bold="false" italic="false" color="Green" >
+ <Begin >#</Begin>
+ </Span>
+
+ <Span name="DocLineComment" rule="DocCommentSet" stopateol="true" bold="false" italic="false" color="Gray" >
+ <Begin bold="false" italic="false" color="Gray" >///</Begin>
+ </Span>
+
+ <Span name="LineComment" rule="CommentMarkerSet" stopateol="true" bold="false" italic="false" color="Gray" >
+ <Begin >//@!/@</Begin>
+ </Span>
+
+ <Span name="BlockComment" rule="CommentMarkerSet" stopateol="false" bold="false" italic="false" color="Gray" >
+ <Begin >/*</Begin>
+ <End >*/</End>
+ </Span>
+
+ <Span name="String" stopateol="true" bold="false" italic="false" color="Maroon" >
+ <Begin >"</Begin>
+ <End >"</End>
+ </Span>
+
+ <Span name="MultiLineString" noescapesequences="true" stopateol="false" bold="false" italic="false" color="Maroon" >
+ <Begin >@@"</Begin>
+ <End >"</End>
+ </Span>
+
+ <Span name="Char" stopateol="true" bold="false" italic="false" color="Maroon" >
+ <Begin >'</Begin>
+ <End >'</End>
+ </Span>
+
+ <MarkPrevious bold="true" italic="false" color="MidnightBlue" >(</MarkPrevious>
+
+ <KeyWords name="Punctuation" bold="false" italic="false" color="DarkGreen" >
+ <Key word="?"/>
+ <Key word=","/>
+ <Key word="."/>
+ <Key word=";"/>
+ <Key word="("/>
+ <Key word=")"/>
+ <Key word="["/>
+ <Key word="]"/>
+ <Key word="{"/>
+ <Key word="}"/>
+ <Key word="+"/>
+ <Key word="-"/>
+ <Key word="/"/>
+ <Key word="%"/>
+ <Key word="*"/>
+ <Key word="<"/>
+ <Key word=">"/>
+ <Key word="^"/>
+ <Key word="="/>
+ <Key word="~"/>
+ <Key word="!"/>
+ <Key word="|"/>
+ <Key word="&"/>
+ </KeyWords>
+
+ <KeyWords name="AccessKeywords" bold="true" italic="false" color="Black" >
+ <Key word="this"/>
+ <Key word="base"/>
+ </KeyWords>
+
+ <KeyWords name="OperatorKeywords" bold="true" italic="false" color="DarkCyan" >
+ <Key word="as"/>
+ <Key word="is"/>
+ <Key word="new"/>
+ <Key word="typeof"/>
+ <Key word="checked"/>
+ <Key word="unchecked"/>
+ <Key word="where"/>
+ <Key word="array"/>
+ <Key word="fun"/>
+ <Key word="mutable"/>
+ <Key word="def"/>
+ </KeyWords>
+
+ <KeyWords name="SelectionStatements" bold="true" italic="false" color="Blue" >
+ <Key word="else"/>
+ <Key word="if"/>
+ <Key word="default"/>
+ <Key word="match"/>
+ <Key word="unless"/>
+ <Key word="when"/>
+ </KeyWords>
+
+ <KeyWords name="IterationStatements" bold="true" italic="false" color="Blue" >
+ <Key word="do"/>
+ <Key word="for"/>
+ <Key word="foreach"/>
+ <Key word="in"/>
+ <Key word="while"/>
+ </KeyWords>
+
+ <KeyWords name="ExceptionHandlingStatements" bold="true" italic="false" color="Teal" >
+ <Key word="try"/>
+ <Key word="throw"/>
+ <Key word="catch"/>
+ <Key word="finally"/>
+ </KeyWords>
+
+ <KeyWords name="PreprocessorDirectives" bold="false" italic="false" color="Green" >
+ <Key word="#if"/>
+ <Key word="#else"/>
+ <Key word="#elif"/>
+ <Key word="#endif"/>
+ <Key word="#define"/>
+ <Key word="#undef"/>
+ <Key word="#warning"/>
+ <Key word="#error"/>
+ <Key word="#line"/>
+ <Key word="#region"/>
+ <Key word="#endregion"/>
+ </KeyWords>
+
+ <KeyWords name="ValueTypes" bold="true" italic="false" color="Red" >
+ <Key word="bool"/>
+ <Key word="byte"/>
+ <Key word="char"/>
+ <Key word="decimal"/>
+ <Key word="double"/>
+ <Key word="enum"/>
+ <Key word="float"/>
+ <Key word="int"/>
+ <Key word="long"/>
+ <Key word="sbyte"/>
+ <Key word="short"/>
+ <Key word="struct"/>
+ <Key word="uint"/>
+ <Key word="ushort"/>
+ <Key word="ulong"/>
+ </KeyWords>
+
+ <KeyWords name="ReferenceTypes" bold="false" italic="false" color="Red" >
+ <Key word="class"/>
+ <Key word="interface"/>
+ <Key word="delegate"/>
+ <Key word="object"/>
+ <Key word="string"/>
+ <Key word="module"/>
+ <Key word="variant"/>
+ <Key word="syntax"/>
+ <Key word="macro"/>
+ </KeyWords>
+
+ <KeyWords name="Void" bold="false" italic="false" color="Red" >
+ <Key word="void"/>
+ </KeyWords>
+
+ <KeyWords name="ConversionKeyWords" bold="true" italic="false" color="Pink" >
+ <Key word="explicit"/>
+ </KeyWords>
+
+ <KeyWords name="MethodParameters" bold="true" italic="false" color="DeepPink" >
+ <Key word="params"/>
+ <Key word="ref"/>
+ <Key word="out"/>
+ </KeyWords>
+
+ <KeyWords name="Modifiers" bold="false" italic="false" color="Brown" >
+ <Key word="event"/>
+ <Key word="override"/>
+ <Key word="sealed"/>
+ <Key word="static"/>
+ <Key word="virtual"/>
+ </KeyWords>
+
+ <KeyWords name="AccessModifiers" bold="true" italic="false" color="Blue" >
+ <Key word="public"/>
+ <Key word="protected"/>
+ <Key word="private"/>
+ <Key word="internal"/>
+ </KeyWords>
+
+ <KeyWords name="NameSpaces" bold="true" italic="false" color="Green" >
+ <Key word="namespace"/>
+ <Key word="using"/>
+ </KeyWords>
+
+ <KeyWords name="LockKeyWord" bold="false" italic="false" color="DarkViolet" >
+ <Key word="lock"/>
+ </KeyWords>
+
+ <KeyWords name="GetSet" bold="false" italic="false" color="SaddleBrown" >
+ <Key word="get"/>
+ <Key word="set"/>
+ <Key word="add"/>
+ <Key word="remove"/>
+ </KeyWords>
+
+ <KeyWords name="Literals" bold="true" italic="false" color="Black" >
+ <Key word="null"/>
+ <Key word="true"/>
+ <Key word="false"/>
+ </KeyWords>
+
+ <KeyWords name=".NET Namespaces" bold="false" italic="false" color="#804040" >
+ <Key word="System"/>
+ <Key word="Compiler"/>
+ <Key word="CodeDOM"/>
+ <Key word="Collections"/>
+ <Key word="Microsoft"/>
+ <Key word="Win32"/>
+ <Key word="Bases"/>
+ <Key word="ComponentModel"/>
+ <Key word="Design"/>
+ <Key word="CodeModel"/>
+ <Key word="Configuration"/>
+ <Key word="Assemblies"/>
+ <Key word="Core"/>
+ <Key word="Install"/>
+ <Key word="Interceptors"/>
+ <Key word="Schema"/>
+ <Key word="Web"/>
+ <Key word="Data"/>
+ <Key word="ADO"/>
+ <Key word="Internal"/>
+ <Key word="SQL"/>
+ <Key word="SQLTypes"/>
+ <Key word="XML"/>
+ <Key word="DOM"/>
+ <Key word="XPath"/>
+ <Key word="XSLT"/>
+ <Key word="Diagnostics"/>
+ <Key word="SymbolStore"/>
+ <Key word="DirectoryServices"/>
+ <Key word="Drawing"/>
+ <Key word="Drawing2D"/>
+ <Key word="Imaging"/>
+ <Key word="Printing"/>
+ <Key word="Text"/>
+ <Key word="Globalization"/>
+ <Key word="IO"/>
+ <Key word="IsolatedStorage"/>
+ <Key word="Messaging"/>
+ <Key word="Net"/>
+ <Key word="Sockets"/>
+ <Key word="NewXml"/>
+ <Key word="Xsl"/>
+ <Key word="Reflection"/>
+ <Key word="Emit"/>
+ <Key word="Resources"/>
+ <Key word="Runtime"/>
+ <Key word="InteropServices"/>
+ <Key word="Expando"/>
+ <Key word="Remoting"/>
+ <Key word="Serialization"/>
+ <Key word="Formatters"/>
+ <Key word="Binary"/>
+ <Key word="Security"/>
+ <Key word="Cryptography"/>
+ <Key word="X509Certificates"/>
+ <Key word="Permissions"/>
+ <Key word="Policy"/>
+ <Key word="Principal"/>
+ <Key word="ServiceProcess"/>
+ <Key word="RegularExpressions"/>
+ <Key word="Threading"/>
+ <Key word="Timers"/>
+ <Key word="Caching"/>
+ <Key word="Services"/>
+ <Key word="Description"/>
+ <Key word="Discovery"/>
+ <Key word="Protocols"/>
+ <Key word="UI"/>
+ <Key word="WebControls"/>
+ <Key word="ListControls"/>
+ <Key word="HtmlControls"/>
+ <Key word="Xml"/>
+ <Key word="Concurrency"/>
+ <Key word="Assertions"/>
+ <Key word="Windows"/>
+ <Key word="Forms"/>
+ </KeyWords>
+
+ </RuleSet>
+
+ <RuleSet ignorecase="true" name="CommentMarkerSet" >
+ <Delimiters><>~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
+
+ <KeyWords name="ErrorWords" bold="true" italic="false" color="Red" >
+ <Key word="TODO"/>
+ <Key word="FIXME"/>
+ </KeyWords>
+
+ <KeyWords name="WarningWords" bold="true" italic="false" color="#EEE0E000" >
+ <Key word="HACK"/>
+ <Key word="UNDONE"/>
+ </KeyWords>
+
+ </RuleSet>
+
+ <RuleSet ignorecase="false" name="DocCommentSet" >
+ <Delimiters><>~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
+
+ <Span name="XmlTag" rule="XmlDocSet" stopateol="true" bold="false" italic="false" color="Gray" >
+ <Begin ><</Begin>
+ <End >></End>
+ </Span>
+
+ <KeyWords name="ErrorWords" bold="true" italic="false" color="Red" >
+ <Key word="TODO"/>
+ <Key word="FIXME"/>
+ </KeyWords>
+
+ <KeyWords name="WarningWords" bold="true" italic="false" color="#EEE0E000" >
+ <Key word="HACK"/>
+ <Key word="UNDONE"/>
+ </KeyWords>
+
+ </RuleSet>
+
+ <RuleSet ignorecase="false" name="XmlDocSet" >
+ <Delimiters><>~!@%^*()-+=|\#/{}[]:;"' , .?</Delimiters>
+
+ <Span name="String" stopateol="true" bold="true" italic="false" color="Silver" >
+ <Begin >"</Begin>
+ <End >"</End>
+ </Span>
+
+ <KeyWords name="Punctuation" bold="true" italic="false" color="Gray" >
+ <Key word="/"/>
+ <Key word="|"/>
+ <Key word="="/>
+ </KeyWords>
+
+ <KeyWords name="SpecialComment" bold="true" italic="false" color="Gray" >
+ <Key word="c"/>
+ <Key word="code"/>
+ <Key word="example"/>
+ <Key word="exception"/>
+ <Key word="list"/>
+ <Key word="para"/>
+ <Key word="param"/>
+ <Key word="paramref"/>
+ <Key word="permission"/>
+ <Key word="remarks"/>
+ <Key word="returns"/>
+ <Key word="see"/>
+ <Key word="seealso"/>
+ <Key word="summary"/>
+ <Key word="value"/>
+ <Key word="type"/>
+ <Key word="name"/>
+ <Key word="cref"/>
+ <Key word="item"/>
+ <Key word="term"/>
+ <Key word="description"/>
+ <Key word="listheader"/>
+ </KeyWords>
+
+ </RuleSet>
+
+ </RuleSets>
+
+</SyntaxDefinition>
+
Added: corsavy-addin/trunk/icons/BitmapResources.txtres
==============================================================================
--- (empty file)
+++ corsavy-addin/trunk/icons/BitmapResources.txtres Sat Nov 5 23:49:39 2005
@@ -0,0 +1,6 @@
+Nemerle.File.EmptyFile = Nemerle.File.EmptyFile.png
+Nemerle.File.Form = Nemerle.File.Form.png
+Nemerle.FileIcon = Nemerle.FileIcon.png
+Nemerle.Project.EmptyProject = Nemerle.Project.EmptyProject.png
+Nemerle.Project.Form = Nemerle.Project.Form.png
+Nemerle.ProjectIcon = Nemerle.ProjectIcon.png
Added: corsavy-addin/trunk/icons/Nemerle.File.EmptyFile.png
==============================================================================
Binary file. No diff available.
Added: corsavy-addin/trunk/icons/Nemerle.File.Form.png
==============================================================================
Binary file. No diff available.
Added: corsavy-addin/trunk/icons/Nemerle.FileIcon.png
==============================================================================
Binary file. No diff available.
Added: corsavy-addin/trunk/icons/Nemerle.Project.EmptyProject.png
==============================================================================
Binary file. No diff available.
Added: corsavy-addin/trunk/icons/Nemerle.Project.Form.png
==============================================================================
Binary file. No diff available.
Added: corsavy-addin/trunk/icons/Nemerle.ProjectIcon.png
==============================================================================
Binary file. No diff available.
Added: corsavy-addin/trunk/templates/files/Nemerle.Empty.xft
==============================================================================
--- (empty file)
+++ corsavy-addin/trunk/templates/files/Nemerle.Empty.xft Sat Nov 5 23:49:39 2005
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<Template author="Kamil Skalski" version="1.0">
+ <Config
+ name = "${res:Templates.File.EmptyFile.Name}"
+ icon = "Nemerle.File.EmptyFile"
+ category = "Nemerle"
+ defaultname = "Empty${Number}.n"
+ language = "Nemerle"/>
+
+ <Description>${res:Templates.File.EmptyFile.Description}</Description>
+
+ <Files>
+ <File name="${FullName}" language="Nemerle">
+</File>
+ </Files>
+ <AdditionalOptions/>
+</Template>
+
+
Added: corsavy-addin/trunk/templates/files/Nemerle.EmptyClass.xft
==============================================================================
--- (empty file)
+++ corsavy-addin/trunk/templates/files/Nemerle.EmptyClass.xft Sat Nov 5 23:49:39 2005
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<Template author="Kamil Skalski" version="1.0">
+
+ <Config
+ name = "${res:Templates.File.EmptyClass.Name}"
+ icon = "Nemerle.File.EmptyFile"
+ category = "Nemerle"
+ defaultname = "Class${Number}.n"
+ language = "Nemerle"/>
+
+ <Description>${res:Templates.File.EmptyClass.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
+ ${ClassName} -> Class name (generally FileNameWithoutExtension w/o 'bad' characters)
+ -->
+ <Files>
+ <File name="${FullName}" language="Nemerle"><![CDATA[namespace ${StandardNamespace} {
+
+ using System;
+
+ class ${ClassName} {
+ /** Description of ${ClassName} */
+ public this() {
+ }
+ }
+}
+]]></File>
+ </Files>
+
+ <AdditionalOptions/>
+</Template>
+
Added: corsavy-addin/trunk/templates/files/Nemerle.Form.xft
==============================================================================
--- (empty file)
+++ corsavy-addin/trunk/templates/files/Nemerle.Form.xft Sat Nov 5 23:49:39 2005
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<Template author="Kamil Skalski" version="1.0">
+
+ <Config
+ name = "${res:Templates.File.WindowsForm.Name}"
+ icon = "Nemerle.File.Form"
+ category = "Nemerle"
+ defaultname = "Form${Number}.n"
+ language = "Nemerle"/>
+
+ <Description>${res:Templates.File.WindowsForm.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
+ ${ClassName} -> Class name (generally FileNameWithoutExtension w/o 'bad' characters)
+ -->
+ <Files>
+ <File name="${FullName}" language="Nemerle"><![CDATA[namespace ${StandardNamespace} {
+
+ using System;
+ using System.Drawing;
+ using System.Windows.Forms;
+
+ class ${ClassName} : Form {
+ public this () {
+ this.InitializeComponent()
+ }
+
+ private InitializeComponent() : void {
+ this.Text = "${ClassName}";
+ def but = Button();
+ but.Text = "Click Me!";
+ but.Dock = DockStyle.Fill;
+ but.Click += fun (_) { ignore (MessageBox.Show("Button clicked!")) }
+ this.Controls.Add(but);
+ }
+ }
+}
+]]></File>
+ </Files>
+
+ <AdditionalOptions/>
+</Template>
Added: corsavy-addin/trunk/templates/projects/ConsoleProject.xpt
==============================================================================
--- (empty file)
+++ corsavy-addin/trunk/templates/projects/ConsoleProject.xpt Sat Nov 5 23:49:39 2005
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<Template originator = "Kamil Skalski"
+ created = "17/05/2005"
+ lastModified = "17/05/2005">
+
+ <!-- Template Header -->
+ <TemplateConfiguration>
+ <Name>${res:Templates.Project.ConsoleProject.Name}</Name>
+ <Category>Nemerle</Category>
+ <Icon>Nemerle.Project.EmptyProject</Icon>
+ <LanguageName>Nemerle</LanguageName>
+ <Description>${res:Templates.Project.ConsoleProject.Description}</Description>
+ </TemplateConfiguration>
+
+ <!-- Actions -->
+ <Actions>
+ <Open filename = "Main.n"/>
+ </Actions>
+
+ <!-- Template Content -->
+ <Combine name = "${ProjectName}" directory = ".">
+ <Options>
+ <StartupProject>${ProjectName}</StartupProject>
+ </Options>
+
+ <Project name = "${ProjectName}" directory = ".">
+ <Options/>
+ <Files>
+ <File name="Main.n">module M {
+ Main () : void {
+ Nemerle.IO.print("Hello, world!")
+ }
+}
+</File>
+ </Files>
+ </Project>
+ </Combine>
+</Template>
Added: corsavy-addin/trunk/templates/projects/FormsProject.xpt
==============================================================================
--- (empty file)
+++ corsavy-addin/trunk/templates/projects/FormsProject.xpt Sat Nov 5 23:49:39 2005
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<Template originator = "Kamil Skalski"
+ created = "17/05/2005"
+ lastModified = "17/05/2005">
+
+ <!-- Template Header -->
+ <TemplateConfiguration>
+ <Name>${res:Templates.Project.WindowsApplication.Name}</Name>
+ <Category>Nemerle</Category>
+ <Icon>Nemerle.Project.Form</Icon>
+ <LanguageName>Nemerle</LanguageName>
+ <Description>${res:Templates.Project.WindowsApplication.Description}</Description>
+ </TemplateConfiguration>
+
+ <!-- Actions -->
+ <Actions>
+ <Open filename = "MainForm.n"/>
+ </Actions>
+
+ <!-- Template Content -->
+ <Combine name = "${ProjectName}" directory = ".">
+ <Options>
+ <StartupProject>${ProjectName}</StartupProject>
+ </Options>
+
+ <Project name = "${ProjectName}" directory = ".">
+ <Options Target = "WinExe" PauseConsoleOutput = "False" />
+ <Files>
+ <File name="MainForm.n"><![CDATA[namespace ${StandardNamespace} {
+
+ using System;
+ using System.Drawing;
+ using System.Windows.Forms;
+
+ class MainForm : Form {
+ public this () {
+ this.InitializeComponent()
+ }
+
+ InitializeComponent() : void {
+ this.Text = "${ProjectName}";
+ def but = Button();
+ but.Text = "Click Me!";
+ but.Dock = DockStyle.Fill;
+ but.Click += fun (_) { ignore (MessageBox.Show("Button clicked!")) }
+ this.Controls.Add(but);
+ }
+ }
+
+ module Main {
+ Main () : void {
+ Application.Run(MainForm())
+ }
+ }
+}
+]]></File>
+ </Files>
+ </Project>
+ </Combine>
+</Template>
Added: corsavy-addin/trunk/templates/projects/Library.xpt
==============================================================================
--- (empty file)
+++ corsavy-addin/trunk/templates/projects/Library.xpt Sat Nov 5 23:49:39 2005
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<Template originator = "Kamil Skalski"
+ created = "17/05/2005"
+ lastModified = "17/05/2005">
+
+ <!-- Template Header -->
+ <TemplateConfiguration>
+ <Name>${res:Templates.Project.ClassLibrary.Name}</Name>
+ <Category>Nemerle</Category>
+ <Icon>Nemerle.Project.EmptyProject</Icon>
+ <LanguageName>Nemerle</LanguageName>
+ <Description>${res:Templates.Project.ClassLibrary.Description}</Description>
+ </TemplateConfiguration>
+
+ <!-- Actions -->
+ <Actions>
+ <Open filename = "MyClass.n"/>
+ </Actions>
+
+ <!-- Template Content -->
+ <Combine name = "${ProjectName}" directory = ".">
+ <Options>
+ <StartupProject>${ProjectName}</StartupProject>
+ </Options>
+
+ <Project name = "${ProjectName}" directory = ".">
+ <Options Target = "Library" PauseConsoleOutput = "False" />
+ <Files>
+ <File name="MyClass.n"><![CDATA[namespace ${StandardNamespace} {
+
+ using System;
+
+ class MyClass {
+ public this () {
+ }
+ }
+}
+]]></File>
+ </Files>
+ </Project>
+ </Combine>
+</Template>
More information about the svn
mailing list