Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@583 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
16 changed files with 144 additions and 5 deletions
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 687 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 636 B |
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?> |
||||
<Template author="Daniel Grunwald" version="1.0"> |
||||
<Config |
||||
name = "${res:Templates.File.EmptyFile.Name}" |
||||
icon = "Boo.File.EmptyFile" |
||||
category = "Boo" |
||||
defaultname = "Empty${Number}.boo" |
||||
language = "Boo"/> |
||||
|
||||
<Description>${res:Templates.File.EmptyFile.Description}</Description> |
||||
|
||||
<Files> |
||||
<File name="${FullName}" language="Boo"> |
||||
</File> |
||||
</Files> |
||||
<AdditionalOptions/> |
||||
</Template> |
||||
|
||||
|
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0"?> |
||||
<Template author="Daniel Grunwald" version="1.0"> |
||||
|
||||
<Config |
||||
name = "${res:Templates.File.EmptyClass.Name}" |
||||
icon = "Boo.File.EmptyFile" |
||||
category = "Boo" |
||||
defaultname = "Class${Number}.boo" |
||||
language = "Boo"/> |
||||
|
||||
<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="Boo"><![CDATA[namespace ${StandardNamespace} |
||||
|
||||
import System |
||||
|
||||
class ${ClassName}: |
||||
"""Description of ${ClassName}""" |
||||
def constructor(): |
||||
pass |
||||
|
||||
]]></File> |
||||
</Files> |
||||
|
||||
<AdditionalOptions/> |
||||
</Template> |
||||
|
@ -0,0 +1,56 @@
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0"?> |
||||
<Template author="Daniel Grunwald" version="1.0"> |
||||
|
||||
<Config |
||||
name = "${res:Templates.File.WindowsForm.Name}" |
||||
icon = "Boo.File.Form" |
||||
category = "Boo" |
||||
defaultname = "Form${Number}.boo" |
||||
language = "Boo"/> |
||||
|
||||
<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="Boo"><![CDATA[namespace ${StandardNamespace} |
||||
|
||||
import System |
||||
import System.Collections |
||||
import System.Drawing |
||||
import System.Windows.Forms |
||||
|
||||
|
||||
class MainForm(System.Windows.Forms.Form): |
||||
"""Description of MainForm.""" |
||||
def constructor(): |
||||
// The InitializeComponent() call is required for Windows Forms designer support. |
||||
InitializeComponent() |
||||
// TODO: Add constructor code after the InitializeComponent() call. |
||||
|
||||
|
||||
#region Windows Forms Designer generated code |
||||
// This method is required for Windows Forms designer support. |
||||
// Do not change the method contents inside the source code editor. The Forms designer might |
||||
// not be able to load this method if it was changed manually. |
||||
def InitializeComponent(): |
||||
// Form1 |
||||
self.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font |
||||
self.ClientSize = System.Drawing.Size(292, 266) |
||||
self.Text = 'MainForm' |
||||
self.Name = 'MainForm' |
||||
#endregion |
||||
|
||||
]]></File> |
||||
</Files> |
||||
|
||||
<AdditionalOptions/> |
||||
</Template> |
Binary file not shown.
Loading…
Reference in new issue