1 write to _globalOptionService
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\SmartRename\SmartRenameViewModel.cs (1)
160
_globalOptionService
= globalOptionService;
7 references to _globalOptionService
Microsoft.CodeAnalysis.EditorFeatures.Wpf (7)
InlineRename\UI\SmartRename\SmartRenameViewModel.cs (4)
172
this.SupportsAutomaticSuggestions =
_globalOptionService
.GetOption(InlineRenameUIOptionsStorage.GetSuggestionsAutomatically);
173
this.IsUsingSemanticContext =
_globalOptionService
.GetOption(InlineRenameUIOptionsStorage.GetSuggestionsContext);
175
this.IsAutomaticSuggestionsEnabled = this.SupportsAutomaticSuggestions && !
_globalOptionService
.GetOption(InlineRenameUIOptionsStorage.CollapseSuggestionsPanel);
359
_globalOptionService
.SetGlobalOption(InlineRenameUIOptionsStorage.CollapseSuggestionsPanel, !IsAutomaticSuggestionsEnabled);
InlineRename\UI\SmartRename\SmartRenameViewModel_Telemetry.cs (3)
29
var getSuggestionsAutomatically =
_globalOptionService
.GetOption(InlineRenameUIOptionsStorage.GetSuggestionsAutomatically);
34
CollapseSuggestionsPanelWhenRenameStarts =
_globalOptionService
.GetOption(InlineRenameUIOptionsStorage.CollapseSuggestionsPanel)
53
m["CollapseSuggestionsPanelWhenRenameEnds"] =
_globalOptionService
.GetOption(InlineRenameUIOptionsStorage.CollapseSuggestionsPanel);