|
|
|
@ -59,7 +59,7 @@ namespace CSharpBinding.FormattingStrategy
@@ -59,7 +59,7 @@ namespace CSharpBinding.FormattingStrategy
|
|
|
|
|
GlobalOptions = new CSharpFormattingOptionsPersistence( |
|
|
|
|
SD.PropertyService.MainPropertiesContainer, new CSharpFormattingOptionsContainer() |
|
|
|
|
{ |
|
|
|
|
DefaultText = "(global)" // TODO Localize!
|
|
|
|
|
DefaultText = StringParser.Parse("${CSharpBinding.Formatting.GlobalOptionReference}") |
|
|
|
|
}); |
|
|
|
|
GlobalOptions.Load(); |
|
|
|
|
|
|
|
|
@ -94,7 +94,7 @@ namespace CSharpBinding.FormattingStrategy
@@ -94,7 +94,7 @@ namespace CSharpBinding.FormattingStrategy
|
|
|
|
|
csproject.ExtensionProperties, |
|
|
|
|
new CSharpFormattingOptionsContainer((SolutionOptions ?? GlobalOptions).OptionsContainer) |
|
|
|
|
{ |
|
|
|
|
DefaultText = "(project)" // TODO Localize!
|
|
|
|
|
DefaultText = StringParser.Parse("${CSharpBinding.Formatting.ProjectOptionReference}") |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -111,7 +111,7 @@ namespace CSharpBinding.FormattingStrategy
@@ -111,7 +111,7 @@ namespace CSharpBinding.FormattingStrategy
|
|
|
|
|
e.Solution.GlobalPreferences, |
|
|
|
|
new CSharpFormattingOptionsContainer(GlobalOptions.OptionsContainer) |
|
|
|
|
{ |
|
|
|
|
DefaultText = "(solution)" // TODO Localize!
|
|
|
|
|
DefaultText = StringParser.Parse("${CSharpBinding.Formatting.SolutionOptionReference}") |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|