1 write to OptionStore
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\AbstractOptionPageControl.cs (1)
36
this.
OptionStore
= optionStore;
43 references to OptionStore
Microsoft.VisualStudio.LanguageServices.CSharp (19)
Options\AdvancedOptionPageControl.xaml.cs (10)
224
var normalPullDiagnosticsOption =
OptionStore
.GetOption(InternalDiagnosticsOptionsStorage.NormalDiagnosticMode);
250
this.
OptionStore
.SetOption(DiagnosticOptionsStorage.LspPullDiagnosticsFeatureFlag, checkboxValue.Value);
254
this.
OptionStore
.SetOption(InternalDiagnosticsOptionsStorage.NormalDiagnosticMode, newDiagnosticMode);
271
this.
OptionStore
.SetOption(InternalDiagnosticsOptionsStorage.NormalDiagnosticMode, DiagnosticMode.Default);
277
var enabledForParameters = this.
OptionStore
.GetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.CSharp);
286
var enabledForTypes = this.
OptionStore
.GetOption(InlineHintsOptionsStorage.EnabledForTypes, LanguageNames.CSharp);
294
this.
OptionStore
.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.CSharp, true);
300
this.
OptionStore
.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.CSharp, false);
306
this.
OptionStore
.SetOption(InlineHintsOptionsStorage.EnabledForTypes, LanguageNames.CSharp, true);
312
this.
OptionStore
.SetOption(InlineHintsOptionsStorage.EnabledForTypes, LanguageNames.CSharp, false);
Options\IntelliSenseOptionPageControl.xaml.cs (9)
28
Show_completion_list_after_a_character_is_deleted.IsChecked = this.
OptionStore
.GetOption(CompletionOptionsStorage.TriggerOnDeletion, LanguageNames.CSharp) == true;
43
Show_items_from_unimported_namespaces.IsChecked = this.
OptionStore
.GetOption(CompletionOptionsStorage.ShowItemsFromUnimportedNamespaces, LanguageNames.CSharp);
46
Tab_twice_to_insert_arguments.IsChecked = this.
OptionStore
.GetOption(CompletionViewOptionsStorage.EnableArgumentCompletionSnippets, LanguageNames.CSharp);
49
Show_new_snippet_experience.IsChecked = this.
OptionStore
.GetOption(CompletionOptionsStorage.ShowNewSnippetExperienceUserOption, LanguageNames.CSharp);
64
=> this.
OptionStore
.SetOption(CompletionOptionsStorage.TriggerOnDeletion, LanguageNames.CSharp, value: true);
67
=> this.
OptionStore
.SetOption(CompletionOptionsStorage.TriggerOnDeletion, LanguageNames.CSharp, value: false);
72
this.
OptionStore
.SetOption(CompletionOptionsStorage.ShowItemsFromUnimportedNamespaces, LanguageNames.CSharp, value: Show_items_from_unimported_namespaces.IsChecked);
78
this.
OptionStore
.SetOption(CompletionViewOptionsStorage.EnableArgumentCompletionSnippets, LanguageNames.CSharp, value: Tab_twice_to_insert_arguments.IsChecked);
84
this.
OptionStore
.SetOption(CompletionOptionsStorage.ShowNewSnippetExperienceUserOption, LanguageNames.CSharp, value: Show_new_snippet_experience.IsChecked);
Microsoft.VisualStudio.LanguageServices.Implementation (14)
Options\AbstractOptionPageControl.cs (9)
72
Source = new OptionBinding<bool>(
OptionStore
, optionKey),
87
Source = new OptionBinding<bool?>(
OptionStore
, nullableOptionKey),
103
Source = new PerLanguageOptionBinding<bool>(
OptionStore
, optionKey, languageName),
118
Source = new PerLanguageOptionBinding<bool?>(
OptionStore
, nullableOptionKey, languageName),
134
Source = new OptionBinding<int>(
OptionStore
, optionKey),
147
Source = new PerLanguageOptionBinding<int>(
OptionStore
, optionKey, languageName),
160
Source = new OptionBinding<T>(
OptionStore
, optionKey),
179
Source = new PerLanguageOptionBinding<T>(
OptionStore
, optionKey, languageName),
198
Source = new PerLanguageOptionBinding<T>(
OptionStore
, optionKey, languageName),
Options\GridOptionPreviewControl.xaml.cs (2)
99
this.ViewModel = _createViewModel(
OptionStore
, _serviceProvider);
118
var editorconfig = EditorConfigFileGenerator.Generate(_groupedEditorConfigOptions,
OptionStore
, _language);
Options\OptionPreviewControl.xaml.cs (1)
84
this.ViewModel = _createViewModel(this.
OptionStore
, _serviceProvider);
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (2)
178
OptionStore
.SetOption(NamingStyleOptions.NamingPreferences, _languageName, info);
185
var preferences =
OptionStore
.GetOption<NamingStylePreferences>(NamingStyleOptions.NamingPreferences, _languageName);
Microsoft.VisualStudio.LanguageServices.VisualBasic (10)
Options\AdvancedOptionPageControl.xaml.vb (3)
210
Dim enabledForParameters = Me.
OptionStore
.GetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.VisualBasic) <> False
221
Me.
OptionStore
.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.VisualBasic, True)
226
Me.
OptionStore
.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.VisualBasic, False)
Options\IntelliSenseOptionPageControl.xaml.vb (7)
19
Show_completion_list_after_a_character_is_deleted.IsChecked = Me.
OptionStore
.GetOption(
33
Show_items_from_unimported_namespaces.IsChecked = Me.
OptionStore
.GetOption(CompletionOptionsStorage.ShowItemsFromUnimportedNamespaces, LanguageNames.VisualBasic)
34
Tab_twice_to_insert_arguments.IsChecked = Me.
OptionStore
.GetOption(CompletionViewOptionsStorage.EnableArgumentCompletionSnippets, LanguageNames.VisualBasic)
38
Me.
OptionStore
.SetOption(CompletionOptionsStorage.TriggerOnDeletion, LanguageNames.VisualBasic, value:=True)
42
Me.
OptionStore
.SetOption(CompletionOptionsStorage.TriggerOnDeletion, LanguageNames.VisualBasic, value:=False)
47
Me.
OptionStore
.SetOption(CompletionOptionsStorage.ShowItemsFromUnimportedNamespaces, LanguageNames.VisualBasic, Show_items_from_unimported_namespaces.IsChecked)
52
Me.
OptionStore
.SetOption(CompletionViewOptionsStorage.EnableArgumentCompletionSnippets, LanguageNames.VisualBasic, Tab_twice_to_insert_arguments.IsChecked)