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