1 write to OptionStore
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\AbstractOptionPreviewViewModel.cs (1)
54
this.
OptionStore
= optionStore;
7 references to OptionStore
Microsoft.VisualStudio.LanguageServices.CSharp (4)
Options\Formatting\SpacingViewModel.cs (3)
169
Items.Add(new RadioButtonViewModel<BinaryOperatorSpacingOptionsInternal>(CSharpVSResources.Ignore_spaces_around_binary_operators, s_expressionSpacingPreview, "binary", BinaryOperatorSpacingOptionsInternal.Ignore, CSharpFormattingOptions2.SpacingAroundBinaryOperator, this,
OptionStore
));
170
Items.Add(new RadioButtonViewModel<BinaryOperatorSpacingOptionsInternal>(CSharpVSResources.Remove_spaces_before_and_after_binary_operators, s_expressionSpacingPreview, "binary", BinaryOperatorSpacingOptionsInternal.Remove, CSharpFormattingOptions2.SpacingAroundBinaryOperator, this,
OptionStore
));
171
Items.Add(new RadioButtonViewModel<BinaryOperatorSpacingOptionsInternal>(CSharpVSResources.Insert_space_before_and_after_binary_operators, s_expressionSpacingPreview, "binary", BinaryOperatorSpacingOptionsInternal.Single, CSharpFormattingOptions2.SpacingAroundBinaryOperator, this,
OptionStore
));
Options\Formatting\StyleViewModel.cs (1)
2274
AddParenthesesOptions(
OptionStore
);
Microsoft.VisualStudio.LanguageServices.Implementation (3)
Options\AbstractOptionPreviewViewModel.cs (3)
91
OptionStore
.SetOption(option, option.IsPerLanguage ? Language : null, actualValue);
138
var fallbackFormattingOptions =
OptionStore
.GlobalOptions.GetSyntaxFormattingOptions(document.Project.Services);
140
var formattingOptions = formattingService.GetFormattingOptions(
OptionStore
);