|
|
@ -357,6 +357,7 @@ namespace ICSharpCode.SharpDevelop.Internal.Templates |
|
|
|
// Textual content
|
|
|
|
// Textual content
|
|
|
|
StreamWriter sr = new StreamWriter(File.Create(fileName), ParserService.DefaultFileEncoding); |
|
|
|
StreamWriter sr = new StreamWriter(File.Create(fileName), ParserService.DefaultFileEncoding); |
|
|
|
string fileContent = StringParser.Parse(file.Content, new string[,] { {"ProjectName", projectCreateInformation.ProjectName}, {"FileName", fileName}}); |
|
|
|
string fileContent = StringParser.Parse(file.Content, new string[,] { {"ProjectName", projectCreateInformation.ProjectName}, {"FileName", fileName}}); |
|
|
|
|
|
|
|
fileContent = StringParser.Parse(fileContent); |
|
|
|
if (SharpDevelopTextEditorProperties.IndentationString != "\t") { |
|
|
|
if (SharpDevelopTextEditorProperties.IndentationString != "\t") { |
|
|
|
fileContent = fileContent.Replace("\t", SharpDevelopTextEditorProperties.IndentationString); |
|
|
|
fileContent = fileContent.Replace("\t", SharpDevelopTextEditorProperties.IndentationString); |
|
|
|
} |
|
|
|
} |
|
|
|