Browse Source

Use tabs instead of spaces in WPF file templates.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4177 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 16 years ago
parent
commit
88e92880ff
  1. 10
      data/templates/file/CSharp/CSharp.WPFFlowDocument.xft
  2. 43
      data/templates/file/CSharp/CSharp.WPFPage.xft
  3. 6
      data/templates/file/CSharp/CSharp.WPFResourceDictionary.xft
  4. 40
      data/templates/file/CSharp/CSharp.WPFUserControl.xft
  5. 44
      data/templates/file/CSharp/CSharp.WPFWindow.xft
  6. 14
      data/templates/file/Misc/EmptyHTMLFile.xft
  7. 18
      data/templates/project/CSharp/WPFApplication.xpt

10
data/templates/file/CSharp/CSharp.WPFFlowDocument.xft

@ -22,11 +22,11 @@ @@ -22,11 +22,11 @@
-->
<Files>
<File name="${FullName}" language="XML" buildAction="Page"><![CDATA[<FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
ColumnWidth="400" FontSize="14" FontFamily="Georgia"
>
<Paragraph>
</Paragraph>
ColumnWidth="400" FontSize="14" FontFamily="Georgia"
>
<Paragraph>
</Paragraph>
</FlowDocument>]]></File>
</Files>

43
data/templates/file/CSharp/CSharp.WPFPage.xft

@ -21,16 +21,16 @@ @@ -21,16 +21,16 @@
${Path} -> Full path of the file
-->
<Files>
<File name="${FullName}" language="XML" buildAction="Page"><![CDATA[<Page x:Class="${StandardNamespace}.${FileNameWithoutExtension}"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="${FileNameWithoutExtension}"
>
<Grid>
</Grid>
<File name="${FullName}" language="XML" buildAction="Page"><![CDATA[<Page x:Class="${StandardNamespace}.${ClassName}"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="${FileNameWithoutExtension}">
<Grid>
</Grid>
</Page>]]></File>
<File name="${FullName}.cs" language="C#" DependentUpon="${FileName}" SubType="Code"><![CDATA[using System;
<File name="${FullName}.cs" language="C#" DependentUpon="${FileName}" SubType="Code"><![CDATA[${StandardHeader.C#}
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
@ -39,24 +39,19 @@ using System.Windows.Data; @@ -39,24 +39,19 @@ using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace ${StandardNamespace}
{
/// <summary>
/// Interaction logic for ${FileName}
/// </summary>
public partial class ${FileNameWithoutExtension} : Page
{
public ${FileNameWithoutExtension}()
{
InitializeComponent();
}
}
/// <summary>
/// Interaction logic for ${FileName}
/// </summary>
public partial class ${ClassName} : Page
{
public ${ClassName}()
{
InitializeComponent();
}
}
}]]></File>
</Files>

6
data/templates/file/CSharp/CSharp.WPFResourceDictionary.xft

@ -22,9 +22,9 @@ @@ -22,9 +22,9 @@
-->
<Files>
<File name="${FullName}" language="XML" buildAction="Page"><![CDATA[<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
</ResourceDictionary>]]></File>
</Files>

40
data/templates/file/CSharp/CSharp.WPFUserControl.xft

@ -21,14 +21,15 @@ @@ -21,14 +21,15 @@
${Path} -> Full path of the file
-->
<Files>
<File name="${FullName}" language="C#"><![CDATA[<UserControl x:Class="${StandardNamespace}.${FileNameWithoutExtension}"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid>
</Grid>
<File name="${FullName}" language="C#"><![CDATA[<UserControl x:Class="${StandardNamespace}.${ClassName}"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid>
</Grid>
</UserControl>]]></File>
<File name="${FullName}.cs" language="C#" DependentUpon="${FileName}" SubType="Code"><![CDATA[using System;
<File name="${FullName}.cs" language="C#" DependentUpon="${FileName}" SubType="Code"><![CDATA[${StandardHeader.C#}
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
@ -37,24 +38,19 @@ using System.Windows.Data; @@ -37,24 +38,19 @@ using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace ${StandardNamespace}
{
/// <summary>
/// Interaction logic for ${FileName}
/// </summary>
public partial class ${FileNameWithoutExtension} : UserControl
{
public ${FileNameWithoutExtension}()
{
InitializeComponent();
}
}
/// <summary>
/// Interaction logic for ${FileName}
/// </summary>
public partial class ${ClassName} : UserControl
{
public ${ClassName}()
{
InitializeComponent();
}
}
}]]></File>
</Files>

44
data/templates/file/CSharp/CSharp.WPFWindow.xft

@ -21,16 +21,16 @@ @@ -21,16 +21,16 @@
${Path} -> Full path of the file
-->
<Files>
<File name="${FullName}" language="XML" buildAction="Page"><![CDATA[<Window x:Class="${StandardNamespace}.${FileNameWithoutExtension}"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="${StandardNamespace}" Height="300" Width="300"
>
<Grid>
</Grid>
<File name="${FullName}" language="XML" buildAction="Page"><![CDATA[<Window x:Class="${StandardNamespace}.${ClassName}"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="${StandardNamespace}" Height="300" Width="300">
<Grid>
</Grid>
</Window>]]></File>
<File name="${FullName}.cs" language="C#" DependentUpon="${FileName}" SubType="Code"><![CDATA[using System;
<File name="${FullName}.cs" language="C#" DependentUpon="${FileName}" SubType="Code"><![CDATA[${StandardHeader.C#}
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
@ -39,25 +39,19 @@ using System.Windows.Data; @@ -39,25 +39,19 @@ using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace ${StandardNamespace}
{
/// <summary>
/// Interaction logic for ${FileName}
/// </summary>
public partial class ${FileNameWithoutExtension} : Window
{
public ${FileNameWithoutExtension}()
{
InitializeComponent();
}
}
/// <summary>
/// Interaction logic for ${FileName}
/// </summary>
public partial class ${ClassName} : Window
{
public ${ClassName}()
{
InitializeComponent();
}
}
}]]></File>
</Files>

14
data/templates/file/Misc/EmptyHTMLFile.xft

@ -12,13 +12,13 @@ @@ -12,13 +12,13 @@
<Files>
<File name="${FullName}" language="HTML"><![CDATA[
<Html>
<Head>
<Title></Title>
</Head>
<Body>
</Body>
</Html>]]>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>]]>
</File>
</Files>

18
data/templates/project/CSharp/WPFApplication.xpt

@ -43,13 +43,12 @@ @@ -43,13 +43,12 @@
<Files>
<File name="App.xaml" buildAction="ApplicationDefinition" language="XML"><![CDATA[<Application x:Class="${StandardNamespace}.App"
xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="Window1.xaml"
>
<Application.Resources>
</Application.Resources>
xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="Window1.xaml">
<Application.Resources>
</Application.Resources>
</Application>]]></File>
<File name="App.xaml.cs" SubType="Code" DependentUpon="App.xaml"><![CDATA[using System;
using System.Windows;
@ -79,7 +78,8 @@ namespace ${StandardNamespace} @@ -79,7 +78,8 @@ namespace ${StandardNamespace}
</Grid>
</Window>]]></File>
<File name="Window1.xaml.cs" SubType="Code" DependentUpon="Window1.xaml"><![CDATA[using System;
<File name="Window1.xaml.cs" SubType="Code" DependentUpon="Window1.xaml"><![CDATA[${StandardHeader.C#}
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
@ -88,8 +88,6 @@ using System.Windows.Data; @@ -88,8 +88,6 @@ using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace ${StandardNamespace}
{

Loading…
Cancel
Save