17 references to SetOption
Microsoft.VisualStudio.LanguageServices.CSharp (9)
Options\AdvancedOptionPageControl.xaml.cs (4)
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 (5)
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 (2)
Options\PerLanguageOptionBinding.cs (1)
44_optionStore.SetOption(_option, _languageName, value);
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
178OptionStore.SetOption(NamingStyleOptions.NamingPreferences, _languageName, info);
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
Options\BasicEditorConfigGeneratorTests.vb (1)
161options.SetOption(CodeStyleOptions2.PreferExplicitTupleNames, LanguageNames.VisualBasic, New CodeStyleOption2(Of Boolean)(False, NotificationOption2.[Error]))
Options\CSharpEditorConfigGeneratorTests.vb (1)
262options.SetOption(CodeStyleOptions2.PreferExplicitTupleNames, LanguageNames.CSharp, New CodeStyleOption2(Of Boolean)(False, NotificationOption2.[Error]))
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
Options\AdvancedOptionPageControl.xaml.vb (2)
221Me.OptionStore.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.VisualBasic, True) 226Me.OptionStore.SetOption(InlineHintsOptionsStorage.EnabledForParameters, LanguageNames.VisualBasic, False)
Options\IntelliSenseOptionPageControl.xaml.vb (2)
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)