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